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

Bug 321432

Summary: "OCLinEcore (Ecore) Editor" crashes when opened due to missing classes
Product: [Modeling] OCL Reporter: Torsten Kraemer <tokraemercli>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: ed
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 320417    
Bug Blocks:    
Attachments:
Description Flags
Ecore-Model which can't be opened
none
Stacktrace of error none

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 ***