#41 null pointer when invoking standard trace-listener

closed
nobody
None
5
2012-10-08
2005-12-21
No

This problem occurs when I specify the "-T" parameter
when executing the transform. It appears to occur
during the transform compilation stage as it doesn't
really seem to matter what the input file contains,
so long as it exists. It is however specific to the
transform. (Other transforms don't cause the same
problem.) Transform is attached.

I'm using saxon 8.6.1

Stacktrace is:
java.lang.NullPointerException
at
net.sf.saxon.instruct.CopyOf.createsNewNodes
(CopyOf.java:59)
at
net.sf.saxon.instruct.Instruction.computeSpecialProper
ties(Instruction.java:205)
at
net.sf.saxon.expr.ComputedExpression.computeStaticProp
erties(ComputedExpression.java:285)
at
net.sf.saxon.expr.ComputedExpression.getSpecialPropert
ies(ComputedExpression.java:274)
at
net.sf.saxon.instruct.TraceWrapper.createsNewNodes
(TraceWrapper.java:149)
at
net.sf.saxon.instruct.Instruction.computeSpecialProper
ties(Instruction.java:205)
at
net.sf.saxon.expr.ComputedExpression.computeStaticProp
erties(ComputedExpression.java:285)
at
net.sf.saxon.expr.ComputedExpression.getSpecialPropert
ies(ComputedExpression.java:274)
at net.sf.saxon.instruct.Block.createsNewNodes
(Block.java:144)
at
net.sf.saxon.instruct.Instruction.computeSpecialProper
ties(Instruction.java:205)
at
net.sf.saxon.expr.ComputedExpression.computeStaticProp
erties(ComputedExpression.java:285)
at
net.sf.saxon.expr.ComputedExpression.getDependencies
(ComputedExpression.java:346)
at
net.sf.saxon.expr.ComputedExpression.computeDependenci
es(ComputedExpression.java:363)
at
net.sf.saxon.expr.ComputedExpression.computeStaticProp
erties(ComputedExpression.java:285)
at
net.sf.saxon.expr.ComputedExpression.getSpecialPropert
ies(ComputedExpression.java:274)
at net.sf.saxon.expr.LetExpression.typeCheck
(LetExpression.java:56)
at
net.sf.saxon.instruct.TraceWrapper.typeCheck
(TraceWrapper.java:39)
at net.sf.saxon.instruct.Choose.typeCheck
(Choose.java:103)
at
net.sf.saxon.instruct.TraceWrapper.typeCheck
(TraceWrapper.java:39)
at net.sf.saxon.instruct.Block.typeCheck
(Block.java:221)
at net.sf.saxon.expr.LetExpression.typeCheck
(LetExpression.java:61)
at
net.sf.saxon.instruct.TraceWrapper.typeCheck
(TraceWrapper.java:39)
at net.sf.saxon.expr.LetExpression.typeCheck
(LetExpression.java:61)
at
net.sf.saxon.instruct.TraceWrapper.typeCheck
(TraceWrapper.java:39)
at net.sf.saxon.expr.LetExpression.typeCheck
(LetExpression.java:61)
at
net.sf.saxon.instruct.TraceWrapper.typeCheck
(TraceWrapper.java:39)
at net.sf.saxon.expr.LetExpression.typeCheck
(LetExpression.java:61)
at
net.sf.saxon.instruct.TraceWrapper.typeCheck
(TraceWrapper.java:39)
at net.sf.saxon.expr.LetExpression.typeCheck
(LetExpression.java:61)
at
net.sf.saxon.instruct.TraceWrapper.typeCheck
(TraceWrapper.java:39)
at net.sf.saxon.instruct.Block.typeCheck
(Block.java:221)
at
net.sf.saxon.instruct.TraceWrapper.typeCheck
(TraceWrapper.java:39)
at net.sf.saxon.style.XSLTemplate.compile
(XSLTemplate.java:304)
at
net.sf.saxon.style.XSLStylesheet.compileStylesheet
(XSLStylesheet.java:1018)
at
net.sf.saxon.PreparedStylesheet.setStylesheetDocument
(PreparedStylesheet.java:290)
at net.sf.saxon.PreparedStylesheet.prepare
(PreparedStylesheet.java:117)
at
net.sf.saxon.TransformerFactoryImpl.newTemplates
(TransformerFactoryImpl.java:130)
at net.sf.saxon.Transform.doMain
(Transform.java:435)
at net.sf.saxon.Transform.main
(Transform.java:60)
Fatal error during transformation: null

Discussion

  • Lloyd McKenzie

    Lloyd McKenzie - 2005-12-21

    Transform which causes the problem

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks