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

Bug 363191

Summary: Error dropping CheckBox on RUIHandler
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Huo Zhen Zhong <huozz>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 CC: chenzhh, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-11-08 10:56:19 EST
Open a RUIHandler.
Drop a Button (not a Dojo Button).

Could not render UI

      (true)
      CheckBox.js?contextKey=18:206 ()
      firstHandler.js?contextKey=18:47 ()
      firstHandler.js?contextKey=18:9 ()
      egl.js:801 ()
      firstHandler.html?contextKey=18:80 ([object Array],(function () {egl.localeInfo = {locale: "en_US", nlsCode: "ENU", shortMask: "MM/dd/yyyy", mediumMask: "MM-dd-yyyy", longMask: "MM-dd-yyyy", currencySymbol: "$", decimalSeparator: ".", groupingSeparator: ","};try {egl.handleIDEEvent();egl.rootHandler = new (egl.client.firstHandler);if (egl.rootHandler.targetWidget || !egl.rootHandler.egl$isWidget) {egl.rootHandler.setParent(egl.Document);} else {var package = egl.rootHandler.eze$$package;var typename = egl.rootHandler.eze$$typename;egl.rootHandler = egl.Document;egl.rootHandler.eze$$package = package;egl.rootHandler.eze$$typename = typename;}egl.startup();} catch (e) {egl.crashTerminateSession();if (!egl.client.firstHandler) {egl.println("Internal generation error. Found no definition for client.firstHandler. Try Project > Clean...", e);} else {egl.printError("Could not render UI", e);throw e;}}}))
      firstHandler.html?contextKey=18:54 ()
      firstHandler.html?contextKey=18:52 ([object Event])
      firstHandler.html?contextKey=18:40 


egl.egl.javascript is undefined
[CRRUI2094E] Here are the EGL function calls leading to this error:

    org/eclipse/edt/rui/widgets/CheckBox.egl() at line 81
    org/eclipse/edt/rui/widgets/CheckBox.egl() at line 100
    client/firstHandler.egl() at line 18
    firstHandler.<init>() [native JavaScript]

    () at line 206
egl.egl.javascript is undefined
myRUIproject/org/eclipse/edt/rui/widgets/CheckBox.js?contextKey=18:206
[CRRUI2095E] Could not find the EGL function calls leading to this error

I tried on IE and Mozilla.
Comment 1 broy2 CLA 2011-11-08 10:58:52 EST
Whoops, should be CheckBox, not Button.
Comment 2 Brian Svihovec CLA 2011-11-14 11:47:16 EST
Please re-test this to see if it is still happening.
Comment 3 broy2 CLA 2011-11-14 12:15:31 EST
Not happening in 20111114 build.
Comment 4 broy2 CLA 2011-11-14 12:15:51 EST
Verified in 20111114 build.