[JBoss JIRA] (SWITCHYARD-583) Fix NPE in admin SwitchYardBuilder
by Rob Cernich (Created) (JIRA)
Fix NPE in admin SwitchYardBuilder
----------------------------------
Key: SWITCHYARD-583
URL: https://issues.jboss.org/browse/SWITCHYARD-583
Project: SwitchYard
Issue Type: Bug
Components: admin
Affects Versions: 0.3
Reporter: Rob Cernich
Assignee: Rob Cernich
Priority: Minor
Fix For: 0.4
Should investigate why the application is null.
Here's the stacktrace:
13:33:41,388 WARN [org.switchyard.deploy.internal.AbstractDeployment] (MSC service thread 1-7) DeploymentListener threw exception during notify.: java.lang.NullPointerException
at org.switchyard.admin.base.SwitchYardBuilder.serviceUndeployed(SwitchYardBuilder.java:215)
at org.switchyard.deploy.internal.AbstractDeployment$ServiceUndeployedNotifier.notify(AbstractDeployment.java:372)
at org.switchyard.deploy.internal.AbstractDeployment.notifyListeners(AbstractDeployment.java:341)
at org.switchyard.deploy.internal.AbstractDeployment.fireServiceUndeployed(AbstractDeployment.java:319)
at org.switchyard.deploy.internal.Deployment.undeployServiceBindings(Deployment.java:413)
at org.switchyard.deploy.internal.Deployment.doStop(Deployment.java:155)
at org.switchyard.deploy.internal.AbstractDeployment.stop(AbstractDeployment.java:207)
at org.switchyard.as7.extension.deployment.SwitchYardDeployment.stop(SwitchYardDeployment.java:123) [switchyard-deploy-jboss-as7-0.3.0.Final.jar:0.3.0.Final]
at org.switchyard.as7.extension.services.SwitchYardService.stop(SwitchYardService.java:101) [switchyard-deploy-jboss-as7-0.3.0.Final.jar:0.3.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1909)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1872)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
--
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