thSoft / elysium

LilyPond IDE for Eclipse
http://elysium.thsoft.hu
14 stars 3 forks source link

xtext validation encountered a problem #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!

I get this error:

xtext validation encountered a problem

An internal error occurred during: "Xtext validation".
java.lang.IllegalArgumentException: URI is not absolute

I can reproduce it for example with the following score:

\version "2.14.0"

\header{
  title = "Test"
}

\relative c'' {
  c d e d
}

The score above works fine.
As soon as I want to add \f to any of the notes I get the error.

Windows XP,

Version: Indigo Release
Build id: 20110615-0604

Latest Elysium (today I think).

Java 1.6.0_24

Regards,
Jochen Zimmermann

Original issue reported on code.google.com by zet4...@googlemail.com on 26 Jun 2011 at 9:09

GoogleCodeExporter commented 9 years ago
Can't reproduce on OS X with LilyPond 2.14.1. Will try on Windows XP as soon as 
I get to it.

Original comment by harmathdenes on 27 Jun 2011 at 7:54

GoogleCodeExporter commented 9 years ago
I'm having the same issue on an identical setup when trying to type anything 
into the source window.

Original comment by frodw...@gmail.com on 4 Jul 2011 at 3:58

GoogleCodeExporter commented 9 years ago

Original comment by harmathdenes on 4 Jul 2011 at 6:45

GoogleCodeExporter commented 9 years ago

Original comment by harmathdenes on 4 Jul 2011 at 7:04

GoogleCodeExporter commented 9 years ago

Original comment by harmathdenes on 5 Jul 2011 at 12:40

GoogleCodeExporter commented 9 years ago
Stack trace:

org.eclipse.emf.common.util.WrappedException: 
java.lang.IllegalArgumentException: URI is not absolute
    at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:200)
    at org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReference(LazyLinkingResource.java:138)
    at org.eclipse.xtext.linking.lazy.LazyLinkingResource.resolveLazyCrossReferences(LazyLinkingResource.java:102)
    at org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:417)
    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:86)
    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: URI is not absolute
    at java.io.File.<init>(Unknown Source)
    at org.elysium.importuri.LilyPondImportUriResolver.resolve(LilyPondImportUriResolver.java:26)
    at org.eclipse.xtext.scoping.impl.ImportUriResolver.apply(ImportUriResolver.java:55)
    at org.elysium.scoping.LilyPondImportUriGlobalScopeProvider$1.get(LilyPondImportUriGlobalScopeProvider.java:94)
    at org.elysium.scoping.LilyPondImportUriGlobalScopeProvider$1.get(LilyPondImportUriGlobalScopeProvider.java:1)
    at org.eclipse.xtext.util.OnChangeEvictingCache.get(OnChangeEvictingCache.java:46)
    at org.elysium.scoping.LilyPondImportUriGlobalScopeProvider.getImportedUris(LilyPondImportUriGlobalScopeProvider.java:86)
    at org.elysium.scoping.LilyPondImportUriGlobalScopeProvider.getScope(LilyPondImportUriGlobalScopeProvider.java:74)
    at org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.getScope(AbstractGlobalScopeProvider.java:48)
    at org.eclipse.xtext.scoping.impl.AbstractGlobalScopeDelegatingScopeProvider.getGlobalScope(AbstractGlobalScopeDelegatingScopeProvider.java:46)
    at org.eclipse.xtext.scoping.impl.AbstractGlobalScopeDelegatingScopeProvider.getGlobalScope(AbstractGlobalScopeDelegatingScopeProvider.java:42)
    at org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.getScope(SimpleLocalScopeProvider.java:60)
    at org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegateGetScope(AbstractDeclarativeScopeProvider.java:72)
    at org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.getScope(AbstractDeclarativeScopeProvider.java:102)
    at org.eclipse.xtext.linking.impl.DefaultLinkingService.getScope(DefaultLinkingService.java:59)
    at org.eclipse.xtext.linking.impl.DefaultLinkingService.getLinkedObjects(DefaultLinkingService.java:119)
    at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:169)
    ... 12 more

Original comment by harmathdenes on 5 Jul 2011 at 12:41

GoogleCodeExporter commented 9 years ago
This issue was closed by revision b838cf0788f5.

Original comment by harmathdenes on 5 Jul 2011 at 2:29