[CDO] NPE on commit [message #886406] |
Thu, 14 June 2012 17:38  |
Eclipse User |
|
|
|
Hello,
Until now I can't locate the problem (and minimize the context).
I have upgraded from CDO 4.0 to 4.1.
Sometimes (reproducable) I get this stacktrace
Caused by: org.eclipse.net4j.signal.RemoteException: java.lang.NullPointerException
at org.eclipse.net4j.signal.RequestWithConfirmation.getRemoteException(RequestWithConfirmation.java:139)
at org.eclipse.net4j.signal.RequestWithConfirmation.setRemoteException(RequestWithConfirmation.java:128)
at org.eclipse.net4j.signal.SignalProtocol.handleRemoteException(SignalProtocol.java:460)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicating(RemoteExceptionIndication.java:63)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indication.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
at org.eclipse.net4j.signal.Indication.execute(Indication.java:49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
... 1 more
Caused by: java.lang.NullPointerException
at org.eclipse.emf.cdo.internal.common.protocol.CDODataOutputImpl.writeCDOBranch(CDODataOutputImpl.java:139)
at org.eclipse.emf.cdo.internal.common.protocol.CDODataOutputImpl.writeCDOIDAndBranch(CDODataOutputImpl.java:378)
at org.eclipse.emf.cdo.internal.common.protocol.CDODataOutputImpl.writeCDOLockState(CDODataOutputImpl.java:287)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.respondingNewLockStates(CommitTransactionIndication.java:343)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.responding(CommitTransactionIndication.java:277)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.responding(CDOServerIndicationWithMonitoring.java:170)
at org.eclipse.net4j.signal.IndicationWithMonitoring.responding(IndicationWithMonitoring.java:90)
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOutput(IndicationWithResponse.java:96)
at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:296)
at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:65)
at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
... 5 more
I am using H2. Audit and Branching is OFF. EMF Runtime Version 2.6.
- In this example I only modify 3 Objects
- Only references are set (no containment)
- Some references are added to a list (no containment)
Perhaps somebody has a hint why there is a NPE in "org.eclipse.emf.cdo.internal.common.protocol.CDODataOutputImpl.writeCDOBranch"?
(I'm continuing to produce a simple context for my problem)
Regards,
Per Sterner
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.49953 seconds