I am writing an application to update Frontbase from FileMaker.
<er.ajax.AjaxRequestHandler>: Exception occurred while handling request:
java.lang.IllegalStateException: Illegal Lock usage: unlocking thread not owner.
[2008-02-04 19:25:12 CET] <WorkerThread0> java.lang.IllegalStateException: Illegal Lock usage: unlocking thread not owner.
at com.webobjects.foundation.NSRecursiveLock.unlock(NSRecursiveLock.java:207)
at com.webobjects.eocontrol.EOEditingContext.unlock(EOEditingContext.java:4720)
at er.extensions.ERXEC.unlock(ERXEC.java:455)
at com.webobjects.appserver.WOSession._sleepInContext(WOSession.java:736)
at com.webobjects.appserver.WOApplication.saveSessionForContext(WOApplication.java:1514)
at er.extensions.ERXApplication.saveSessionForContext(ERXApplication.java:1665)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:329)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:358)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:435)
at er.ajax.AjaxRequestHandler.handleRequest(AjaxRequestHandler.java:17)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
at er.extensions.ERXApplication.dispatchRequest(ERXApplication.java:1398)
at Application.dispatchRequest(Application.java:56)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:613)
Is there a way to avoid this? Or am I impplementing this wrong?
I can see also next error):
Another Exception occurred while trying to clean the application:
java.lang.IllegalStateException: Illegal Lock usage: unlocking thread not owner.
[2008-02-04 19:25:12 CET] <WorkerThread0> java.lang.IllegalStateException: Illegal Lock usage: unlocking thread not owner.
at com.webobjects.foundation.NSRecursiveLock.unlock(NSRecursiveLock.java:207)
at com.webobjects.eocontrol.EOEditingContext.unlock(EOEditingContext.java:4720)
at er.extensions.ERXEC.unlock(ERXEC.java:455)
at com.webobjects.appserver.WOSession._sleepInContext(WOSession.java:736)
at com.webobjects.appserver.WOApplication.saveSessionForContext(WOApplication.java:1514)
at er.extensions.ERXApplication.saveSessionForContext(ERXApplication.java:1665)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:385)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:435)
at er.ajax.AjaxRequestHandler.handleRequest(AjaxRequestHandler.java:17)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
at er.extensions.ERXApplication.dispatchRequest(ERXApplication.java:1398)
at Application.dispatchRequest(Application.java:56)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:613)
Thanks for helping,
Frank Stock