Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java.lang.illegalmonitorstateexception: object not locked by thread before wait()

// Sounds like synchronized is not being used in the code.
// Please see the following articles for related examples:
// https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalMonitorStateException.html
// https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html
 
PREVIOUS NEXT
Tagged: #object #locked #thread
ADD COMMENT
Topic
Name
8+4 =