Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363255 - Can not open VE designer/preview for the RUI Handler in the PI
Summary: Can not open VE designer/preview for the RUI Handler in the PI
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Yun Feng Ma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 22:02 EST by Song Fan CLA
Modified: 2017-02-23 14:21 EST (History)
1 user (show)

See Also:


Attachments
PI (46.46 KB, application/zip)
2011-11-08 22:02 EST, Song Fan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Song Fan CLA 2011-11-08 22:02:36 EST
Created attachment 206641 [details]
PI

1. Import the PI project, 
2. open
/MortgageUIProject/EGLSource/mortgage/client/MortgageCalculatorHandler.egl with
RUI Handler Designer

Result:
The following error message is reported in Design/Preview tab
[CRRUI2082E] Internal Error: While calling constructor for Controller

      ()
      Controller.js?contextKey=19:49 ()
      Controller.js?contextKey=19:54 ()
      Controller.js?contextKey=19:26 ()
      egl.js:593 ()
      MortgageCalculatorHandler.js?contextKey=19:31 ()
      MortgageCalculatorHandler.js?contextKey=19:46 ()
      MortgageCalculatorHandler.js?contextKey=19:20 ()
      egl.js:801 ()
      MortgageCalculatorHandler.html?contextKey=19: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.mortgage.client.MortgageCalculatorHandler);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.mortgage.client.MortgageCalculatorHandler) {egl.println("Internal generation error. Found no definition for mortgage.client.MortgageCalculatorHandler. Try Project > Clean...", e);} else {egl.printError("Could not render UI", e);throw e;}}}))
      MortgageCalculatorHandler.html?contextKey=19:54 ()
      MortgageCalculatorHandler.html?contextKey=19:52 ([object Event])
      MortgageCalculatorHandler.html?contextKey=19:40 


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

    Controller.<init>() [native JavaScript]
    org/eclipse/edt/rui/mvc/InternalNumericFormatter.egl() at line 22
    MortgageCalculatorHandler.<init>() [native JavaScript]

    () at line 49
Could not render UI

      ((void 0))
      MortgageCalculatorHandler.js?contextKey=19:273 ()
      MortgageCalculatorHandler.js?contextKey=19:273 ()
      MortgageCalculatorHandler.js?contextKey=19:20 ()
      egl.js:801 ()
      MortgageCalculatorHandler.html?contextKey=19: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.mortgage.client.MortgageCalculatorHandler);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.mortgage.client.MortgageCalculatorHandler) {egl.println("Internal generation error. Found no definition for mortgage.client.MortgageCalculatorHandler. Try Project > Clean...", e);} else {egl.printError("Could not render UI", e);throw e;}}}))
      MortgageCalculatorHandler.html?contextKey=19:54 ()
      MortgageCalculatorHandler.html?contextKey=19:52 ([object Event])
      MortgageCalculatorHandler.html?contextKey=19:40 


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

    () at line 273
x is undefined
MortgageUIProject/mortgage/client/MortgageCalculatorHandler.js?contextKey=19:273
[CRRUI2095E] Could not find the EGL function calls leading to this error
Comment 1 Huang Ji Yong CLA 2011-11-09 01:57:33 EST
Resolved indirectly by YunFeng when cleaning up the RUI samples
Comment 2 Song Fan CLA 2011-11-14 21:21:57 EST
verified