Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352075 - String array initially gets IWN.VAL.9001 for mof.egl.ArrayType not found
Summary: String array initially gets IWN.VAL.9001 for mof.egl.ArrayType not found
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Justin Spadea CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 08:57 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:17 EST (History)
2 users (show)

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-14 08:57:09 EDT
Build Identifier: 0.7.0

When I first save my file, I get the message below.  When I modify the
string literals in my file, the VAL error goes away and java code gets 
generated.

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

Reproducible: Always

Steps to Reproduce:
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. Modify/save the sring literals and the genVAL.9001 error goes away.
Comment 1 Justin Spadea CLA 2011-07-15 11:24:05 EDT
Fixed GenerationQueue.java - when looking up the IR to generate we might be deserializing it (if it's not cached). Added code to push/pop the current IR environment so that deserialization can find the IRs it might need (in this case, the IR for ArrayType).
Comment 2 Kathy Carroll CLA 2011-08-15 14:24:54 EDT
verified
Comment 3 Lisa Lasher CLA 2011-10-11 16:21:24 EDT
Closing this defect.