|
|
|
|
Re: Could not serialize EObject via backtracking. [message #721609 is a reply to message #721566] |
Fri, 02 September 2011 09:31 |
Moritz Eysholdt Messages: 161 Registered: July 2009 Location: Kiel, Germany |
Senior Member |
|
|
hi Steven,
could you check if "obj.getValueCount(state.getFeatureID())" has
returned 0 in the scenario that you have described below?
If that is true, the serializer assumes that no values for "module" are
available because the TransientValueService has marked the EReference as
transient in
org.eclipse.xtext.serializer.sequencer.BacktrackingSemanticSequencer.SerializableObject.SerializableObject(EObject,
INodesForEObjectProvider)
regards,
Moritz
On 02.09.11 08:35, steven reinisch wrote:
> hi moritz,
>
> I checked the debugger and TraceItem.cloneAndConsume(ISemState) returns
> null for the crossreference to a Module instance:
>
>
> public TraceItem cloneAndConsume(ISemState state) {
> int index = nextIndex[state.getFeatureID()];
> if (index >= obj.getValueCount(state.getFeatureID()))
> return null;//program exists at this branch
>
> ..
> }
>
>
> So, how can I fix this issue?
>
> thx,
>
> steven
|
|
|
|
Powered by
FUDForum. Page generated in 0.03618 seconds