jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Hall (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3022) NPE on logout in XASessionImpl
Date Wed, 27 Jul 2011 14:01:10 GMT

    [ https://issues.apache.org/jira/browse/JCR-3022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071738#comment-13071738
] 

Carl Hall commented on JCR-3022:
--------------------------------

We don't have a nice/simple way of reproducing this. I'll be scouring our logs for the debug
message you mention. I suspect this is our issue and will report back as soon as I can.

> 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

        

Mime
View raw message