Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342388

Summary: IllegalStateException: Could not create binding for ... open Project
Product: [Modeling] EMFT Reporter: Ed Willink <ed>
Component: MWEAssignee: Project Inbox <emft-mwe-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2011-04-11 01:46:01 EDT
M6 + later Xtext

The /org.eclipse.ocl.examples.build/src/org/eclipse/ocl/examples/build/GeneratePivotModel.mwe2 script works fine, provided org.eclipse.xtext.common.types is an open project.

But if org.eclipse.uml2.uml is also an open project, the MWE2 editor/builder shows

IllegalStateException: Could not create binding for 'org.eclipse.ocl.examples.build.utilities.PackageAlphabetizer'.
   (see logs for details)

which is a Java file in the same project that has no JDT errors. It imports UML classes.

The logs show

org.eclipse.xtext.common.types.access.impl.AbstractClassMirror  - resource is empty: java:/Objects/org.eclipse.ocl.examples.build.utilities.PackageAlphabetizer

but no stack trace and

org.eclipse.xtext.linking.lazy.LazyLinkingResource  - resolution of uriFragment 'xtextLink_::0.3.4.6.1::0::/1' failed.

but nostack trace.