Bug 420068 - [UMLTextEditors] Editing StateMachine transition using xtext embedded editor results in "internal error occurred during: "XtextReconcilerJob"."
Summary: [UMLTextEditors] Editing StateMachine transition using xtext embedded editor ...
Status: UNCONFIRMED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Others (show other bugs)
Version: 0.10.1   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-22 08:47 EDT by Klaas Gadeyne CLA
Modified: 2018-09-21 07:19 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaas Gadeyne CLA 2013-10-22 08:47:26 EDT
Steps to reproduce:
- Create a UML model with Statemachine diagram
- Create 2 states and a transition between them
- The xtext editor pops up, but an exception is raised immediately

An internal error occurred during: "XtextReconcilerJob".

java.lang.NullPointerException
	at org.eclipse.xtext.util.EmfStructureComparator.internalIsSameStructure(EmfStructureComparator.java:50)
	at org.eclipse.xtext.util.EmfStructureComparator.isSameStructure(EmfStructureComparator.java:45)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconcilerDebugger.assertResouceParsedCorrectly(XtextReconcilerDebugger.java:84)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.doRun(XtextReconciler.java:367)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.access$2(XtextReconciler.java:350)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$1.process(XtextReconciler.java:294)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$1.process(XtextReconciler.java:1)
	at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:36)
	at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.modify(AbstractReadWriteAcces.java:81)
	at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.modify(XtextDocument.java:219)
	at org.eclipse.xtext.ui.editor.model.XtextDocument.internalModify(XtextDocument.java:103)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(XtextReconciler.java:291)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)


Version:
Kepler SR1, papyrus kepler nightly build.
  Papyrus UML (Incubation)	0.10.1.v201310220453	org.eclipse.papyrus.sdk.feature.feature.group	Eclipse Modeling Project
Comment 1 Camille Letavernier CLA 2013-11-21 11:37:35 EST
I cannot reproduce the issue on the current nightly build.

Do you have a more detailed error log?
Comment 2 Klaas Gadeyne CLA 2013-11-21 15:47:13 EST
(In reply to Camille Letavernier from comment #1)
> I cannot reproduce the issue on the current nightly build.

I can (kepler nightly build, that is)…

> Do you have a more detailed error log?

No, there's nothing else in the log file :-(
Version of my xtext plugins 2.4.3v201309030823 and Guava 11.0.2v201303041515 (if that would be useful)
Comment 3 Clement Foucher CLA 2013-12-13 05:43:13 EST
Same error here with version 4.3.0.5fc19.

Error shown in error log is the following:

eclipse.buildId=4.3.0.5fc19
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
Command-line arguments:  -os linux -ws gtk -arch x86_64

Erreur
Fri Dec 13 11:42:25 CET 2013
Une erreur interne s'est produite pendant : "XtextReconcilerJob".

java.lang.NullPointerException
	at org.eclipse.xtext.util.EmfStructureComparator.internalIsSameStructure(EmfStructureComparator.java:50)
	at org.eclipse.xtext.util.EmfStructureComparator.isSameStructure(EmfStructureComparator.java:45)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconcilerDebugger.assertResouceParsedCorrectly(XtextReconcilerDebugger.java:84)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.doRun(XtextReconciler.java:367)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.access$2(XtextReconciler.java:350)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$1.process(XtextReconciler.java:294)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$1.process(XtextReconciler.java:1)
	at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:36)
	at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.modify(AbstractReadWriteAcces.java:81)
	at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.modify(XtextDocument.java:219)
	at org.eclipse.xtext.ui.editor.model.XtextDocument.internalModify(XtextDocument.java:103)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(XtextReconciler.java:291)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Comment 4 Clement Foucher CLA 2013-12-13 07:28:00 EST
Note that the exact same error occurs when first naming a state (or renaming it using F2), when we clear the whole text in box (see error below). This makes me think the error is not linked to transition, but to empty textboxes, as the transition textbox is empty at creation, unlike states.


java.lang.NullPointerException
	at org.eclipse.xtext.util.EmfStructureComparator.internalIsSameStructure(EmfStructureComparator.java:50)
	at org.eclipse.xtext.util.EmfStructureComparator.isSameStructure(EmfStructureComparator.java:45)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconcilerDebugger.assertResouceParsedCorrectly(XtextReconcilerDebugger.java:84)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.doRun(XtextReconciler.java:367)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.access$2(XtextReconciler.java:350)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$1.process(XtextReconciler.java:294)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$1.process(XtextReconciler.java:1)
	at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:36)
	at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.modify(AbstractReadWriteAcces.java:81)
	at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.modify(XtextDocument.java:219)
	at org.eclipse.xtext.ui.editor.model.XtextDocument.internalModify(XtextDocument.java:103)
	at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(XtextReconciler.java:291)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Comment 5 Eclipse Genie CLA 2018-09-21 05:35:35 EDT
New Gerrit change created: https://git.eclipse.org/r/129788
Comment 6 Vincent Lorenzo CLA 2018-09-21 07:19:03 EDT
(In reply to Eclipse Genie from comment #5)
> New Gerrit change created: https://git.eclipse.org/r/129788

Sorry, I used the wrong bug for this gerrit...