You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2013/07/17 09:04:51 UTC
[jira] [Updated] (SLING-2971) BackgroundLoader thread dies for
invalid paths
[ 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