Carsten Ziegeler created SLING-2878:
---------------------------------------

             Summary: NPE in JobConsumerManager
                 Key: SLING-2878
                 URL: https://issues.apache.org/jira/browse/SLING-2878
             Project: Sling
          Issue Type: Bug
          Components: Extensions
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Extensions Event 3.2.0


If a job consumer is bound to the manager before the manager is activate this 
leads to a null pointer exception later on, when the consumer is tried to be 
get:
22.05.2013 16:37:41.147 ERROR [Apache Sling Job Background Loader] 
org.apache.sling.extensions.threaddump.internal.Activator Uncaught exception in 
Thread Thread[Apache Sling Job Background Loader,5,main] 
java.lang.NullPointerException
at 
org.apache.sling.event.impl.jobs.JobConsumerManager$ConsumerInfo.getConsumer(JobConsumerManager.java:357)
at 
org.apache.sling.event.impl.jobs.JobConsumerManager.getConsumer(JobConsumerManager.java:172)
at 
org.apache.sling.event.impl.jobs.JobManagerImpl.process(JobManagerImpl.java:283)
at 
org.apache.sling.event.impl.jobs.BackgroundLoader.run(BackgroundLoader.java:228)
at java.lang.Thread.run(Unknown Source)

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

Reply via email to