You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Carl Hall (JIRA)" <ji...@apache.org> on 2011/08/27 16:15:38 UTC

[jira] [Resolved] (JCR-3022) NPE on logout in XASessionImpl

     [ https://issues.apache.org/jira/browse/JCR-3022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Hall resolved JCR-3022.
----------------------------

    Resolution: Invalid

Looks like this is an issue with how we are creating a session and not handling the close correctly. No sense in keeping this open when the issue is not in JackRabbit itself. Thanks for your help.

> NPE on logout in XASessionImpl
> ------------------------------
>
>                 Key: JCR-3022
>                 URL: https://issues.apache.org/jira/browse/JCR-3022
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.1.1, 2.1.2, 2.1.3, 2.1.5, 2.2.7
>            Reporter: Carl Hall
>            Priority: Minor
>
> Found this in our logs when shutting down Sling. Not seen very frequently though. Seems like a null check before calling ((InternalXAVersionManager) versionMgr).close() would clear the message but maybe this null needs to be logged.
> v2.2 = org.apache.jackrabbit.core.XASessionImpl.logout(XASessionImpl.java:392)
> v2.1 = org.apache.jackrabbit.core.XASessionImpl.logout(XASessionImpl.java:413) 
> 08.06.2011 14:01:28.484 *WARN* [Finalizer] org.apache.jackrabbit.core.XASessionImpl error while closing InternalXAVersionManager java.lang.NullPointerException 
>         at org.apache.jackrabbit.core.XASessionImpl.logout(XASessionImpl.java:413) 
>         at org.apache.jackrabbit.core.SessionImpl.finalize(SessionImpl.java:1680) 
>         at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method) 
>         at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83) 
>         at java.lang.ref.Finalizer.access$100(Finalizer.java:14) 
>         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160) 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira