You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2013/02/14 18:10:13 UTC

[jira] [Resolved] (SLING-2732) NPE when getting new repository class loader

     [ https://issues.apache.org/jira/browse/SLING-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-2732.
-------------------------------------

    Resolution: Fixed

There were some copy paste errors in the code, I'Ve cleaned them up
                
> NPE when getting new repository class loader
> --------------------------------------------
>
>                 Key: SLING-2732
>                 URL: https://issues.apache.org/jira/browse/SLING-2732
>             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
>
>
> An NPE can occur during getting a new classloader:
> Caused by: java.lang.NullPointerException: Specified service reference cannot be null.
> 	at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:458)
> 	at org.apache.sling.jcr.classloader.internal.ClassLoaderWriterImpl.getOrCreateClassLoader(ClassLoaderWriterImpl.java:216)

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