shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hazlewood <lhazlew...@apache.org>
Subject Re: RememberMeManager null pointer?
Date Mon, 05 Apr 2010 22:47:42 GMT
Ah - thanks for the reminder Kalle :)

On Mon, Apr 5, 2010 at 3:41 PM, Kalle Korhonen
<kalle.o.korhonen@gmail.com> 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 <lhazlewood@apache.org> 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 <ryantxu@gmail.com> 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)
>>>
>>
>

Mime
View raw message