Carsten Ziegeler created SLING-2702:
---------------------------------------
Summary: NPE as repository class loader might not have been
instantiated
Key: SLING-2702
URL: https://issues.apache.org/jira/browse/SLING-2702
Project: Sling
Issue Type: Bug
Components: JCR
Affects Versions: JCR Classloader 3.1.10
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: JCR Classloader 3.1.12
Some methods in the ClassLoaderWriterImpl like delete or close directly access
the instance variable repositoryClassLoader which might be still null as the
repository class loader might not have been needed before.
This results in NPEs in some cases
The methods should not directly access the instance variable but use the
getOrCreateClassLoader method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira