Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321432 - "OCLinEcore (Ecore) Editor" crashes when opened due to missing classes
Summary: "OCLinEcore (Ecore) Editor" crashes when opened due to missing classes
Status: CLOSED DUPLICATE of bug 320420
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 320417
Blocks:
  Show dependency tree
 
Reported: 2010-07-31 08:55 EDT by Torsten Kraemer CLA
Modified: 2010-07-31 09:44 EDT (History)
1 user (show)

See Also:


Attachments
Ecore-Model which can't be opened (12.42 KB, application/xml)
2010-07-31 08:57 EDT, Torsten Kraemer CLA
no flags Details
Stacktrace of error (8.06 KB, text/plain)
2010-07-31 08:58 EDT, Torsten Kraemer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Kraemer CLA 2010-07-31 08:55:17 EDT
Build Identifier: I20100608-0911

I created an Ecore-File with other Editors. Then tried to load the file with the 
"OCLinEcore (Ecore) Editor" with this result: "OCLinEcore (Ecore) Editor" and a stcktrace (see Attachments)

The missing class "org.eclipse.jst.j2ee.internal.earcreation.modulemap.ModulemapPackage" happened to be part of the WTP-Project but as stated in http://wiki.eclipse.org/New_Help_for_Old_Friends_V  and bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=280151 has been removed.

So installing the current WTP-Project does not solve the problem.

Is there any means to get the dependent class(es) ? 

Reproducible: Always

Steps to Reproduce:
1. Try to open the file with the editor.
Comment 1 Torsten Kraemer CLA 2010-07-31 08:57:16 EDT
Created attachment 175648 [details]
Ecore-Model which can't be opened
Comment 2 Torsten Kraemer CLA 2010-07-31 08:58:45 EDT
Created attachment 175649 [details]
Stacktrace of error
Comment 3 Ed Willink CLA 2010-07-31 09:43:12 EDT
This duplicates a double bug.

In Bug 320417, WTP messes up all modeling projects by registering the non-existent ModulemapPackage.

In Bug 320420, Xtext fails to initialize an editor because of the above.

Solution: uninstall the problem JST component.

*** This bug has been marked as a duplicate of bug 320420 ***