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

Bug 369725

Summary: Dynamic access to dictionary array fields fail with a runtime exception
Product: z_Archived Reporter: Joseph Vincens <jvincens>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hjiyong, mheitz, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Joseph Vincens CLA 2012-01-25 13:56:42 EST
using the following EGL:
    	dict dictionary;
    	dict.f1 = new string[]{"abc", "def"};
    	Syslib.writeStdout(dict.f1[1]);


[CRRUI2095E] Could not find the EGL function calls leading to this error

Could not render UI

      ()
      H1.js?contextKey=95:86 ()
      H1.js?contextKey=95:8 ()
      edt_runtime_all.js?contextKey=95:751 ()
      H1.html?contextKey=95:38 ()
      edt_core.js:131 eze$$loadScripts([object Array],(function () {try {initFunc();} catch (e) {egl.crashTerminateSession();if (e == "eze$$HandlerLoadErr") {egl.println("Internal generation error. Found no definition for samples.client.HelloWorldView. Try Project > Clean...");} else {egl.printError("Could not render UI", e);}throw e;}}))
      edt_core.js:71 ()
      edt_core.js:69 ([object Event])
      edt_core.js:57 


egl.eglx.lang.EDictionary.get(dict, "f1").checkIndex is not a function
Comment 1 Joseph Vincens CLA 2012-01-25 18:08:39 EST
This blocks the successful completion of the JSON tests.
Comment 2 Matt Heitz CLA 2012-12-20 10:15:26 EST
I fixed this bug with commit d8fe6c63bbf6152cb0832f66fa70996340ff0070 and removed the 'skipped' stuff from the EUnits.