Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO/Net4J] InterruptedException during a lock
[CDO/Net4J] InterruptedException during a lock [message #1781522] Thu, 08 February 2018 08:14 Go to next message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 252
Registered: July 2009
Senior Member

In our application based on CDO 4.4, we have sometimes an InterruptedException during the lock of an object. We have not steps to reproduce. Have you some idea of what can cause this exception to help us to find a reliable steps to reproduce and finally fix the problem?

org.eclipse.net4j.util.WrappedException: java.lang.InterruptedException
at org.eclipse.net4j.util.WrappedException.wrap(
at org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(
at org.eclipse.net4j.signal.SignalProtocol$
at Source)
at org.eclipse.emf.cdo.internal.net4j.protocol.LockObjectsRequest.confirming(
at org.eclipse.emf.cdo.internal.net4j.protocol.LockObjectsRequest.confirming(
at org.eclipse.emf.cdo.internal.net4j.protocol.CDOClientRequest.confirming(
at org.eclipse.net4j.signal.RequestWithConfirmation.doExtendedInput(
at org.eclipse.net4j.signal.Signal.doInput(
at org.eclipse.net4j.signal.RequestWithConfirmation.doExecute(
at org.eclipse.net4j.signal.SignalActor.execute(
at org.eclipse.net4j.signal.Signal.runSync(
at org.eclipse.net4j.signal.SignalProtocol.startSignal(
at org.eclipse.net4j.signal.RequestWithConfirmation.doSend(
at org.eclipse.net4j.signal.RequestWithConfirmation.send(
at org.eclipse.emf.cdo.internal.net4j.protocol.CDOClientProtocol.lockObjects2(
at org.eclipse.emf.internal.cdo.session.DelegatingSessionProtocol.lockObjects2(
at org.eclipse.emf.internal.cdo.view.CDOViewImpl.lockObjects(
at org.eclipse.emf.internal.cdo.view.CDOViewImpl.lockObjects(
Caused by: java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(Unknown Source)
at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.poll(Unknown Source)
at org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(
... 98 more



Laurent Redor - Obeo

Need training or professional services for Sirius?
Re: [CDO/Net4J] InterruptedException during a lock [message #1781545 is a reply to message #1781522] Thu, 08 February 2018 11:13 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6464
Registered: July 2009
Senior Member
There's nothing that immediately rings a bell. I haven't heard of such a problem before. Something seems to interrupt your threads, but I know too little about your application to guess what that could be. You could try to set a breakpoint in Thread.interrupt() and see if that gives some clue. From a CDO/Net4j point of view I can only recommend to update to a newer version and see if the problem vanishes. But I have my doubts that CDO causes the interrupt, but there are two places where that method is called:


You could set breakpoints there, too.

Previous Topic:Build EMF project
Next Topic:Mint tool, where can I find it?
Goto Forum:

Current Time: Sun Jan 19 04:04:27 GMT 2020

Powered by FUDForum. Page generated in 0.02118 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top