Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351974 - IWN.VAL.9001.e message doesn't identify failing generator
Summary: IWN.VAL.9001.e message doesn't identify failing generator
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-13 09:49 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:20 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kathy Carroll CLA 2011-07-13 09:49:40 EDT
Build Identifier: 0.7.0

Here's my high level scenario. I create an EGL project using the system defaults so I should be generating both Java and JavaScript.  My library is getting a generation error that is marked at the beginning of my EGL source file. Here's the error details:

Description	IWN.VAL.9001.e 0/0 Generation of arrayLibrary was terminated because the part org.eclipse.edt.mof.serialization.DeserializationException: java.lang.RuntimeException: org.eclipse.edt.mof.serialization.TypeNotFoundException: org.eclipse.edt.mof.serialization.MofObjectNotFoundException: MofObject not found: org.eclipse.edt.mof.egl.ArrayType could not be found.
Resource	arrayLibrary.egl	
Path		/Mine/eglsource/explore
Location	line 0
Type		EDT Generation Problem
		 
1.  I'd like to know which generator produced the problem.  Can the message be modified to indicate the specific generator name?  Or specify the generator name in the type?  I reran my scenario using projects with just one generator and I know that both java and javaScript have this problem. Then shouldn't I see the message twice?

2. I assume the exceptions should be happening in the first place

Reproducible: Always

Steps to Reproduce:
1.  Create an EGL project
2.  Create an EGL source file.  Package explore filename arrayLibrary
3.  Copy this into your source file

================================================================
package explore;
// basic library
library arrayLibrary type BasicLibrary {}
	const STEXTS String[] = ["Passed.", "Failed." ];
end
=================================================================
4. Save the file ... you'll see the generation termination problem
5. Clean the project and the generation error goes away.
Comment 1 Kathy Carroll CLA 2011-07-14 08:43:26 EDT
The information that I need is in the message identifier IWN.VAL.9011.e.  Its a validation/compiler message rather than specific to a generator.