Chetan Mehrotra created SLING-2573:
--------------------------------------

             Summary: JcrResourceListener activation is failing with NPE
                 Key: SLING-2573
                 URL: https://issues.apache.org/jira/browse/SLING-2573
             Project: Sling
          Issue Type: Bug
          Components: JCR
            Reporter: Chetan Mehrotra


The activate method of JcrResourceListener of org.apache.sling.jcr.resource is 
failing with NPE for 2.1.1.SNAPSHOT

22.08.2012 22:19:27.919 *ERROR* [FelixStartLevel] org.apache.sling.jcr.resource 
[org.apache.sling.jcr.resource.internal.JcrResourceListener] The activate 
method has thrown an exception (java.lang.NullPointerException) 
java.lang.NullPointerException
        at 
org.apache.sling.jcr.resource.internal.JcrResourceListener.activate(JcrResourceListener.java:133)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:227)
        at 
org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
        at 
org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:591)
        at 
org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:472)
        at 
org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:146)
        at 
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226)
        at 
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
        at 
org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:997)
        at 
org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInterna

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

        

Reply via email to