[ https://issues.apache.org/jira/browse/SLING-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra updated SLING-2971: ----------------------------------- Attachment: SLING-2971.patch Simple patch to check for null resources > BackgroundLoader thread dies for invalid paths > ---------------------------------------------- > > Key: SLING-2971 > URL: https://issues.apache.org/jira/browse/SLING-2971 > Project: Sling > Issue Type: Bug > Components: Extensions > Affects Versions: Extensions Event 3.1.4 > Reporter: Chetan Mehrotra > Priority: Minor > Attachments: SLING-2971.patch > > > BackgroundLoader thread which is used by JobManager to load and process job > asynchronously dies if any submitted job path is found to be invalid. > --- > 14.07.2013 11:14:22.599 *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.BackgroundLoader.run(BackgroundLoader.java:219) > at java.lang.Thread.run(Thread.java:662) > --- > It might not happen in actual scenario always but it would be better if the > while loop does not end for such cases -- 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