Project

Profile

Help

Support #1344

closed

null pointer when invoking standard trace-listener

Added by Anonymous almost 19 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Internals
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Legacy ID:
sf-1387441
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

SourceForge user: lmckenzi

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


Files

SimplifySchemas.xslt (9.56 KB) SimplifySchemas.xslt Anonymous, 2005-12-21 19:29
Actions #1

Updated by Anonymous almost 19 years ago

SourceForge user: mhkay

Logged In: YES

user_id=251681

This is a known bug, please see

http://sourceforge.net/tracker/index.php?func=detail&aid=1369624&group_id=29872&atid=397617

You can probably work around it by changing xsl:copy-of to

xsl:sequence.

Michael Kay

Please register to edit this issue

Also available in: Atom PDF