Skip to main content



      Home
Home » Modeling » EMF » [CDO]Error while prefetch lock state
[CDO]Error while prefetch lock state [message #1853140] Mon, 20 June 2022 03:26 Go to next message
Eclipse UserFriend
Hi,

I have some problems whit LockStateIndication.

My EMF model:
Model A , feature(EReference) ownedB , lower bound 0,upper bound 1 , containment = true.
Model B

I create a new B in Model A , than I commit.
Then I delete the B , and commit again.

LockStateIndication will have a NullPointerException.

The method prefetchLockStates(int depth, CDOID id)
Object value = revision.getValue(reference);
The value would be CDOIDNullImpl.

How to solve this problem.

Error details:
Caused by: java.lang.NullPointerException
at org.eclipse.emf.cdo.server.internal.net4j.protocol.LockStateIndication.prefetchLockStates(LockStateIndic
ation.java: 97)
at og.ecliose.emf.cdo.server.internal.net4j.protocol.lockStateIndication.prefetchLockStates(LockStateIndication.java:108)at ong.eclipse.emf.cdo.server.internal.net4j.protocol.LockStateIndication.prefetchLockStates(LockStateIndic
ation.java: 120)
at ong.eclipse.emf .cdo.server .internal.net4j.protocol.LockStateIndication.prefetchLockStates(LockStateIndi
ation.java : 120)
at ong.eclipse.emf .cdo.server .internal.net4j.protocol.LockStateIndication.prefetchLockStates(LockStateIndic
ation.java: 108)
at ong.eclipse.emf .cdo.server .internal.net4j.protocol.LockStateIndication.prefetchLockStates(LockStateIndi
ation.java: 120)
at org.eclipse.emf .cdo.server.internal.net4j.protocol.LockStateIndication.prefetchLockStates(LockStateIndic
ation.java: 120)
at ong.eclipse.emf.cdo.server.internal.net4j.protocol.LockStateIndication.prefetchLockStates(LockStateIndic
ation.java: 120)
at ong.eclipse.emf .cdo.server.internal.net4j. protocol.LockStateIndication.indicating(LockStateIndication.ja
va:82)
at org.eclipse.emf . cdo.server .internal.net4j.protoco1.cOOServerIndication.indicating(CDOServerIndication .ji
va : 107)
at org.eclipse.net4j.signal.IndicationMithResponse.doExtendedInput(IndicationwithResponse.java:100)
at org.eclipse.net4j.signal.signal.doInput(Signal.java: 391)
at ong.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationMithResponse.java:73)
at org.eclipse.emf. cdo.server. internal.net4j.protocol.CDOServerReadIndication.execute(CDOServerReadIndication.java:36)... 5 more




Re: [CDO]Error while prefetch lock state [message #1853143 is a reply to message #1853140] Mon, 20 June 2022 04:54 Go to previous message
Eclipse UserFriend
The stacktrace you've provided is not only badly chopped, it's also fully of typos, e.g., og.ecliose, lockStateIndication, protoco1.cOOServerIndication.
And the line numbers apparently don't match the current sources.

How did you create that stacktrace and what version of CDO are you using?
Are you sure that client and server uses CDO plugins from the same release?
Previous Topic:[CDO] conflict merge
Next Topic:[CDO] Duplicating a branch
Goto Forum:
  


Current Time: Tue Jul 01 04:04:12 EDT 2025

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

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

Back to the top