cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: Portal bug? - Using SessionTransformer inside coplets
Date Thu, 23 Jan 2003 13:40:23 GMT
Hi,

did you test the latest cvs version, because line 380 in
my source code cannot cause your problem?

Carsten

> -----Original Message-----
> From: Alex Romayev [mailto:romayev@yahoo.com]
> Sent: Thursday, January 23, 2003 1:38 AM
> To: cocoon-users@xml.apache.org
> Subject: Portal bug? - Using SessionTransformer inside coplets
> 
> 
> I've run into a strange problem.  It seems like using
> SessionTransormer inside a coplet results in
> java.lang.NullPointerException.
> 
> Here is what I found:
> 1. If I run my coplet by invoking the coplet's uri
> directly everything works as expected.
> 2. If I invoke the coplet as part of a portal page
> using portal fw, it generates the exception.
> 3. I'm using session:getxml statements to get
> information from "request" context.  If I replace
> these statements with "dummy" data and _not_ have any
> of the session statements (I still have
> SessionTransformer in my pipeline, even though it
> doesn't actually do anything), everything works fine.
> 
> So it seems that for some reason using sesion:getxml
> from request context (or possibly other contexts -- I
> haven't tried) causes the excetion.
> 
> Please help, as this is a critical piece of my work!
> 
> Thanks,
> -Alex
> 
> Here is the stack trace:
> ERROR   (2003-01-22) 16:21.37:297  
> [core.portal-manager]
> (/cocoon/romayev/admin/write-result)
> Thread-8/CopletThread: Exception during processing of
> coplet: write-result
> org.apache.cocoon.ProcessingException: Failed to
> execute pipeline.: java.lang.NullPointerException
> 	at
> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(Sitem
> apSource.java:380)
> 	at
> org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEn
> vironment.java:532)
> 	at
> org.apache.cocoon.webapps.portal.components.CopletThread.run(Cople
> tThread.java:218)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> 
> ---------------------------------------------------------------------
> 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