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: Nullpointer Exception - SessionTransformer
Date Wed, 04 Sep 2002 10:33:57 GMT
Hi,

I just tested your pipeline example from below and with the latest CVS of
2.1 it works for me.

Can you post the XML file, you read in the second pipeline?

Carsten

> -----Original Message-----
> From: u15603 [mailto:u15603@hs-harz.de]
> Sent: Wednesday, September 04, 2002 12:12 PM
> To: cocoon-users@xml.apache.org
> Subject: Re: Nullpointer Exception - SessionTransformer
> 
> 
> Hello,
> 
> on the way to find an other way solving my problem, I think I found the 
> cause!  If I call an other pipeline in the source of the default 
> generator and transform the out coming  xml with the SessionTransform 
> cocoon throws a NullPointerException (see my first posting)!
> 
> Could somebody help me? Or maybe explain me why the exception is thrown?!
> 
> Thx Dirk
> 
> <map:match pattern="mobiharzauth-**">
>  <map:act type="auth-protect">
>   <map:parameter name="handler" value="mobiharzhandler"/>
> 
>   <map:match pattern="mobiharzauth-portal-*">
>    <map:generate src="cocoon:/mobiharzauth-loggedIn"/>
>    <map:transform type="session"/>
>    <map:serialize/>
>   </map:match>       
>           
>   <map:match pattern="mobiharzauth-loggedIn">
>    <map:generate src="portal/resources/auth/login.xml"/>
>    <map:serialize/>
>   </map:match>
>  
> <map:act>
> </map:match>
> 
> 
> ---------------------------------------------------------------------
> 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