Hi Antonio,

can you have a look in the logs for the real place of the NPE?
In line 470 in the AuthenticationManager the NPE is only rethrown.

Carsten

> -----Original Message-----
> From: Antonio Gallardo [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 13, 2003 8:38 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [CVS] - 2.1 problem with caching in authentication
>
>
> Hi, I give update info about the problem I saw:
>
> The error is a java.lang.NullPointerException:
>
> ERROR (2003-01-13) 13:18.44:110 [core.authentication-manager]
> (/demo/my-login) Thread-12/AuthenticationManager: authenticate
> org.apache.cocoon.ProcessingException: Could not get sitemap source
> cocoon://my-checkuser?password=mypassword&name=myname:
> java.lang.NullPointerException at
> org.apache.cocoon.webapps.authentication.components.Authentication
> Manager.authenticate(AuthenticationManager.java:470)
>
> This code works fine until the update this morning. The my-checkuser is
> redirected as usually and is a XSP page that get from the database the
> users from a table.
>
> Please tell me what changed that I dont get this code work again. :-(
>
> Best Regards,
>
> Antonio Gallardo
>
> Antonio Gallardo dijo:
> > Hi!
> >
> > I downloaded just 10 mins before the lastes CVS version and I have a
> > problem with the following code that before worked OK:
> >
> > <map:match pattern="auth-checkuser">
> >   <map:generate src="docs/get-users.xsp" type="serverpages"/>
> >   <map:transform src="stylesheets/get-users.xsl">
> >     <map:parameter name="use-request-parameters" value="true"/>
> >   </map:transform>
> >   <map:serialize type="xml"/>
> > </map:match>
> >
> > I think the problem is related to the line:
> >
> > <map:parameter name="use-request-parameters" value="true"/>
> >
> > because in the sitemap.log i saw:
> >
> > DEBUG   (2003-01-13) 11:23.31:958   [sitemap.transformer.xsltc]
> > (/multipremios/my-login) Thread-6/TraxTransformer: Use parameters is
> > false for org.apache.cocoon.transformation.TraxTransformer@1950e0a
> >
> >
> > Is changed the <map:parameter> tag?
> >
> > Please, help me.
> >
> > Regards,
> >
> > Antonio Gallardo
> >
> >
> >
> >
> >
> > --------------------------------------------------------------------- To
> > unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to