javax.xml.transform.TransformerException: 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.

  • [xalan] Transform Error
    via by PatrickBeaudoin,
  • NPE from XSLT transformer based on a StreamSource
    via by Mark D. Hansen,
    • javax.xml.transform.TransformerException: java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2263) at org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:432) at org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:273) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2258) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2258) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2258) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2081) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1137) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:600) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1054) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1032) at com.aventis.wcm.xmlhandler.Transformation.applyStyleSheet(Transformation.java:599) at com.sanofiaventis.documentum.CreateNavTree.applyXslFromString(CreateNavTree.java:150) at com.sanofiaventis.documentum.CreateNavTree.getFolderContentStructure(CreateNavTree.java:98) at com.sanofiaventis.documentum.CreateNavTree.main(CreateNavTree.java:211) Caused by: java.lang.NullPointerException at org.apache.xpath.axes.DescendantIterator.nextNode(DescendantIterator.java:250) at org.apache.xpath.axes.NodeSequence.nextNode(NodeSequence.java:320) at org.apache.xpath.axes.FilterExprWalker.getNextNode(FilterExprWalker.java:235) at org.apache.xpath.axes.AxesWalker.nextNode(AxesWalker.java:400) at org.apache.xpath.axes.WalkingIterator.nextNode(WalkingIterator.java:165) at org.apache.xpath.axes.NodeSequence.nextNode(NodeSequence.java:320) at org.apache.xpath.objects.XNodeSet.compare(XNodeSet.java:538) at org.apache.xpath.objects.XNodeSet.equals(XNodeSet.java:736) at org.apache.xpath.operations.Equals.operate(Equals.java:84) at org.apache.xpath.operations.Operation.execute(Operation.java:150) at org.apache.xpath.axes.PredicatedNodeTest.executePredicates(PredicatedNodeTest.java:326) at org.apache.xpath.axes.PredicatedNodeTest.acceptNode(PredicatedNodeTest.java:458) at org.apache.xpath.axes.DescendantIterator.nextNode(DescendantIterator.java:264) at org.apache.xpath.axes.NodeSequence.nextNode(NodeSequence.java:320) at org.apache.xpath.axes.NodeSequence.runTo(NodeSequence.java:474) at org.apache.xalan.templates.ElemForEach.sortNodes(ElemForEach.java:340) at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:383) at org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:300) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2258) ... 16 more
    No Bugmate found.