Bug 342388 - IllegalStateException: Could not create binding for ... open Project
Summary: IllegalStateException: Could not create binding for ... open Project
Status: NEW
Alias: None
Product: EMFT
Classification: Modeling
Component: MWE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 01:46 EDT by Ed Willink CLA
Modified: 2011-04-11 01:46 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.