[jboss-user] [JBoss jBPM] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL

alex.guizar@jboss.com do-not-reply at jboss.com
Mon Feb 4 22:58:47 EST 2008


I have been able to reproduce the NPE caused by class.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 following code:
SOAPMessage.class.getProtectionDomain().getCodeSource()
to return null and result in a NPE. The fix is already applied to CVS head and will be delivered in jBPM BPEL 1.1.1.

Thanks for catching this one, Bernd.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126422#4126422

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126422



More information about the jboss-user mailing list