java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Executing this multiple times occasionally shows 2 non daemon threads that are not letting application die. Those threads go away generally with in a minute. Those 2 threads are shown below. Is there a reason for them to be non daemon? public static void main(String[] args) throws IOException { CassandraCluster cluster = CassandraCluster.builder(). withContactPointsLocator(localContactPointsLocator). withClusterName(clusterName). withDataCenter(datacenter). withApplication(clusterName). build(); Session session = cluster.connect(); session.close(); cluster.close(); System.out.println("Main thread finished!"); } "Cassandra Java Driver blocking tasks worker-1" prio=5 tid=7fb6a10b9800 nid=0x115e8f000 waiting on condition [115e8e000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <7f4532b90> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:196) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2025) at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:424) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:955) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:917) at java.lang.Thread.run(Thread.java:695) Locked ownable synchronizers: - None "Cassandra Java Driver blocking tasks worker-0" prio=5 tid=7fb6a10b9000 nid=0x115d8c000 waiting on condition [115d8b000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <7f4532b90> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:196) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2025) at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:424) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:955) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:917) at java.lang.Thread.run(Thread.java:695) Locked ownable synchronizers: - None
    via by Vishy Kasar,
  • CPU Loading High - Lock find in elastic search
    via by Unknown author,
  • play server hung
    via by Unknown author,
  • Bug#842233: eclipse subversive pluging issue
    via by Arturo Borrero Gonzalez,
  • Thread-Dump produces: 2011-04-18 19:49:27 Full thread dump Java HotSpot(TM) 64-Bit Server VM (19.1-b02-334 mixed mode): "RMI TCP Connection(3)-192.168.1.89" daemon prio=9 tid=101a46800 nid=0x10a5f1000 runnable [10a5f0000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) - locked <7eae2b9d8> (a java.io.BufferedInputStream) at java.io.FilterInputStream.read(FilterInputStream.java:66) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:517) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Locked ownable synchronizers: - <7eae007d0> (a java.util.concurrent.locks.ReentrantLock$NonfairSync) "RMI TCP Connection(2)-192.168.1.89" daemon prio=9 tid=101957000 nid=0x10a4ee000 runnable [10a4ed000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) - locked <7ec0b20d8> (a java.io.BufferedInputStream) at java.io.FilterInputStream.read(FilterInputStream.java:66) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:517) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Locked ownable synchronizers: - <7ec0b2320> (a java.util.concurrent.locks.ReentrantLock$NonfairSync) "JMX server connection timeout 31" daemon prio=9 tid=101a40800 nid=0x10b5a6000 in Object.wait() [10b5a5000] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <7ec0b2ac8> (a [I) at com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.run(ServerCommunicatorAdmin.java:150) - locked <7ec0b2ac8> (a [I) at java.lang.Thread.run(Thread.java:680) Locked ownable synchronizers: - None "RMI Scheduler(0)" daemon prio=9 tid=101a3d800 nid=0x10b47b000 waiting on condition [10b47a000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <7ec0cef50> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2025) at java.util.concurrent.DelayQueue.take(DelayQueue.java:164) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:609) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:602) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:680) Locked ownable synchronizers: - None "RMI TCP Connection(1)-192.168.1.89" daemon prio=9 tid=10195c000 nid=0x10afe7000 runnable [10afe6000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) - locked <7ec0d3b78> (a java.io.BufferedInputStream) at java.io.FilterInputStream.read(FilterInputStream.java:66) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:517) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Locked ownable synchronizers: - <7ec0b2a78> (a java.util.concurrent.locks.ReentrantLock$NonfairSync) "RMI TCP Accept-0" daemon prio=9 tid=101a32800 nid=0x10ad78000 runnable [10ad77000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408) - locked <7ec0d62d0> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:462) at java.net.ServerSocket.accept(ServerSocket.java:430) at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:34) at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369) at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341) at java.lang.Thread.run(Thread.java:680) Locked ownable synchronizers: - None "Attach Listener" daemon prio=9 tid=101a1d800 nid=0x10a3eb000 waiting on condition [00000000] java.lang.Thread.State: RUNNABLE Locked ownable synchronizers: - None "org.apache.commons.vfs.cache.SoftRefFilesCache$SoftRefReleaseThread" daemon prio=5 tid=10198b000 nid=0x10ac75000 in Object.wait() [10ac74000] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <7ed69d378> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118) - locked <7ed69d378> (a java.lang.ref.ReferenceQueue$Lock) at org.apache.commons.vfs.cache.SoftRefFilesCache$SoftRefReleaseThread.run(SoftRefFilesCache.java:79) Locked ownable synchronizers: - None "AWT-AppKit" daemon prio=5 tid=10199e800 nid=0x7fff70771700 runnable [00000000] java.lang.Thread.State: RUNNABLE Locked ownable synchronizers: - None "Timer-0" daemon prio=5 tid=101968800 nid=0x10a21f000 in Object.wait() [10a21e000] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <7ed69d300> (a java.util.TaskQueue) at java.util.TimerThread.mainLoop(Timer.java:509) - locked <7ed69d300> (a java.util.TaskQueue) at java.util.TimerThread.run(Timer.java:462) Locked ownable synchronizers: - None "Low Memory Detector" daemon prio=5 tid=101852800 nid=0x108dcb000 runnable [00000000] java.lang.Thread.State: RUNNABLE Locked ownable synchronizers: - None "CompilerThread1" daemon prio=9 tid=101850800 nid=0x108cc8000 waiting on condition [00000000] java.lang.Thread.State: RUNNABLE Locked ownable synchronizers: - None "CompilerThread0" daemon prio=9 tid=10184f800 nid=0x108bc5000 waiting on condition [00000000] java.lang.Thread.State: RUNNABLE Locked ownable synchronizers: - None "Signal Dispatcher" daemon prio=9 tid=10184e000 nid=0x108ac2000 runnable [00000000] java.lang.Thread.State: RUNNABLE Locked ownable synchronizers: - None "Surrogate Locker Thread (CMS)" daemon prio=5 tid=10184d000 nid=0x1089bf000 waiting on condition [00000000] java.lang.Thread.State: RUNNABLE Locked ownable synchronizers: - None "Finalizer" daemon prio=8 tid=101834000 nid=0x1088a5000 in Object.wait() [1088a4000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <7ece000d8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118) - locked <7ece000d8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) Locked ownable synchronizers: - None "Reference Handler" daemon prio=10 tid=101832800 nid=0x10879c000 in Object.wait() [10879b000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <7ece01690> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:485) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) - locked <7ece01690> (a java.lang.ref.Reference$Lock) Locked ownable synchronizers: - None "main" prio=5 tid=101802000 nid=0x100501000 waiting on condition [1004ff000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <7ec0d6830> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2025) at java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:342) at org.pentaho.di.trans.Trans.waitUntilFinished(Trans.java:1088) at org.pentaho.reporting.engine.classic.extensions.datasources.kettle.AbstractKettleTransformationProducer.performQuery(AbstractKettleTransformationProducer.java:352) at org.pentaho.reporting.engine.classic.extensions.datasources.kettle.KettleDataFactory.queryData(KettleDataFactory.java:134) at org.pentaho.reporting.engine.classic.core.testsupport.DataSourceTestBase.performQueryTest(DataSourceTestBase.java:230) at org.pentaho.reporting.engine.classic.core.testsupport.DataSourceTestBase.runSerialize(DataSourceTestBase.java:91) at org.pentaho.reporting.engine.classic.extensions.datasources.kettle.KettleDataFactoryTest.testSerialize(KettleDataFactoryTest.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906) Locked ownable synchronizers: - None "VM Thread" prio=9 tid=10182e000 nid=0x108699000 runnable "Gang worker#0 (Parallel GC Threads)" prio=9 tid=101804800 nid=0x1007c7000 runnable "Gang worker#1 (Parallel GC Threads)" prio=9 tid=101806000 nid=0x1017cc000 runnable "Concurrent Mark-Sweep GC Thread" prio=9 tid=101808000 nid=0x108314000 runnable "VM Periodic Task Thread" prio=10 tid=101856000 nid=0x108ee6000 waiting on condition "Exception Catcher Thread" prio=10 tid=101803000 nid=0x100604000 runnable JNI global references: 1002
    via by Thomas Morgner,
  • Zap daemon blocked during a scan
    via by Albert,
  • Very long (perhaps endless?) compilation
    via by Unknown author,
    • java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:196) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2025) at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:424) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:955) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:917) at java.lang.Thread.run(Thread.java:695)
    No Bugmate found.