Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by RonReynolds: http://wiki.apache.org/ws/FrontPage/WsFx/wss4jFAQ ------------------------------------------------------------------------------ {{{org.apache.crimson.tree.ElementNode2}}}. In this case you use the Crimson parser. Please make sure that a full namespace aware parser is in the classpath, e.g. Apache Xerces. Of course this is also true for other parsers that do not support XML namespace. + + There is also a NullPointerException you can get that doesn't contain "crimson" anywhere. + The top of the stack-trace looks like this: {{{ + WSHandler: Signature: error during message procesing... + Signature creation failed; nested exception is: + java.lang.NullPointerException; nested exception is: + org.apache.ws.security.WSSecurityException: ...: Signature creation failed; nested exception is: + java.lang.NullPointerException + at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:201) + at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) + ...nested exception is: + java.lang.NullPointerException + at org.apache.ws.security.handler.WSHandler.performSIGNAction(WSHandler.java:203) + ... + }}} + + To determine what JAXP implementation is being loaded use the following code: {{{ + System.out.println(javax.xml.parsers.DocumentBuilderFactory.newInstance()); + }}} + and if the class name isn't {{{org.apache.xerces.jaxp.DocumentBuilderFactoryImpl}}} then the Xerces + jar isn't in your classpath (or it's being masked by the {{{javax.xml.parsers.DocumentBuilderFactory}}} + System property or another JAXP-enabled XML parser on the classpath or the {{{JRE/lib/jaxp.properties}}} + file). [[Anchor(debug)]] ==== Where can I change the debug level of wss4j? ====
