Bug 1120654 - NullPointerException when an empty switchyard.xml is deployed
Summary: NullPointerException when an empty switchyard.xml is deployed
Keywords:
Status: NEW
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Keith Babo
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-17 11:11 UTC by lvaskova
Modified: 2015-11-02 08:09 UTC (History)
1 user (show)

Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description lvaskova 2014-07-17 11:11:49 UTC
This is a User Experience Issue.

When an empty switchyard.xml is deployed, for example because of this bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1041319 , 

an exception is thrown. The bad thing is that the exception says nothing relevant about the problem. It is just NPE.

Thrown exception:

Caused by: java.lang.Exception: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"DozerTransformationTest.jar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"DozerTransformationTest.jar\".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment \"DozerTransformationTest.jar\"
    Caused by: java.lang.NullPointerException"}}
	at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getActionResult(ServerDeploymentPlanResultFuture.java:134)
	at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getResultFromNode(ServerDeploymentPlanResultFuture.java:123)
	at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:85)
	at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:42)
	at org.jboss.as.controller.client.helpers.standalone.ServerDeploymentHelper.deploy(ServerDeploymentHelper.java:50)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:77)
	... 96 more


Note You need to log in before you can comment on or make changes to this bug.