You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2017/12/20 12:08:00 UTC
[jira] [Commented] (SLING-7320) NPE in sling commons threads
[ https://issues.apache.org/jira/browse/SLING-7320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16298367#comment-16298367 ]
Konrad Windszus commented on SLING-7320:
----------------------------------------
This looks related to the NPE observerd in https://issues.apache.org/jira/browse/SLING-6261?focusedCommentId=16174537&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16174537.
> NPE in sling commons threads
> ----------------------------
>
> Key: SLING-7320
> URL: https://issues.apache.org/jira/browse/SLING-7320
> Project: Sling
> Issue Type: Bug
> Components: Commons
> Affects Versions: Commons Threads 3.2.10
> Environment: Linux, jdk18
> Reporter: Ivo Leitão
>
> I'm currently running a number of integration tests via pax exam and sometimes I see the following stacktrace. I've already seen this in a running sling also. This happens only in some runs but on that cases is breaking my CI workflow
> Exception in thread "sling-default-5" java.lang.NullPointerException
> at org.apache.sling.commons.threads.impl.ThreadLocalCleaner.copy(ThreadLocalCleaner.java:186)
> at org.apache.sling.commons.threads.impl.ThreadLocalCleaner.saveOldThreadLocals(ThreadLocalCleaner.java:176)
> at org.apache.sling.commons.threads.impl.ThreadLocalCleaner.<init>(ThreadLocalCleaner.java:51)
> at org.apache.sling.commons.threads.impl.ThreadPoolExecutorCleaningThreadLocals.beforeExecute(ThreadPoolExecutorCleaningThreadLocals.java:55)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)