| Summary: | Can not open VE designer/preview for the RUI Handler in the PI | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Song Fan <songfan> | ||||
| Component: | EDT | Assignee: | Yun Feng Ma <mayunf> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | blocker | ||||||
| Priority: | P3 | CC: | hjiyong | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Resolved indirectly by YunFeng when cleaning up the RUI samples verified |
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