Getting exception while executing the Query


I have facing a problem when i am executing the query first time, Please find the stack trace below

at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(
at java.util.concurrent.Semaphore.acquire(
at com.objectdb.o.WSM.U5(
at com.objectdb.o.QRR.g(
at com.objectdb.o.QRR.b(
at com.objectdb.jdo.JdoQuery.execute0(
at com.objectdb.jdo.JdoQuery.execute(

I am using the following code to execute the same

Query query = pm.newQuery(logQuery.getQueryClass(), "");


Collection collection = (Collection)query.execute();

query.execute() is throwing the exception Any idea what might cause this exception to be thrown.

We have release so please try to reply asap.





Object DB Bundle-Version: 2.4.3.b06


The cause of this exception is unclear.

Maybe you should try version 2.4.6, since many bugs have been fixed since build 2.4.3_06.

You can also try changing the value of max-threads in the configuration to 0, in order to avoid using semaphores (since the exception is related to using semaphores).

ObjectDB Support