|
|
Re: IllegalStateException by XTextBuilder [message #908963 is a reply to message #900509] |
Thu, 06 September 2012 06:03  |
Eclipse User |
|
|
|
Hello, the problem reported here is still open for us (Sreekanth SC works with me), after upgrading to 2.3.1:
java.lang.IllegalStateException: getReferenceDescriptions platform:/resource/pms-models/domain/datasets/formats/performance/performance.domain
at org.eclipse.xtext.builder.clustering.CopiedResourceDescription.getReferenceDescriptions(CopiedResourceDescription.java:79) ~[na:na]
at org.eclipse.xtext.ui.editor.findrefs.DefaultReferenceFinder.findIndexedReferences(DefaultReferenceFinder.java:210) [org.eclipse.xtext.ui_2.3.1.v201208161042.jar:na]
at org.eclipse.xtext.ui.editor.findrefs.DefaultReferenceFinder.findAllIndexedReferences(DefaultReferenceFinder.java:108) [org.eclipse.xtext.ui_2.3.1.v201208161042.jar:na]
at org.eclipse.xtext.ui.editor.findrefs.DefaultReferenceFinder.findAllReferences(DefaultReferenceFinder.java:100) [org.eclipse.xtext.ui_2.3.1.v201208161042.jar:na]
at org.eclipse.xtext.ui.editor.findrefs.ReferenceQuery.run(ReferenceQuery.java:73) [org.eclipse.xtext.ui_2.3.1.v201208161042.jar:na]
at org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:91) [org.eclipse.search_3.7.0.v20110928-1504.jar:na]
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) [org.eclipse.core.jobs_3.5.101.v20120113-1953.jar:na]
Please ignore the java.lang.NullPointerException at org.eclipse.emf.ecore.util.EcoreUtil.getURI(EcoreUtil.java:2913) initially posted - we have meanwhile found that to be a completely unrelated problem which we are dealing with separately.
What could cause this? Is this in any way related / similar to our discussion on https://bugs.eclipse.org/bugs/show_bug.cgi?id=326024. That was in the same area, but that problem works for us now - I just mean could this again because of a wrong Binding?
Or is it "correct" that there is CopiedResourceDescription? But then why does that implementation throw an IllegalStateException, with a comment "TODO see https://bugs.eclipse.org/bugs/show_bug.cgi?id=344373" in code (while that issue is actually RESOLVED FIXED 2.1.0 ?)
BTW: https://bugs.eclipse.org/bugs/show_bug.cgi?id=379641 seems to raise the same by the way.
|
|
|
Powered by
FUDForum. Page generated in 0.04866 seconds