cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramy Mamdouh <r...@imkenberg.net>
Subject XMLFroms NPE, maybe related to the NamespaceNormalizingDOMStreamer?
Date Wed, 12 Mar 2003 15:50:48 GMT
Hello,

I'm using Cocoon-dev 2.1, CVS updated this morning, Tomcat 4.1.18, JDK 
1.4.1_01.

XMLForms stuff (both the samples, and my application's specific ones) 
aren't working, with a Null Pointer Exception.

Looks like it has something to do with the DOM 1 support?

here's the exceptions in the log, the Caused by exception is highlighted :

==================
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
java.lang.NullPointerException
	at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:303)
	at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:681)
	at 
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:413)
	at 
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:503)
	at 
org.apache.cocoon.environment.http.HttpEnvironment.toSAX(HttpEnvironment.java:304)
	at 
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:489)
	at 
org.apache.cocoon.environment.wrapper.EnvironmentWrapper.toSAX(EnvironmentWrapper.java:358)
	at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)
	at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:529)
	at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:214)
	at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:681)
	at 
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:413)
	at 
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:503)
	at 
org.apache.cocoon.environment.http.HttpEnvironment.toSAX(HttpEnvironment.java:304)
	at 
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:489)
	at 
org.apache.cocoon.webapps.portal.components.CopletThread.run(CopletThread.java:210)
	at java.lang.Thread.run(Thread.java:536)

*Caused by: java.lang.NullPointerException*
	at 
org.apache.xalan.transformer.TransformerIdentityImpl.flushStartDoc(TransformerIdentityImpl.java:888)
	at 
org.apache.xalan.transformer.TransformerIdentityImpl.startPrefixMapping(TransformerIdentityImpl.java:931)
	at 
org.apache.cocoon.xml.dom.DOMStreamer$NamespaceNormalizingDOMStreamer.startNode(DOMStreamer.java:470)
	at 
org.apache.cocoon.xml.dom.DOMStreamer$NamespaceNormalizingDOMStreamer.stream(DOMStreamer.java:259)
	at org.apache.cocoon.xml.dom.DOMStreamer.stream(DOMStreamer.java:173)
	at org.apache.cocoon.xml.XMLUtils.serializeNode(XMLUtils.java:230)
	at org.apache.cocoon.xml.XMLUtils.serializeNodeToXML(XMLUtils.java:181)
	at 
org.apache.cocoon.transformation.AbstractSAXTransformer.endRecording(AbstractSAXTransformer.java:496)
	at 
org.apache.cocoon.transformation.XMLFormTransformer.endTransformingElement(XMLFormTransformer.java:965)
	at 
org.apache.cocoon.transformation.AbstractSAXTransformer.endElement(AbstractSAXTransformer.java:355)
	at 
org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java:124)
	at 
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
	at 
org.apache.cocoon.transformation.I18nTransformer.endElement(I18nTransformer.java:1158)
	at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)
	at 
org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:898)
	at 
org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:644)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1008)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
	at 
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
	at 
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
	at 
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
	at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:302)
	at 
org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX(DefaultXMLizer.java:161)
	at 
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:506)
	at 
org.apache.cocoon.environment.http.HttpEnvironment.toSAX(HttpEnvironment.java:304)
	at 
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:489)
	at 
org.apache.cocoon.environment.wrapper.EnvironmentWrapper.toSAX(EnvironmentWrapper.java:358)
	at 
org.apache.cocoon.environment.wrapper.EnvironmentWrapper.toSAX(EnvironmentWrapper.java:358)
	at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)
	at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:253)
	... 16 more



Mime
View raw message