java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Re: nullpointer exception in sig.sign(privateKey) of CreateSignature example
    via by Jozef Aerts - Comp.Chem.Cons. - XML4Pharma,
  • NullPointerException when I call sign()
    via by Bryan Field-Elliot,
  • Re: XML Security with JDOM
    via by Tom Oehser,
  • XML Security with JDOM
    via by JC Tchitchiama,
    • java.lang.NullPointerException at org.apache.xml.security.c14n.helper.NonNSAttrCompare.compare(NonNSAttrCompare.java:125) at java.util.Arrays.mergeSort(Arrays.java:1237) at java.util.Arrays.sort(Arrays.java:1185) at java.util.Collections.sort(Collections.java:151) at org.apache.xml.security.c14n.implementations.Canonicalizer20010315.getAttrs(Canonicalizer20010315.java:724) at org.apache.xml.security.c14n.implementations.Canonicalizer20010315.canonicalizeXPathNodeSet(Canonicalizer20010315.java:608) at org.apache.xml.security.c14n.implementations.Canonicalizer20010315.canonicalizeXPathNodeSet(Canonicalizer20010315.java:539) at org.apache.xml.security.c14n.implementations.Canonicalizer20010315.engineCanonicalizeXPathNodeSet(Canonicalizer20010315.java:490) at org.apache.xml.security.transforms.implementations.TransformC14NWithComments.enginePerformTransform(TransformC14NWithComments.java:124) at org.apache.xml.security.transforms.Transform.performTransform(Transform.java:333) at org.apache.xml.security.transforms.Transforms.performTransforms(Transforms.java:257) at org.apache.xml.security.signature.Reference.dereferenceURIandPerformTransforms(Reference.java:485) at org.apache.xml.security.signature.Reference.getReferencedBytes(Reference.java:541) at org.apache.xml.security.signature.Reference.calculateDigest(Reference.java:566) at org.apache.xml.security.signature.Reference.generateDigestValue(Reference.java:439) at org.apache.xml.security.signature.Manifest.generateDigestValues(Manifest.java:211) at org.apache.xml.security.signature.XMLSignature.sign(XMLSignature.java:422) at XMLSignature.CreateSignature.create(CreateSignature.java:161) at XMLSignature.InfoPanel.jButtonMakeSignature_actionPerformed(InfoPanel.java:131) at XMLSignature.InfoPanel$2.actionPerformed(InfoPanel.java:122) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245) at java.awt.Component.processMouseEvent(Component.java:5093) at java.awt.Component.processEvent(Component.java:4890) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3598) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1585) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    No Bugmate found.