cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: XMLFroms NPE, maybe related to the NamespaceNormalizingDOMStreamer?
Date Wed, 12 Mar 2003 15:53:57 GMT
I just checked in a fix for this, it should now work again.

Carsten

> -----Original Message-----
> From: Ramy Mamdouh [mailto:ramy@imkenberg.net]
> Sent: Wednesday, March 12, 2003 4:51 PM
> To: cocoon-dev@xml.apache.org
> Subject: XMLFroms NPE, maybe related to the
> NamespaceNormalizingDOMStreamer?
>
>
> 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.AbstractCachingProcessi
> ngPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:303)
> 	at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.p
> rocess(AbstractProcessingPipeline.java:681)
> 	at
> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(Sitem
> apSource.java:413)
> 	at
> org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEn
> vironment.java:503)
> 	at
> org.apache.cocoon.environment.http.HttpEnvironment.toSAX(HttpEnvir
> onment.java:304)
> 	at
> org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEn
> vironment.java:489)
> 	at
> org.apache.cocoon.environment.wrapper.EnvironmentWrapper.toSAX(Env
> ironmentWrapper.java:358)
> 	at
> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.
> java:140)
> 	at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.p
> rocessXMLPipeline(AbstractProcessingPipeline.java:529)
> 	at
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessi
> ngPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:214)
> 	at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.p
> rocess(AbstractProcessingPipeline.java:681)
> 	at
> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(Sitem
> apSource.java:413)
> 	at
> org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEn
> vironment.java:503)
> 	at
> org.apache.cocoon.environment.http.HttpEnvironment.toSAX(HttpEnvir
> onment.java:304)
> 	at
> org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEn
> vironment.java:489)
> 	at
> org.apache.cocoon.webapps.portal.components.CopletThread.run(Cople
> tThread.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.startPrefixMa
> pping(TransformerIdentityImpl.java:931)
> 	at
> org.apache.cocoon.xml.dom.DOMStreamer$NamespaceNormalizingDOMStrea
> mer.startNode(DOMStreamer.java:470)
> 	at
> org.apache.cocoon.xml.dom.DOMStreamer$NamespaceNormalizingDOMStrea
> mer.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.endRecordi
> ng(AbstractSAXTransformer.java:496)
> 	at
> org.apache.cocoon.transformation.XMLFormTransformer.endTransformin
> gElement(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(I18nTr
> ansformer.java:1158)
> 	at
> org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAX
> Parser.java:585)
> 	at
> org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLName
> spaceBinder.java:898)
> 	at
> org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceB
> inder.java:644)
> 	at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndEleme
> nt(XMLDocumentFragmentScannerImpl.java:1008)
> 	at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCont
> entDispatcher.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(AbstractSAXParse
> r.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(AbstractEn
> vironment.java:506)
> 	at
> org.apache.cocoon.environment.http.HttpEnvironment.toSAX(HttpEnvir
> onment.java:304)
> 	at
> org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEn
> vironment.java:489)
> 	at
> org.apache.cocoon.environment.wrapper.EnvironmentWrapper.toSAX(Env
> ironmentWrapper.java:358)
> 	at
> org.apache.cocoon.environment.wrapper.EnvironmentWrapper.toSAX(Env
> ironmentWrapper.java:358)
> 	at
> org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.
> java:140)
> 	at
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessi
> ngPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:253)
> 	... 16 more
>
>


Mime
View raw message