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] [Created] (JCR-3022) NPE on logout in XASessionImpl
Date Thu, 14 Jul 2011 03:39:59 GMT
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.2.7, 2.1.5, 2.1.3, 2.1.2, 2.1.1
            Reporter: Carl Hall

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 being 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


View raw message