I have facing a problem when i am executing the query first time, Please find the stack trace below
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1301)
at java.util.concurrent.Semaphore.acquire(Semaphore.java:317)
at com.objectdb.o.WSM.U5(WSM.java:110)
at com.objectdb.o.QRR.g(QRR.java:240)
at com.objectdb.o.QRR.b(QRR.java:151)
at com.objectdb.jdo.JdoQuery.execute0(JdoQuery.java:811)
at com.objectdb.jdo.JdoQuery.execute(JdoQuery.java:720)
I am using the following code to execute the same
Query query = pm.newQuery(logQuery.getQueryClass(), "");
query.setOrdering(logQuery.getOrderString());
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.