In fact this is a big bug in the component handling in combination
with the use of the cocoon: protocol. This infects in some circumstances
the authentication and the portal framework.

I don't see currently a workaround for you until the bug is fixed - sorry.

Carsten

> -----Original Message-----
> From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Nullpointer Exception - SessionTransformer
> 
> 
> Ok, I with your XML I can reproduce the error...I will have a look at it.
> 
> I suggest you to use the latest version because of the new xerces 2.1
> which has less bugs in the dom handling code.
> 
> Carsten
> 
> > -----Original Message-----
> > From: u15603 [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 04, 2002 12:43 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Nullpointer Exception - SessionTransformer
> >
> >
> > Here is the source of the xml file:
> >
> > <?xml version="1.0"?>
> > <login xmlns:session="http://cocoon.apache.org/session/1.0";>
> >     <table>
> >         <tbody>
> >             <tr>
> >                 <td>
> >                     <p>hallo</p>
> >                     <session:getxml context="authentication" path="/"/>
> >                 </td>
> >             </tr>
> >         </tbody>
> >     </table>
> > </login>
> >
> > I develop under 2.1dev of  12.08.02!
> >
> > Should I use the current one?!
> >
> > Dirk
> >
> > >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:[EMAIL PROTECTED]]
> > >>Sent: Wednesday, September 04, 2002 12:12 PM
> > >>To: [EMAIL PROTECTED]
> > >>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:     <[EMAIL PROTECTED]>
> > >>For additional commands, e-mail:   <[EMAIL PROTECTED]>
> > >>
> > >>
> > >>
> > >
> > >---------------------------------------------------------------------
> > >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:     <[EMAIL PROTECTED]>
> > >For additional commands, e-mail:   <[EMAIL PROTECTED]>
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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:     <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
> >
> 
> 
> ---------------------------------------------------------------------
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to