java.lang.IllegalMonitorStateException: null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.IllegalMonitorStateException: null
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:151)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1261)
at org.axonframework.common.lock.PessimisticLockFactory$DisposableLock.release(PessimisticLockFactory.java:122)
at org.axonframework.commandhandling.model.LockingRepository.lambda$doLoad$3(LockingRepository.java:140)
at org.axonframework.messaging.unitofwork.MessageProcessingContext.notifyHandlers(MessageProcessingContext.java:68)
at org.axonframework.commandhandling.disruptor.DisruptorUnitOfWork.notifyHandlers(DisruptorUnitOfWork.java:89)
at org.axonframework.messaging.unitofwork.AbstractUnitOfWork.changePhase(AbstractUnitOfWork.java:214)
at org.axonframework.messaging.unitofwork.AbstractUnitOfWork.commitAsRoot(AbstractUnitOfWork.java:93)
at org.axonframework.messaging.unitofwork.AbstractUnitOfWork.commit(AbstractUnitOfWork.java:71)
at org.axonframework.commandhandling.disruptor.EventPublisher.performCommit(EventPublisher.java:146)
at org.axonframework.commandhandling.disruptor.EventPublisher.processPublication(EventPublisher.java:109)
at org.axonframework.commandhandling.disruptor.EventPublisher.onEvent(EventPublisher.java:78)
at org.axonframework.commandhandling.disruptor.EventPublisher.onEvent(EventPublisher.java:40)
at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:129)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

3 times, 9 months ago
196 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.