Rob Cernich created SWITCHYARD-697:
--------------------------------------
Summary: IndexOutOfBoundsException in admin module when deploying application
with no component services
Key: SWITCHYARD-697
URL:
https://issues.jboss.org/browse/SWITCHYARD-697
Project: SwitchYard
Issue Type: Bug
Components: admin
Affects Versions: 0.4
Reporter: Rob Cernich
Assignee: Rob Cernich
Fix For: 0.4
IndexOutOfBoundsException in admin module when deploying application with no component
services.
The stacktrace:
{noformat}
21:02:29,126 DEBUG [org.switchyard.internal.EventManager] (MSC service thread 1-3)
Observer threw exception on event class
org.switchyard.deploy.event.ApplicationDeployedEvent: java.lang.IndexOutOfBoundsException:
Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547) [rt.jar:1.6.0_30]
at java.util.ArrayList.get(ArrayList.java:322) [rt.jar:1.6.0_30]
at java.util.Collections$UnmodifiableList.get(Collections.java:1154) [rt.jar:1.6.0_30]
at org.switchyard.admin.base.BaseApplication.addComponents(BaseApplication.java:160)
at org.switchyard.admin.base.BaseApplication.<init>(BaseApplication.java:66)
at
org.switchyard.admin.base.SwitchYardBuilder.applicationDeployed(SwitchYardBuilder.java:68)
at org.switchyard.admin.base.SwitchYardBuilder.notify(SwitchYardBuilder.java:57)
at org.switchyard.internal.EventManager.publish(EventManager.java:53)
[switchyard-runtime-0.4.0.CR1.jar:0.4.0.CR1]
at org.switchyard.deploy.internal.Deployment.doInit(Deployment.java:128)
at org.switchyard.deploy.internal.AbstractDeployment.init(AbstractDeployment.java:149)
at
org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:100)
[switchyard-deploy-jboss-as7-0.4.0.CR1.jar:0.4.0.CR1]
at
org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:72)
[switchyard-deploy-jboss-as7-0.4.0.CR1.jar:0.4.0.CR1]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_30]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira