cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Burton <ross.bur...@mail.com>
Subject [C2] NullPointerException
Date Thu, 12 Oct 2000 19:19:39 GMT
Hi,

Just as I was looking forward to a super-fast C2 based on Xalan 2, I get
a NPE.  The browser is returned a NPE from Sitemap.process(), but the
action error is on the console.  Below is the stack trace (brace
yourself).  Now - am I missing something?  Tomcat 3.2 (possibly - it's
from a CVS snapshot just after the milestone  think) and I'm sure all of
the libraries are in place.

What is strange is that Sun's XML code is being called although
Xerces/Xalan is in front of it in the classpath...


Ross Burton


java.lang.AbstractMethodError:
com/sun/xml/tree/XmlDocument.createElementNS
        at
org.apache.xalan.utils.DOMBuilder.startElement(DOMBuilder.java:275)
        at
org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTreeHandler.java:397)
        at
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:513)
        at
org.apache.xalan.utils.TreeWalker.endNode(TreeWalker.java:315)
        at
org.apache.xalan.utils.TreeWalker.traverse(TreeWalker.java:112)
        at
org.apache.xalan.transformer.TreeWalker2Result.traverse(TreeWalker2Result.java:98)
        at
org.apache.xalan.templates.ElemCopyOf.execute(ElemCopyOf.java:184)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1397)
        at
org.apache.xalan.transformer.TransformerImpl.transformToRTF(TransformerImpl.java:981)
        at
org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java:242)
        at
org.apache.xalan.templates.ElemVariable.execute(ElemVariable.java:219)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1397)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1314)
        at
org.apache.xalan.transformer.TransformerImpl.transformSelectedNodes(TransformerImpl.java:1166)
        at
org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:175)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1397)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1314)
        at
org.apache.xalan.transformer.TransformerImpl.transformSelectedNodes(TransformerImpl.java:1166)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1397)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:446)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:1397)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1314)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:660)
        at
org.apache.xalan.stree.SourceTreeHandler.endDocument(SourceTreeHandler.java:205)
        at
org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518)
        at
org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518)
        at
org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518)
        at
org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1225)
        at
org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidator.java:743)
        at
org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch(XMLDocumentScanner.java:1545)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
        at
org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
        at
org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
        at
org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generateCode(LogicsheetCodeGenerator.java:118)
        at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generateCode(AbstractMarkupLanguage.java:296)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:187)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:147)
        at java.lang.Thread.run(Thread.java:498)

Mime
View raw message