Hi all,

I've just upgrade acegi in 1.0.3 version (before I've 1.0.1) and my
webapp drive to an annoying error. This is the same as Matt Raible
(01-12-2006 on the list archives) but I've some more details.

If I login with the checkbox "remember me" checked and logout no
problem. If I login without this option and logout the crash appear :

HTTP Status 500 - 

________________________________________________________________________

type Exception report

message 

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception 

java.lang.NullPointerException
        
org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices.logout(TokenBasedRememberMeServices.java:295)
        org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:98)
        
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
        
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
        
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
        
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
        
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.15 logs.


________________________________________________________________________
Apache Tomcat/5.5.15


That is the complete message from my app, installed on Geronimo-1.1.1,
running on a Gentoo Linux 2006.1 64 bits, sun jdk 1.6.0

I precise that after the login all works great, with or without
"remember me". The crash isn't present with Acegi 1.0.1

I think this is the change in the LogoutFilter.doFilter method because
they no more check the "auth" context for null.

I've tried to change the position of logoutFilter in the
filterChainProxy but no changes in the error ...

I think it's a bug but I've you any comments before I report this ?

Thanks for your help and for this great piece of software !!

Didier Link



-- 
Didier Link <[EMAIL PROTECTED]>
Jabber : [EMAIL PROTECTED]
MSN : [EMAIL PROTECTED]
SIP : [EMAIL PROTECTED]

Clé GPG : 75BAC9EE

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to