cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "u15603" <u15...@hs-harz.de>
Subject Re: Nullpointer Exception - SessionTransformer
Date Wed, 04 Sep 2002 10:42:37 GMT
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: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>
>
>
>  
>




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