cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jenny Brown <je...@bigbrother.net>
Subject null pointer occurring inside cocoon
Date Fri, 08 Nov 2002 16:42:59 GMT
I recently got cocoon running on my server (with a very up to date
version of avalon, excalibur, etc.); and I'm having an error triggered
by my servlet, when I'm trying to transform XML with an XSLT file.  The
debug info is as follows.


DEBUG   10367   [jendvsl ] (): XSLTProcessorImpl:
transform source = org.apache.cocoon.components.source.URLSource@7eb366,
stylesheet = org.apache.cocoon.components.source.URLSource@33f0de,
parameters = org.apache.avalon.framework.parameters.Parameters@ab444,
result = javax.xml.transform.stream.StreamResult@c0f1ec

DEBUG   10367   [jendvsl ] (): Creating new Templates for http://jenny.myinfogenic.net/sitebuilder/simple.xsl

DEBUG   10367   [jendvsl ] ():
Source = org.apache.cocoon.components.source.URLSource@33f0de,
templatesHandler = org.apache.xalan.processor.StylesheetHandler@18c74

org.apache.cocoon.ProcessingException: Exception during processing
of http://jenny.myinfogenic.net/sitebuilder/simple.xsl:
java.lang.NullPointerException
  at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:211)
  at org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:268)
  at org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:239)
  at org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProcessorImpl.java:311)
  at jendvsl.web_post_xsl(jendvsl.java:87)

Caused by: java.lang.NullPointerException
  at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:204)
        ... 23 more
java.lang.NullPointerException
  at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:204)
  at org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:268)
  at org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:239)
  at org.apache.cocoon.components.xslt.XSLTProcessorImpl.transform(XSLTProcessorImpl.java:311)
  at jendvsl.web_post_xsl(jendvsl.java:87)






---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message