无法处理部署的POST_MODULE阶段\“Report.jar \由以下引起:java.lang.NullPointerException

时间:2015-12-10 07:10:40

标签: deployment jboss jbossfuse

我正在尝试在Jboss fsw中部署jar文件,但是部署失败并显示以下消息

  

POST_MODULE:服务jboss.deployment.unit中的org.jboss.msc.service.StartException。“Report.jar”.POST_MODULE:JBAS018733:无法处理部署“Report.jar”的阶段POST_MODULE           在org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127)[jboss-as-server-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]           at org.jboss.msc.service.ServiceControllerImpl $ StartTask.startService(ServiceControllerImpl.java:1811)[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]           at org.jboss.msc.service.ServiceControllerImpl $ StartTask.run(ServiceControllerImpl.java:1746)[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]           在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_67]           at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_67]           在java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_67]   引起:java.lang.NullPointerException           在org.switchyard.as7.extension.deployment.SwitchYardConfigProcessor $ JBossPropertyResolver.set(SwitchYardConfigProcessor.java:106)           在org.switchyard.as7.extension.deployment.SwitchYardConfigProcessor $ JBossPropertyResolver.access $ 000(SwitchYardConfigProcessor.java:87)           在org.switchyard.as7.extension.deployment.SwitchYardConfigProcessor.deploy(SwitchYardConfigProcessor.java:60)           在org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120)[jboss-as-server-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]           ......还有5个

     

19:16:58,882 ERROR [org.jboss.as.server](HttpManagementService-threads - 11)JBAS015870:部署部署“Report.jar”时回滚了以下失败消息:   {“JBAS014671:失败的服务”=> {“jboss.deployment.unit。\”Report.jar \“。POST_MODULE”=> “服务jboss.deployment.unit中的org.jboss.msc.service.StartException。”Report.jar \“。POST_MODULE:JBAS018733:无法处理部署的POST_MODULE阶段\”Report.jar \“       引起:java.lang.NullPointerException“}}   19:16:58,889 INFO [org.jboss.as.server.deployment](MSC服务主题1-5)JBAS015877:在6ms内停止部署Report.jar(runtime-name:Report.jar)

1 个答案:

答案 0 :(得分:0)

我能够避免这个问题。似乎问题出在我创建的switchyard项目结构上。我只是重新创建了项目,这次我没有得到部署问题!!