Krystian Nowak created SLING-7526:
-------------------------------------

             Summary: NPE in 
DefaultThreadPool$LoggingThreadLocalChangeListener.changed
                 Key: SLING-7526
                 URL: https://issues.apache.org/jira/browse/SLING-7526
             Project: Sling
          Issue Type: Bug
          Components: Commons
    Affects Versions: Commons Threads 3.2.16
         Environment: MacOS, jdk18
            Reporter: Krystian Nowak


Randomly a NullPointerException is happening in 
_DefaultThreadPool$LoggingThreadLocalChangeListener.changed_:
{noformat}
Exception in thread "sling-oak-1" java.lang.NullPointerException
        at 
org.apache.sling.commons.threads.impl.DefaultThreadPool$LoggingThreadLocalChangeListener.changed(DefaultThreadPool.java:172)
        at 
org.apache.sling.commons.threads.impl.ThreadLocalCleaner.changed(ThreadLocalCleaner.java:210)
        at 
org.apache.sling.commons.threads.impl.ThreadLocalCleaner.diff(ThreadLocalCleaner.java:173)
        at 
org.apache.sling.commons.threads.impl.ThreadLocalCleaner.cleanup(ThreadLocalCleaner.java:148)
        at 
org.apache.sling.commons.threads.impl.ThreadPoolExecutorCleaningThreadLocals.afterExecute(ThreadPoolExecutorCleaningThreadLocals.java:75)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to