Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369725 - Dynamic access to dictionary array fields fail with a runtime exception
Summary: Dynamic access to dictionary array fields fail with a runtime exception
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-25 13:56 EST by Joseph Vincens CLA
Modified: 2017-02-23 14:17 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.