cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject [C2] FYI: NPE Exception in Xalan
Date Mon, 07 May 2001 22:11:56 GMT
Hi,

While playing with XPath expressions, I found that there is a lot of exceptions
in Tomcat's console window. One of discovered exception stack traces is attached
below.

I'm using (almost) latest C2 with xalan-2.0.1.jar and xerces_1_3_1.jar.

Vadim

---------
java.lang.NullPointerException
        at org.apache.xpath.axes.LocPathIterator.nextNode(LocPathIterator.java:6
61)
        at org.apache.xpath.objects.XNodeSet.compare(XNodeSet.java:361)
        at org.apache.xpath.objects.XNodeSet.equals(XNodeSet.java:579)
        at org.apache.xpath.operations.Equals.operate(Equals.java:82)
        at org.apache.xpath.operations.Operation.execute(Operation.java:129)
        at org.apache.xpath.operations.Operation.execute(Operation.java:126)
        at org.apache.xpath.operations.And.execute(And.java:87)
        at org.apache.xpath.operations.Or.execute(Or.java:91)
        at org.apache.xpath.axes.PredicatedNodeTest.executePredicates(Predicated
NodeTest.java:287)
        at org.apache.xpath.axes.PredicatedNodeTest.acceptNode(PredicatedNodeTes
t.java:397)
        at org.apache.xpath.axes.ChildWalkerMultiStep.getNextNode(ChildWalkerMul
tiStep.java:106)
        at org.apache.xpath.axes.AxesWalker.nextNode(AxesWalker.java:1137)
        at org.apache.xpath.axes.ChildWalkerMultiStep.nextNode(ChildWalkerMultiS
tep.java:151)
        at org.apache.xpath.axes.LocPathIterator.nextNode(LocPathIterator.java:6
89)
        at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemFor
Each.java:428)
        at org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:228)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2202)
        at org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:380
)
        at org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.
java:202)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2202)
        at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul
t.java:739)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2202)
        at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul
t.java:739)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2202)
        at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul
t.java:739)
        at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemFor
Each.java:498)
        at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTempla
tes.java:193)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2202)
        at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:152)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2202)
        at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Tran
sformerImpl.java:2085)
        at org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
rImpl.java:1219)
        at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
:2942)
        at java.lang.Thread.run(Thread.java:484)

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message