-
Bug
-
Resolution: Done
-
Major
-
7.0.3.GA
-
None
After upgrading an application from EAP 6.4 to EAP 7.0 and are now finding that a call to sign a SOAP request is generating a NPE: this previously worked fine in EAP 6.4.
Caused by: java.lang.NullPointerException at org.apache.xerces.dom.AttrNSImpl.setName(AttrNSImpl.java:87) at org.apache.xerces.dom.AttrNSImpl.<init>(AttrNSImpl.java:74) at org.apache.xerces.dom.CoreDocumentImpl.createAttributeNS(CoreDocumentImpl.java:2147) at com.sun.xml.messaging.saaj.soap.SOAPDocumentImpl.createAttributeNS(SOAPDocumentImpl.java:186) at org.apache.jcp.xml.dsig.internal.dom.XmlWriterToTree.writeAttribute(XmlWriterToTree.java:136) at org.apache.jcp.xml.dsig.internal.dom.Marshaller.sendAttributeToWriter(Marshaller.java:333) at org.apache.jcp.xml.dsig.internal.dom.Marshaller.marshalGenericNode(Marshaller.java:305) at org.apache.jcp.xml.dsig.internal.dom.Marshaller.marshalGenericNode(Marshaller.java:310) at org.apache.jcp.xml.dsig.internal.dom.Marshaller.marshalGenericNode(Marshaller.java:276) at org.apache.jcp.xml.dsig.internal.dom.Marshaller.access$000(Marshaller.java:48) at org.apache.jcp.xml.dsig.internal.dom.Marshaller$14.marshalObject(Marshaller.java:241) at org.apache.jcp.xml.dsig.internal.dom.Marshaller$14.marshalObject(Marshaller.java:237) at org.apache.jcp.xml.dsig.internal.dom.XmlWriterToTree.marshalStructure(XmlWriterToTree.java:176) at org.apache.jcp.xml.dsig.internal.dom.DOMKeyInfo.marshalInternal(DOMKeyInfo.java:179) at org.apache.jcp.xml.dsig.internal.dom.DOMKeyInfo.marshal(DOMKeyInfo.java:164) at org.apache.jcp.xml.dsig.internal.dom.DOMXMLSignature.marshal(DOMXMLSignature.java:225) at org.apache.jcp.xml.dsig.internal.dom.DOMXMLSignature.sign(DOMXMLSignature.java:330) at com.example.Util.createDetachedSignature(Util:123)
- is cloned by
-
JBEAP-8226 [GSS](7.0.z) SANTUARIO-457 - Marshaller:sendAttributeToWriter broken by Attr without namespace
- Closed
- is incorporated by
-
JBEAP-8226 [GSS](7.0.z) SANTUARIO-457 - Marshaller:sendAttributeToWriter broken by Attr without namespace
- Closed
-
JBEAP-8203 [GSS](7.1.0) Upgrade to Apache Santuario from 2.0.7 to 2.0.8
- Closed