[
https://issues.apache.org/jira/browse/SLING-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-1579.
-------------------------------------
Resolution: Fixed
Fix Version/s: JCR Resource 2.1.0
Assignee: Carsten Ziegeler
This has been solved by SLING-1463
> MapEntries.dispose tries to access potentially unavailable repository during
> shutdown
> -------------------------------------------------------------------------------------
>
> Key: SLING-1579
> URL: https://issues.apache.org/jira/browse/SLING-1579
> Project: Sling
> Issue Type: Improvement
> Components: JCR
> Affects Versions: JCR Resource 2.0.6
> Reporter: Honwai Wong
> Assignee: Carsten Ziegeler
> Priority: Minor
> Fix For: JCR Resource 2.1.0
>
>
> During shutdown of the instance, the JcrResourceResolverFactoryImpl's
> deactivate() method is called to dispose of its internal mapping entries.
> This calls the MapEntries#dispose method which tries to remove itself as
> EventListener from the ObservationManager which fails: the used session has
> already been closed, I assume because the repository as such has already been
> stopped.
> The exceptions should rather be logged on a WARN level as this situation
> seems to be perfectly legal. An additional check via Session#isLive might
> also make sense.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira