We're updating the issue view to help you get more done. 

OBR installation from OBR generated by AMPS fails with ArrayIndexOutOfBoundsException

Description

When attempting to install an OBR package which was generated by the maven-confluence-plugin using UPM 1.3.0, I get the following error:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2011-02-11 01:57:37,437 ERROR [pool-7-thread-2] [com.atlassian.upm.PluginInstaller] execute Failed to install plugin [INFO] [talledLocalContainer] -- referer: http://localhost:1990/confluence/plugins/servlet/upm | url: /confluence/rest/plugins/1.0/ | userName: admin [INFO] [talledLocalContainer] com.atlassian.upm.PluginInstallException: Failed to install OBR jar artifact [INFO] [talledLocalContainer] at com.atlassian.upm.impl.ObrPluginInstallHandler.installPlugin(ObrPluginInstallHandler.java:82) [INFO] [talledLocalContainer] at com.atlassian.upm.PluginInstaller.execute(PluginInstaller.java:125) [INFO] [talledLocalContainer] at com.atlassian.upm.PluginInstaller.install(PluginInstaller.java:82) [INFO] [talledLocalContainer] at com.atlassian.upm.rest.resources.install.InstallFromFileTask.executeTask(InstallFromFileTask.java:32) [INFO] [talledLocalContainer] at com.atlassian.upm.rest.resources.install.InstallTask.call(InstallTask.java:30) [INFO] [talledLocalContainer] at com.atlassian.upm.rest.resources.install.InstallTask.call(InstallTask.java:15) [INFO] [talledLocalContainer] at com.atlassian.upm.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:72) [INFO] [talledLocalContainer] at com.atlassian.upm.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:65) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:680) [INFO] [talledLocalContainer] Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 [INFO] [talledLocalContainer] at com.atlassian.upm.impl.ObrPluginInstallHandler.installPlugin(ObrPluginInstallHandler.java:72) [INFO] [talledLocalContainer] ... 12 more

And I was really hoping that OBRs would install after the pain I had to go through to get the darn thing bundling my plugin dependency...

Environment

None

Testing Notes

None

Security Policy

None

Status

Assignee

Alison Winterflood

Reporter

David Peterson

QA Dev

None

Needs Doc

None

Team

None

External issue ID

None

External issue ID

None

Peer Reviewer

None

Mgr Approver

None

CC

None

Product

None

Payment Model

None

Plugin Key

None

App Key

None

Most Recent Approval Ticket

None

Fix versions

Affects versions

1.3.0

Priority

Critical