[
http://jira.jboss.com/jira/browse/BPEL-292?page=comments#action_12398171 ]
Alejandro Guizar commented on BPEL-292:
---------------------------------------
I have been able to reproduce the NPE caused by c.getProtectionDomain().getCodeSource()
returning null on JWSDP 1.6 and JDK 1.6.0_04.
The code source of a protection domain may be null. This is the case for classes included
in the Java platform. In particular, the javax.xml.soap package is part of Java SE 6. This
causes the aforementioned code to return null and result in a NPE for c set to
SOAPMessage.class. The fix is already applied to CVS head.
Code source for SOAPMessage class is null
-----------------------------------------
Key: BPEL-292
URL:
http://jira.jboss.com/jira/browse/BPEL-292
Project: JBoss jBPM BPEL
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Engine
Affects Versions: jBPM BPEL 1.1 GA
Environment: JBoss AS 4.2.0.GA
jwsdp-2.0 without container
JDK 1.6.0_01
Reporter: Alejandro Guizar
Assigned To: Alejandro Guizar
Fix For: jBPM BPEL 1.1.1
When deploying the hello example, an exception is thrown.
java.lang.NullPointerException
at org.jbpm.bpel.tools.WscompileTool.getLocation(WscompileTool.java:240)
at org.jbpm.bpel.tools.WscompileTool.formatClasspath(WscompileTool.java:227)
at org.jbpm.bpel.tools.WscompileTool.callWscompile(WscompileTool.java:197)
at org.jbpm.bpel.tools.WscompileTool.generateJavaMappingImpl(WscompileTool.java:156)
at org.jbpm.bpel.tools.WscompileTool.generateJavaMapping(WscompileTool.java:143)
at org.jbpm.bpel.tools.WebModuleBuilder.callJavaMappingTool(WebModuleBuilder.java:264)
at org.jbpm.bpel.tools.WebModuleBuilder.buildModuleImpl(WebModuleBuilder.java:102)
at org.jbpm.bpel.tools.WebModuleBuilder.buildModule(WebModuleBuilder.java:84)
at org.jbpm.bpel.web.DeploymentServlet.deployWebModule(DeploymentServlet.java:205)
Debugging yields the problem: c.getProtectionDomain().getCodeSource() is null for
javax.xml.soap.SOAPMessage!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira