Yep, there's a Jira issue for it. I hope to resolve it tomorrow. Cheers,
Les On Tue, Apr 13, 2010 at 11:30 AM, Tauren Mills <[email protected]> wrote: > I've been getting this same error for some time now too. However, it happens > both on login and on logout for me. Even though the NPE is thrown, I'm > still able to successfully log in and out. I haven't taken the time to track > down what's going on yet, but it sounds like there's already an issue for > it. > Tauren > > On Mon, Apr 5, 2010 at 3:47 PM, Les Hazlewood <[email protected]> wrote: >> >> Ah - thanks for the reminder Kalle :) >> >> On Mon, Apr 5, 2010 at 3:41 PM, Kalle Korhonen >> <[email protected]> wrote: >> > There's an issue open already: >> > https://issues.apache.org/jira/browse/SHIRO-141 >> > >> > Kalle >> > >> > >> > On Mon, Apr 5, 2010 at 2:50 PM, Les Hazlewood <[email protected]> >> > wrote: >> >> Hi Ryan, >> >> >> >> Nope, this is not expected. Please open a Jira issue and we'll get to >> >> it ASAP. >> >> >> >> Thanks, >> >> >> >> Les >> >> >> >> On Mon, Apr 5, 2010 at 2:41 PM, Ryan McKinley <[email protected]> >> >> wrote: >> >>> Is this an expected error when you click logout? I'm using the >> >>> wicket-shiro stuff from /trunk a while back. (i'm not sure how to >> >>> figure out what version the jar is built from.. I don't see anything >> >>> in the META-INF folder) >> >>> >> >>> WARN - DefaultSecurityManager - Delegate RememberMeManager >> >>> instance of type [org.apache.shiro.web.WebRememberMeManager] threw an >> >>> exception during getRememberedPrincipals(). >> >>> java.lang.NullPointerException >> >>> at >> >>> org.apache.shiro.web.attr.CookieAttribute.getCookie(CookieAttribute.java:262) >> >>> at >> >>> org.apache.shiro.web.attr.CookieAttribute.removeValue(CookieAttribute.java:357) >> >>> at >> >>> org.apache.shiro.web.WebRememberMeManager.forgetIdentity(WebRememberMeManager.java:320) >> >>> at >> >>> org.apache.shiro.web.WebRememberMeManager.forgetIdentity(WebRememberMeManager.java:316) >> >>> at >> >>> org.apache.shiro.mgt.AbstractRememberMeManager.onRememberedPrincipalFailure(AbstractRememberMeManager.java:547) >> >>> at >> >>> org.apache.shiro.mgt.AbstractRememberMeManager.getRememberedPrincipals(AbstractRememberMeManager.java:488) >> >>> at >> >>> org.apache.shiro.mgt.DefaultSecurityManager.getRememberedIdentity(DefaultSecurityManager.java:610) >> >>> at >> >>> org.apache.shiro.mgt.DefaultSecurityManager.resolvePrincipals(DefaultSecurityManager.java:486) >> >>> at >> >>> org.apache.shiro.mgt.DefaultSecurityManager.createSubject(DefaultSecurityManager.java:363) >> >>> at >> >>> org.apache.shiro.mgt.DefaultSecurityManager.createSubject(DefaultSecurityManager.java:197) >> >>> at >> >>> org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:315) >> >>> at >> >>> org.apache.shiro.subject.DelegatingSubject.login(DelegatingSubject.java:249) >> >>> at >> >>> voyager.security.wicket.component.LoginPanel.login(LoginPanel.java:189) >> >>> at >> >>> voyager.security.wicket.component.LoginPanel$2.onSubmit(LoginPanel.java:83) >> >>> at >> >>> org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1538) >> >>> at >> >>> org.apache.wicket.markup.html.form.Form.process(Form.java:934) >> >>> at >> >>> org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:896) >> >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> >>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) >> >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown >> >>> Source) >> >>> at java.lang.reflect.Method.invoke(Unknown Source) >> >>> >> >> >> > > >
