java.lang.AssertionError

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.

  • Terracotta Server Crashes
    via by bvanberg,
  • java.lang.AssertionError: Assert Failed : ServerThreadContext@1883389[ServerThreadID{ClientID[0],ThreadID=[1]}](HELD-LOCKS={[]}, WAITING-ON={ LockID(@1003), Level: WRITE (2) Holders (1) Holder@12289561[ClientID[1],ThreadID=[-9223372036854775808],level=WRITE (2),timeout=120000] Wait Set (0) Pending lock requests (1) Request@190281[ClientID[0],ThreadID=[1],level=READ (1)] }) : old = LockID(@1003), Level: WRITE (2) Holders (1) Holder@12289561[ClientID[1],ThreadID=[-9223372036854775808],level=WRITE (2),timeout=120000] Wait Set (0) Pending lock requests (1) Request@190281[ClientID[0],ThreadID=[1],level=READ (1)] : new = LockID(@1003), Level: WRITE (2) Holders (1) Holder@12289561[ClientID[1],ThreadID=[-9223372036854775808],level=WRITE (2),timeout=120000] Wait Set (0) Pending lock requests (1) Request@190281[ClientID[0],ThreadID=[1],level=READ (1)] at com.tc.objectserver.lockmanager.impl.ServerThreadContext.setWaitingOn(ServerThreadContext.java:82) at com.tc.objectserver.lockmanager.impl.Lock.addPending(Lock.java:357) at com.tc.objectserver.lockmanager.impl.Lock.addPendingTryLockRequest(Lock.java:328) at com.tc.objectserver.lockmanager.impl.Lock.queueRequest(Lock.java:291) at com.tc.objectserver.lockmanager.impl.Lock.requestLock(Lock.java:252) at com.tc.objectserver.lockmanager.impl.Lock.tryRequestLock(Lock.java:201) at com.tc.objectserver.lockmanager.impl.LockManagerImpl.basicRequestLock(LockManagerImpl.java:196) at com.tc.objectserver.lockmanager.impl.LockManagerImpl.requestLock(LockManagerImpl.java:180) at com.tc.objectserver.lockmanager.impl.LockManagerImpl.tryRequestLock(LockManagerImpl.java:168) at com.tc.objectserver.handler.RequestLockUnLockHandler.handleEvent(RequestLockUnLockHandler.java:39) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:142) Attached is a repro case - download to local directory. $ javac Main.java $ start-tc-server.sh $ dso-java Main $ dso-java Main on second dso invocation, server will assert.
    via by Taylor Gautier,
  • java.lang.AssertionError: Assert Failed : ServerThreadContext@1883389[ServerThreadID{ClientID[0],ThreadID=[1]}](HELD-LOCKS={[]}, WAITING-ON={ LockID(@1003), Level: WRITE (2) Holders (1) Holder@12289561[ClientID[1],ThreadID=[-9223372036854775808],level=WRITE (2),timeout=120000] Wait Set (0) Pending lock requests (1) Request@190281[ClientID[0],ThreadID=[1],level=READ (1)] }) : old = LockID(@1003), Level: WRITE (2) Holders (1) Holder@12289561[ClientID[1],ThreadID=[-9223372036854775808],level=WRITE (2),timeout=120000] Wait Set (0) Pending lock requests (1) Request@190281[ClientID[0],ThreadID=[1],level=READ (1)] : new = LockID(@1003), Level: WRITE (2) Holders (1) Holder@12289561[ClientID[1],ThreadID=[-9223372036854775808],level=WRITE (2),timeout=120000] Wait Set (0) Pending lock requests (1) Request@190281[ClientID[0],ThreadID=[1],level=READ (1)] at com.tc.objectserver.lockmanager.impl.ServerThreadContext.setWaitingOn(ServerThreadContext.java:82) at com.tc.objectserver.lockmanager.impl.Lock.addPending(Lock.java:357) at com.tc.objectserver.lockmanager.impl.Lock.addPendingTryLockRequest(Lock.java:328) at com.tc.objectserver.lockmanager.impl.Lock.queueRequest(Lock.java:291) at com.tc.objectserver.lockmanager.impl.Lock.requestLock(Lock.java:252) at com.tc.objectserver.lockmanager.impl.Lock.tryRequestLock(Lock.java:201) at com.tc.objectserver.lockmanager.impl.LockManagerImpl.basicRequestLock(LockManagerImpl.java:196) at com.tc.objectserver.lockmanager.impl.LockManagerImpl.requestLock(LockManagerImpl.java:180) at com.tc.objectserver.lockmanager.impl.LockManagerImpl.tryRequestLock(LockManagerImpl.java:168) at com.tc.objectserver.handler.RequestLockUnLockHandler.handleEvent(RequestLockUnLockHandler.java:39) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:142) Attached is a repro case - download to local directory. $ javac Main.java $ start-tc-server.sh $ dso-java Main $ dso-java Main on second dso invocation, server will assert.
    via by Taylor Gautier,
    • java.lang.AssertionError: LockID(@1046), Level: READ (1)^M Holders (0)^M Wait Set (0)^M Pending lock requests (5)^M Request@16023954[ClientID[0],ThreadID=[55],level=WRITE (2)]^M Request@6736114[ClientID[1],ThreadID=[49],level=READ (1)]^M Request@1215270[ClientID[0],ThreadID=[30],level=READ (1)]^M Request@23957434[ClientID[0],ThreadID=[12],level=READ (1)]^M Request@32977775[ClientID[1],ThreadID=[5],level=WRITE (2)]^M : This lock is not held in this ServerThreadContext ! Locks Held = [] at com.tc.objectserver.lockmanager.impl.ServerThreadContext.removeLock(ServerThreadContext.java:71) at com.tc.objectserver.lockmanager.impl.Lock.removeCurrentHold(Lock.java:883) at com.tc.objectserver.lockmanager.impl.LockManagerImpl.basicUnlock(LockManagerImpl.java:368) at com.tc.objectserver.lockmanager.impl.LockManagerImpl.unlock(LockManagerImpl.java:249) at com.tc.objectserver.handler.RequestLockUnLockHandler.handleEvent(RequestLockUnLockHandler.java:44) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:142)
    No Bugmate found.