java.lang.RuntimeException: Could not serialize EObject via backtracking. Constraint: Type_SarlAgent returns SarlAgent: (annotationInfo=Type_SarlAgent_2_2_0 modifiers+=CommonModifier* name=ValidID extends=JvmParameterizedTypeReference? members+=AOPMember*); Values: name(1) Semantic Object: SarlScript.xtendTypes[0]->SarlAgent'MyAgent' URI: platform:/resource/test/src/main/sarl/io/sarl/tests/runtime/MyAgent.sarl Context: Type returns SarlAgent

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • [serializer] don't loose causing exception
    via by moritz.eysholdt,
    • java.lang.RuntimeException: Could not serialize EObject via backtracking. Constraint: Type_SarlAgent returns SarlAgent: (annotationInfo=Type_SarlAgent_2_2_0 modifiers+=CommonModifier* name=ValidID extends=JvmParameterizedTypeReference? members+=AOPMember*); Values: name(1) Semantic Object: SarlScript.xtendTypes[0]->SarlAgent'MyAgent' URI: platform:/resource/test/src/main/sarl/io/sarl/tests/runtime/MyAgent.sarl Context: Type returns SarlAgent at org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic$ExceptionThrowingAcceptor.accept(ISerializationDiagnostic.java:131) at org.eclipse.xtext.serializer.sequencer.BacktrackingSemanticSequencer.createSequence(BacktrackingSemanticSequencer.java:480) at io.sarl.lang.serializer.SARLSemanticSequencer.sequence_Type(SARLSemanticSequencer.java:1399) at io.sarl.lang.serializer.SARLSemanticSequencer.sequence(SARLSemanticSequencer.java:147) at org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer.createSequence(AbstractSemanticSequencer.java:67) at org.eclipse.xtext.serializer.acceptor.SequenceFeeder.acceptEObjectRuleCall(SequenceFeeder.java:325) at org.eclipse.xtext.serializer.acceptor.SequenceFeeder.acceptRuleCall(SequenceFeeder.java:352) at org.eclipse.xtext.serializer.acceptor.SequenceFeeder.accept(SequenceFeeder.java:263) at org.eclipse.xtext.serializer.sequencer.BacktrackingSemanticSequencer.accept(BacktrackingSemanticSequencer.java:412) at org.eclipse.xtext.serializer.sequencer.BacktrackingSemanticSequencer.createSequence(BacktrackingSemanticSequencer.java:478) at io.sarl.lang.serializer.SARLSemanticSequencer.sequence_SarlScript(SARLSemanticSequencer.java:1375) at io.sarl.lang.serializer.SARLSemanticSequencer.sequence(SARLSemanticSequencer.java:278) at org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer.createSequence(AbstractSemanticSequencer.java:67) at org.eclipse.xtext.serializer.impl.Serializer.serialize(Serializer.java:118) at org.eclipse.xtext.serializer.impl.Serializer.serializeToRegions(Serializer.java:150) at org.eclipse.xtext.serializer.impl.Serializer.serialize(Serializer.java:156) at org.eclipse.xtext.serializer.impl.Serializer.serialize(Serializer.java:203) at org.eclipse.xtext.resource.XtextResource.doSave(XtextResource.java:369) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:1430) at io.sarl.eclipse.wizards.elements.AbstractNewSarlElementWizardPage.createSARLType(AbstractNewSarlElementWizardPage.java:667) at io.sarl.eclipse.wizards.elements.AbstractNewSarlElementWizardPage$1.execute(AbstractNewSarlElementWizardPage.java:602) at org.eclipse.ui.actions.WorkspaceModifyOperation.lambda$0(WorkspaceModifyOperation.java:107) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:128) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

    Users with the same issue

    Unknown visitor2 times, last one,