[ https://issues.apache.org/jira/browse/JCR-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Guggisberg resolved JCR-3023. ------------------------------------ Resolution: Duplicate this is essentially a duplicate of JCR-3022 > NPE on logout in SessionImpl > ---------------------------- > > Key: JCR-3023 > URL: https://issues.apache.org/jira/browse/JCR-3023 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core > Affects Versions: 2.1.1, 2.1.2, 2.1.3, 2.1.5 > Reporter: Carl Hall > > Got this on Sling shutdown. Looks like it just needs a null check before > calling close. > 08.06.2011 14:01:28.484 *WARN* [Finalizer] > org.apache.jackrabbit.core.SessionImpl error while closing AccessManager > java.lang.NullPointerException > at > org.apache.jackrabbit.core.SessionImpl.logout(SessionImpl.java:1252) > at > org.apache.jackrabbit.core.XASessionImpl.logout(XASessionImpl.java:410) > 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