cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya A. Kriveshko" <i...@kaon.com>
Subject Re: xalan exception
Date Fri, 06 Sep 2002 19:17:30 GMT
Can't be sure, but just recently I spent some time tracking down what 
was causing a similar NPE.
Turned out I typed <xsl:for-each test="something">  instead of 
<xsl:for-each select="something">. Clearly, it is an error on my part, 
but the  NullPointerException isn't exactly what I would have expected 
to get.

It might be worthwhile for you to check if you spelled all important xsl 
attribute names correctly.

2c
--
Ilya

Manish Shah wrote:

>Hi there,
>
>I'm getting the following xalan exception when using xalan 2.4.0:
>
>
>java.lang.NullPointerException
>  at
>org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:1034)
>   at
>org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:965)
>    at
>org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1114)
>    at
>org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1097)
>    at com.evermind[Orion/1.5.2 (build
>10460)].servlet.XSLServlet.service(Unknown Source)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
> at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
>     at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
>      at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)
>
>
>Any idea why this would happen? 
>
>Manish
>
>
>
>---------------------------------------------------------------------
>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>
>
>
>  
>



---------------------------------------------------------------------
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