junit.framework.AssertionFailedError

timed out waiting for thread to terminate ------ stacktrace dump start ------ "Thread-7" daemon prio=5 Id=18 RUNNABLE at java.util.concurrent.locks.StampedLock.acquireWrite(java.base@9-ea/StampedLock.java:1176) at java.util.concurrent.locks.StampedLock.writeLock(java.base@9-ea/StampedLock.java:396)

Solutions on the web1354

  • via JDK Bug System by Calvin Cheung, 11 months ago
    timed out waiting for thread to terminate ------ stacktrace dump start ------ "Thread-7" daemon prio=5 Id=18 RUNNABLE at java.util.concurrent.locks.StampedLock.acquireWrite(java.base@9-ea/StampedLock.java:1176) at java.util.concurrent.locks.StampedLock.writeLock(java.base@9-ea/StampedLock.java:396)
  • via Google Groups by Dan Rollo, 1 week ago
    Timed out waiting for attached thread to be detached on exit and disposed: Thread[Thread to be cleaned up,5,main] alive: true daemon true
  • Timed out waiting for attached thread to be detached on exit and disposed: Thread[Thread to be cleaned up,5,main] alive: true daemon true
  • Stack trace

    • junit.framework.AssertionFailedError: timed out waiting for thread to terminate ------ stacktrace dump start ------ "Thread-7" daemon prio=5 Id=18 RUNNABLE at java.util.concurrent.locks.StampedLock.acquireWrite(java.base@9-ea/StampedLock.java:1176) at java.util.concurrent.locks.StampedLock.writeLock(java.base@9-ea/StampedLock.java:396) at StampedLockTest$8.realRun(StampedLockTest.java:441) at JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:1362)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.