Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO]Error while prefetch lock state
[CDO]Error while prefetch lock state [message #1853140] Mon, 20 June 2022 07:26 Go to next message
fang li is currently offline fang liFriend
Messages: 5
Registered: April 2022
Junior Member
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 08:54 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
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: Thu May 02 02:12:28 GMT 2024

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

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

Back to the top