felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-5024) "waiting to lock" message serializes "null" when there is no owner thread
Date Wed, 02 Sep 2015 08:23:46 GMT
Simone Tripodi created FELIX-5024:

             Summary: "waiting to lock" message serializes "null" when there is no owner thread
                 Key: FELIX-5024
                 URL: https://issues.apache.org/jira/browse/FELIX-5024
             Project: Felix
          Issue Type: Bug
          Components: Thread Dumper
    Affects Versions: threaddump-1.0.0
            Reporter: Simone Tripodi
             Fix For: threaddump-1.0.2

It happen that the {{waiting to lock}} message renders a _null_ string when there is no owner
thread, it must be removed

"mythread-323" prio=5 tid=0x143 nid=0xffffffff timed_waiting
   java.lang.Thread.State: TIMED_WAITING
        at sun.misc.Unsafe.park(Native Method)
        - waiting to lock <0x406249f1> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
owned by "null" tid=0x-1
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)
        at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:389)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:531)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.access$700(QueuedThreadPool.java:47)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:590)
        at java.lang.Thread.run(Thread.java:722)

This message was sent by Atlassian JIRA

View raw message