Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359346 - java.lang.ClassCastException: org.eclipse.edt.mof.egl.impl.ArrayAccessImpl cannot be cast to org.eclipse.edt.mof.egl.Name
Summary: java.lang.ClassCastException: org.eclipse.edt.mof.egl.impl.ArrayAccessImpl ca...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 02:57 EDT by pf yu CLA
Modified: 2017-02-23 14:14 EST (History)
4 users (show)

See Also:


Attachments
egl file for the array type testing (823 bytes, application/octet-stream)
2011-09-29 02:58 EDT, pf yu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description pf yu CLA 2011-09-29 02:57:21 EDT
Build Identifier: 201109282102

Assigning a value to a element of a two-dimensional array will cause runtime excetion:
Multiple markers at this line
	- IWN.JavaGen.9998.e 14/335 Exception occurred: java.lang.ClassCastException: org.eclipse.edt.mof.egl.impl.ArrayAccessImpl cannot be cast to 
	 org.eclipse.edt.mof.egl.Name
	- IWN.JavaGen.9999.e 14/335 Stack Trace: java.lang.ClassCastException: org.eclipse.edt.mof.egl.impl.ArrayAccessImpl cannot be cast to org.eclipse.edt.mof.egl.Name

Please confirm if it is working by design in EDT, if not, please fix the issue.

Reproducible: Always

Steps to Reproduce:
1.Create a EDT basic project "abc".
2.Copy the attachment "ArrayTypeTest.egl" to the project.
3.Turn on the Java Generator, and see the compile errors.
Comment 1 pf yu CLA 2011-09-29 02:58:57 EDT
Created attachment 204250 [details]
egl file for the array type testing
Comment 2 Jeff Douglas CLA 2011-10-01 21:33:56 EDT
fixed
Comment 3 pf yu CLA 2011-10-12 05:11:09 EDT
Verified in build 201110110900