Exception Stack Trace:
org.eclipse.emf.common.util.WrappedException: java.lang.IllegalArgumentException: invalid opaquePart:
at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:217)
at org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReference(LazyLinkingResource.java:147)
at org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReferences(LazyLinkingResource.java:108)
at org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:497)
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)
Caused by: java.lang.IllegalArgumentException: invalid opaquePart:
at org.eclipse.emf.common.util.URI.validateURI(URI.java:1070)
at org.eclipse.emf.common.util.URI.parseIntoURI(URI.java:785)
at org.eclipse.emf.common.util.URI.createURIWithCache(URI.java:671)
at org.eclipse.emf.common.util.URI.createURI(URI.java:535)
at org.eclipse.viatra2.emf.incquery.tooling.generator.scoping.GeneratorModelLinkingService.loadGenmodel(GeneratorModelLinkingService.java:73)
at org.eclipse.viatra2.emf.incquery.tooling.generator.scoping.GeneratorModelLinkingService.getGenModel(GeneratorModelLinkingService.java:55)
at org.eclipse.viatra2.emf.incquery.tooling.generator.scoping.GeneratorModelLinkingService.getLinkedObjects(GeneratorModelLinkingService.java:45)
at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:179)
... 12 more
The exception below is thrown when the genmodel resolution triggers when the user is still writing the URI.
What steps will reproduce the problem?
-- Error Details -- Date: Mon Sep 24 10:12:52 CEST 2012 Message: An internal error occurred during: "Xtext validation". Severity: Error Product: Eclipse SDK 4.2.0.v201206081400 (org.eclipse.sdk.ide) Plugin: org.eclipse.core.jobs Session Data: eclipse.buildId=I20120608-1400 java.version=1.7.0_01 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86_64
Exception Stack Trace: org.eclipse.emf.common.util.WrappedException: java.lang.IllegalArgumentException: invalid opaquePart: at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:217) at org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReference(LazyLinkingResource.java:147) at org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReferences(LazyLinkingResource.java:108) at org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:497) 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) Caused by: java.lang.IllegalArgumentException: invalid opaquePart: at org.eclipse.emf.common.util.URI.validateURI(URI.java:1070) at org.eclipse.emf.common.util.URI.parseIntoURI(URI.java:785) at org.eclipse.emf.common.util.URI.createURIWithCache(URI.java:671) at org.eclipse.emf.common.util.URI.createURI(URI.java:535) at org.eclipse.viatra2.emf.incquery.tooling.generator.scoping.GeneratorModelLinkingService.loadGenmodel(GeneratorModelLinkingService.java:73) at org.eclipse.viatra2.emf.incquery.tooling.generator.scoping.GeneratorModelLinkingService.getGenModel(GeneratorModelLinkingService.java:55) at org.eclipse.viatra2.emf.incquery.tooling.generator.scoping.GeneratorModelLinkingService.getLinkedObjects(GeneratorModelLinkingService.java:45) at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:179) ... 12 more