Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [xcore] problem referencing UML classes?
[xcore] problem referencing UML classes? [message #896679] Thu, 19 July 2012 11:10 Go to next message
Joel Greenyer is currently offline Joel GreenyerFriend
Messages: 170
Registered: July 2009
Senior Member
Hi,
I have a problem referencing UML classes in my XCore model.

Consider the following example:
-----
package org.example.myumlapplication

import org.eclipse.uml2.uml.Lifeline

class MyClass{
refers Lifeline lifeline
}
-----


The import works fine, but when I add the reference, there are two NullPointerExceptions (see below).
(I'm using an e4 Modeling Tools installation, i.e., UML is installed as deployed plug-ins)
Is there a general problem referencing UML, or am I doing something wrong?

Joel

1. An internal error occurred during: "Xtext validation".
java.lang.NullPointerException
at org.eclipse.emf.ecore.xcore.util.XcoreGenModelBuilder.initializeUsedGenPackages(XcoreGenModelBuilder.java:268)
at org.eclipse.emf.ecore.xcore.resource.XcoreModelAssociator.installDerivedState(XcoreModelAssociator.java:82)
at org.eclipse.xtext.resource.DerivedStateAwareResource.installDerivedState(DerivedStateAwareResource.java:125)
at org.eclipse.xtext.resource.DerivedStateAwareResource.getContents(DerivedStateAwareResource.java:48)
at org.eclipse.emf.ecore.util.EcoreUtil.getAllContents(EcoreUtil.java:1121)
at org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReferences(LazyLinkingResource.java:97)
at org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:494)
at org.eclipse.xtext.validation.ResourceValidatorImpl.resolveProxies(ResourceValidatorImpl.java:127)
at org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:62)
at org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:79)
at org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:1)
at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:32)
at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:78)
at org.eclipse.xtext.ui.editor.validation.ValidationJob.createIssues(ValidationJob.java:75)
at org.eclipse.xtext.ui.editor.validation.ValidationJob.run(ValidationJob.java:64)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

2. An internal error occurred during: "XtextReconcilerJob".
java.lang.NullPointerException
at org.eclipse.emf.ecore.xcore.util.XcoreGenModelBuilder.initializeUsedGenPackages(XcoreGenModelBuilder.java:268)
at org.eclipse.emf.ecore.xcore.resource.XcoreModelAssociator.installDerivedState(XcoreModelAssociator.java:82)
at org.eclipse.xtext.resource.DerivedStateAwareResource.installDerivedState(DerivedStateAwareResource.java:125)
at org.eclipse.xtext.resource.DerivedStateAwareResource.getContents(DerivedStateAwareResource.java:48)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl$4.getChildren(ResourceImpl.java:519)
at org.eclipse.emf.common.util.AbstractTreeIterator.hasAnyChildren(AbstractTreeIterator.java:97)
at org.eclipse.emf.common.util.AbstractTreeIterator.hasNext(AbstractTreeIterator.java:85)
at org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.searchAndHighlightElements(XbaseHighlightingCalculator.java:120)
at org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.doProvideHighlightingFor(XbaseHighlightingCalculator.java:115)
at org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.provideHighlightingFor(XbaseHighlightingCalculator.java:92)
at org.eclipse.xtext.ui.editor.syntaxcoloring.MergingHighlightedPositionAcceptor.provideHighlightingFor(MergingHighlightedPositionAcceptor.java:51)
at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.reconcilePositions(HighlightingReconciler.java:88)
at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.modelChanged(HighlightingReconciler.java:281)
at org.eclipse.xtext.ui.editor.model.XtextDocument.notifyModelListeners(XtextDocument.java:118)
at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.afterModify(XtextDocument.java:172)
at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.afterModify(XtextDocument.java:1)
at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.modify(AbstractReadWriteAcces.java:50)
at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.modify(XtextDocument.java:181)
at org.eclipse.xtext.ui.editor.model.XtextDocument.internalModify(XtextDocument.java:90)
at org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcileStrategy.reconcile(XtextDocumentReconcileStrategy.java:44)
at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(XtextReconciler.java:254)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Re: [xcore] problem referencing UML classes? [message #896684 is a reply to message #896679] Thu, 19 July 2012 11:32 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30691
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Joel,<br>
<br>
This problem is caused by UML2's GenModel's specialized handling
(like a built-in package) for their new (for the Juno release) Types
package.:<br>
<blockquote>&nbsp;<a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=382637">https://bugs.eclipse.org/bugs/show_bug.cgi?id=382637</a><br>
</blockquote>
<br>
<div class="moz-cite-prefix">On 19/07/2012 1:10 PM, Joel Greenyer
wrote:<br>
</div>
<blockquote cite="mid:ju8pv4$tg7$1@xxxxxxxxe.org" type="cite">Hi,
<br>
I have a problem referencing UML classes in my XCore model.
<br>
<br>
Consider the following example:
<br>
-----
<br>
package org.example.myumlapplication
<br>
<br>
import org.eclipse.uml2.uml.Lifeline
<br>
<br>
class MyClass{
<br>
&nbsp;&nbsp;&nbsp;&nbsp;refers Lifeline lifeline
<br>
}
<br>
-----
<br>
<br>
<br>
The import works fine, but when I add the reference, there are two
NullPointerExceptions (see below).
<br>
(I'm using an e4 Modeling Tools installation, i.e., UML is
installed as deployed plug-ins)
<br>
Is there a general problem referencing UML, or am I doing
something wrong?
<br>
<br>
Joel
<br>
<br>
1. An internal error occurred during: "Xtext validation".
<br>
java.lang.NullPointerException
<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.emf.ecore.xcore.util.XcoreGenModelBuilder.initializeUsedGenPackages(XcoreGenModelBuilder.java:268)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.emf.ecore.xcore.resource.XcoreModelAssociator.installDerivedState(XcoreModelAssociator.java:82)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.resource.DerivedStateAwareResource.installDerivedState(DerivedStateAwareResource.java:125)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.resource.DerivedStateAwareResource.getContents(DerivedStateAwareResource.java:48)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.emf.ecore.util.EcoreUtil.getAllContents(EcoreUtil.java:1121)
<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReferences(LazyLinkingResource.java:97)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:494)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.validation.ResourceValidatorImpl.resolveProxies(ResourceValidatorImpl.java:127)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:62)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:79)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:1)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:32)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:78)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.validation.ValidationJob.createIssues(ValidationJob.java:75)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.validation.ValidationJob.run(ValidationJob.java:64)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
<br>
<br>
2. An internal error occurred during: "XtextReconcilerJob".
<br>
java.lang.NullPointerException
<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.emf.ecore.xcore.util.XcoreGenModelBuilder.initializeUsedGenPackages(XcoreGenModelBuilder.java:268)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.emf.ecore.xcore.resource.XcoreModelAssociator.installDerivedState(XcoreModelAssociator.java:82)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.resource.DerivedStateAwareResource.installDerivedState(DerivedStateAwareResource.java:125)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.resource.DerivedStateAwareResource.getContents(DerivedStateAwareResource.java:48)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.emf.ecore.resource.impl.ResourceImpl$4.getChildren(ResourceImpl.java:519)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.emf.common.util.AbstractTreeIterator.hasAnyChildren(AbstractTreeIterator.java:97)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.emf.common.util.AbstractTreeIterator.hasNext(AbstractTreeIterator.java:85)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.searchAndHighlightElements(XbaseHighlightingCalculator.java:120)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.doProvideHighlightingFor(XbaseHighlightingCalculator.java:115)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.provideHighlightingFor(XbaseHighlightingCalculator.java:92)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.syntaxcoloring.MergingHighlightedPositionAcceptor.provideHighlightingFor(MergingHighlightedPositionAcceptor.java:51)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.reconcilePositions(HighlightingReconciler.java:88)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.modelChanged(HighlightingReconciler.java:281)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.model.XtextDocument.notifyModelListeners(XtextDocument.java:118)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.afterModify(XtextDocument.java:172)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.afterModify(XtextDocument.java:1)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.modify(AbstractReadWriteAcces.java:50)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.modify(XtextDocument.java:181)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.model.XtextDocument.internalModify(XtextDocument.java:90)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcileStrategy.reconcile(XtextDocumentReconcileStrategy.java:44)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at
org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(XtextReconciler.java:254)<br>
&nbsp;&nbsp;&nbsp;&nbsp;at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>
Re: [xcore] problem referencing UML classes? [message #896696 is a reply to message #896684] Thu, 19 July 2012 12:03 Go to previous messageGo to next message
Joel Greenyer is currently offline Joel GreenyerFriend
Messages: 170
Registered: July 2009
Senior Member
Mmh, this UML genmodel is causing problems all the time... :(

On 19.07.2012 13:32, Ed Merks wrote:
> Joel,
>
> This problem is caused by UML2's GenModel's specialized handling (like a built-in package) for their new (for the Juno release) Types package.:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=382637
>
>
> On 19/07/2012 1:10 PM, Joel Greenyer wrote:
>> Hi,
>> I have a problem referencing UML classes in my XCore model.
>>
>> Consider the following example:
>> -----
>> package org.example.myumlapplication
>>
>> import org.eclipse.uml2.uml.Lifeline
>>
>> class MyClass{
>> refers Lifeline lifeline
>> }
>> -----
>>
>>
>> The import works fine, but when I add the reference, there are two NullPointerExceptions (see below).
>> (I'm using an e4 Modeling Tools installation, i.e., UML is installed as deployed plug-ins)
>> Is there a general problem referencing UML, or am I doing something wrong?
>>
>> Joel
>>
>> 1. An internal error occurred during: "Xtext validation".
>> java.lang.NullPointerException
>> at org.eclipse.emf.ecore.xcore.util.XcoreGenModelBuilder.initializeUsedGenPackages(XcoreGenModelBuilder.java:268)
>> at org.eclipse.emf.ecore.xcore.resource.XcoreModelAssociator.installDerivedState(XcoreModelAssociator.java:82)
>> at org.eclipse.xtext.resource.DerivedStateAwareResource.installDerivedState(DerivedStateAwareResource.java:125)
>> at org.eclipse.xtext.resource.DerivedStateAwareResource.getContents(DerivedStateAwareResource.java:48)
>> at org.eclipse.emf.ecore.util.EcoreUtil.getAllContents(EcoreUtil.java:1121)
>> at org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReferences(LazyLinkingResource.java:97)
>> at org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:494)
>> at org.eclipse.xtext.validation.ResourceValidatorImpl.resolveProxies(ResourceValidatorImpl.java:127)
>> at org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:62)
>> at org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:79)
>> at org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:1)
>> at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:32)
>> at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:78)
>> at org.eclipse.xtext.ui.editor.validation.ValidationJob.createIssues(ValidationJob.java:75)
>> at org.eclipse.xtext.ui.editor.validation.ValidationJob.run(ValidationJob.java:64)
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>>
>> 2. An internal error occurred during: "XtextReconcilerJob".
>> java.lang.NullPointerException
>> at org.eclipse.emf.ecore.xcore.util.XcoreGenModelBuilder.initializeUsedGenPackages(XcoreGenModelBuilder.java:268)
>> at org.eclipse.emf.ecore.xcore.resource.XcoreModelAssociator.installDerivedState(XcoreModelAssociator.java:82)
>> at org.eclipse.xtext.resource.DerivedStateAwareResource.installDerivedState(DerivedStateAwareResource.java:125)
>> at org.eclipse.xtext.resource.DerivedStateAwareResource.getContents(DerivedStateAwareResource.java:48)
>> at org.eclipse.emf.ecore.resource.impl.ResourceImpl$4.getChildren(ResourceImpl.java:519)
>> at org.eclipse.emf.common.util.AbstractTreeIterator.hasAnyChildren(AbstractTreeIterator.java:97)
>> at org.eclipse.emf.common.util.AbstractTreeIterator.hasNext(AbstractTreeIterator.java:85)
>> at org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.searchAndHighlightElements(XbaseHighlightingCalculator.java:120)
>> at org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.doProvideHighlightingFor(XbaseHighlightingCalculator.java:115)
>> at org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.provideHighlightingFor(XbaseHighlightingCalculator.java:92)
>> at org.eclipse.xtext.ui.editor.syntaxcoloring.MergingHighlightedPositionAcceptor.provideHighlightingFor(MergingHighlightedPositionAcceptor.java:51)
>> at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.reconcilePositions(HighlightingReconciler.java:88)
>> at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.modelChanged(HighlightingReconciler.java:281)
>> at org.eclipse.xtext.ui.editor.model.XtextDocument.notifyModelListeners(XtextDocument.java:118)
>> at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.afterModify(XtextDocument.java:172)
>> at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.afterModify(XtextDocument.java:1)
>> at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.modify(AbstractReadWriteAcces.java:50)
>> at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.modify(XtextDocument.java:181)
>> at org.eclipse.xtext.ui.editor.model.XtextDocument.internalModify(XtextDocument.java:90)
>> at org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcileStrategy.reconcile(XtextDocumentReconcileStrategy.java:44)
>> at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(XtextReconciler.java:254)
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>>
>>
>
Re: [xcore] problem referencing UML classes? [message #896697 is a reply to message #896696] Thu, 19 July 2012 12:05 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30691
Registered: July 2009
Senior Member
Joel,

Yes, it's basically broken in terms of being able to use it with any
other GenModels. :-( Hopefully Kenn can fix it in the maintenance stream.


On 19/07/2012 2:03 PM, Joel Greenyer wrote:
> Mmh, this UML genmodel is causing problems all the time... :(
>
> On 19.07.2012 13:32, Ed Merks wrote:
>> Joel,
>>
>> This problem is caused by UML2's GenModel's specialized handling
>> (like a built-in package) for their new (for the Juno release) Types
>> package.:
>>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=382637
>>
>>
>> On 19/07/2012 1:10 PM, Joel Greenyer wrote:
>>> Hi,
>>> I have a problem referencing UML classes in my XCore model.
>>>
>>> Consider the following example:
>>> -----
>>> package org.example.myumlapplication
>>>
>>> import org.eclipse.uml2.uml.Lifeline
>>>
>>> class MyClass{
>>> refers Lifeline lifeline
>>> }
>>> -----
>>>
>>>
>>> The import works fine, but when I add the reference, there are two
>>> NullPointerExceptions (see below).
>>> (I'm using an e4 Modeling Tools installation, i.e., UML is installed
>>> as deployed plug-ins)
>>> Is there a general problem referencing UML, or am I doing something
>>> wrong?
>>>
>>> Joel
>>>
>>> 1. An internal error occurred during: "Xtext validation".
>>> java.lang.NullPointerException
>>> at
>>> org.eclipse.emf.ecore.xcore.util.XcoreGenModelBuilder.initializeUsedGenPackages(XcoreGenModelBuilder.java:268)
>>> at
>>> org.eclipse.emf.ecore.xcore.resource.XcoreModelAssociator.installDerivedState(XcoreModelAssociator.java:82)
>>> at
>>> org.eclipse.xtext.resource.DerivedStateAwareResource.installDerivedState(DerivedStateAwareResource.java:125)
>>> at
>>> org.eclipse.xtext.resource.DerivedStateAwareResource.getContents(DerivedStateAwareResource.java:48)
>>> at
>>> org.eclipse.emf.ecore.util.EcoreUtil.getAllContents(EcoreUtil.java:1121)
>>>
>>> at
>>> org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReferences(LazyLinkingResource.java:97)
>>> at
>>> org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:494)
>>> at
>>> org.eclipse.xtext.validation.ResourceValidatorImpl.resolveProxies(ResourceValidatorImpl.java:127)
>>> at
>>> org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:62)
>>> at
>>> org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:79)
>>> at
>>> org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:1)
>>> at
>>> org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:32)
>>> at
>>> org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:78)
>>> at
>>> org.eclipse.xtext.ui.editor.validation.ValidationJob.createIssues(ValidationJob.java:75)
>>> at
>>> org.eclipse.xtext.ui.editor.validation.ValidationJob.run(ValidationJob.java:64)
>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>>>
>>> 2. An internal error occurred during: "XtextReconcilerJob".
>>> java.lang.NullPointerException
>>> at
>>> org.eclipse.emf.ecore.xcore.util.XcoreGenModelBuilder.initializeUsedGenPackages(XcoreGenModelBuilder.java:268)
>>> at
>>> org.eclipse.emf.ecore.xcore.resource.XcoreModelAssociator.installDerivedState(XcoreModelAssociator.java:82)
>>> at
>>> org.eclipse.xtext.resource.DerivedStateAwareResource.installDerivedState(DerivedStateAwareResource.java:125)
>>> at
>>> org.eclipse.xtext.resource.DerivedStateAwareResource.getContents(DerivedStateAwareResource.java:48)
>>> at
>>> org.eclipse.emf.ecore.resource.impl.ResourceImpl$4.getChildren(ResourceImpl.java:519)
>>> at
>>> org.eclipse.emf.common.util.AbstractTreeIterator.hasAnyChildren(AbstractTreeIterator.java:97)
>>> at
>>> org.eclipse.emf.common.util.AbstractTreeIterator.hasNext(AbstractTreeIterator.java:85)
>>> at
>>> org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.searchAndHighlightElements(XbaseHighlightingCalculator.java:120)
>>> at
>>> org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.doProvideHighlightingFor(XbaseHighlightingCalculator.java:115)
>>> at
>>> org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingCalculator.provideHighlightingFor(XbaseHighlightingCalculator.java:92)
>>> at
>>> org.eclipse.xtext.ui.editor.syntaxcoloring.MergingHighlightedPositionAcceptor.provideHighlightingFor(MergingHighlightedPositionAcceptor.java:51)
>>> at
>>> org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.reconcilePositions(HighlightingReconciler.java:88)
>>> at
>>> org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.modelChanged(HighlightingReconciler.java:281)
>>> at
>>> org.eclipse.xtext.ui.editor.model.XtextDocument.notifyModelListeners(XtextDocument.java:118)
>>> at
>>> org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.afterModify(XtextDocument.java:172)
>>> at
>>> org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.afterModify(XtextDocument.java:1)
>>> at
>>> org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.modify(AbstractReadWriteAcces.java:50)
>>> at
>>> org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.modify(XtextDocument.java:181)
>>> at
>>> org.eclipse.xtext.ui.editor.model.XtextDocument.internalModify(XtextDocument.java:90)
>>> at
>>> org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcileStrategy.reconcile(XtextDocumentReconcileStrategy.java:44)
>>> at
>>> org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(XtextReconciler.java:254)
>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>>>
>>>
>>
>
>
Previous Topic:Strategies for handling dangling references?
Next Topic:EMF List xml serrialization separator
Goto Forum:
  


Current Time: Wed Dec 11 19:46:18 GMT 2019

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

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

Back to the top