java.lang.IllegalMonitorStateException: current thread not owner
843836Apr 16 2004 — edited Apr 17 2004I am trying the demo application from Jakarta.Commons.FileUpload package.
But I did not get very far from the demo, 'cause I get following error. Can anyone help me to figure out what is the error, and how can I avoid it.
-------------------------------------------------------------------------------------------------------------------
java.lang.IllegalMonitorStateException: current thread not owner
at org.apache.commons.fileupload.DefaultFileItem.getTempFile(DefaultFileItem.java:617)
at org.apache.commons.fileupload.DefaultFileItem.getOutputStream(DefaultFileItem.java:557)
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java, Compiled Code)
at test.HogeSrv.doPost(HogeSrv.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:83)
at com.caucho.server.http.Invocation.service(Invocation.java, Compiled Code)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:121)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:238)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java, Compiled Code)
at com.caucho.server.TcpConnection.run(TcpConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java:479)