Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363249 - The handler cannot be opened if adding ZeroFormat to the variable definition
Summary: The handler cannot be opened if adding ZeroFormat to the variable definition
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Justin Spadea CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 20:44 EST by fahua jin CLA
Modified: 2017-02-23 14:14 EST (History)
1 user (show)

See Also:


Attachments
The sample EGL file. (459 bytes, application/octet-stream)
2011-11-11 10:20 EST, fahua jin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description fahua jin CLA 2011-11-08 20:44:42 EST
Build Identifier: 0.7.0.v201111071403

Open the attached H1.egl with VE, and view it in the external web browser, following error information is print.

Could not render UI

      ()
      H1.js?contextKey=45:7 ()
      egl.js:801 ()
      H1.html?contextKey=45:80 ([object Array],(function () {egl.localeInfo = {locale: "zh_CN", nlsCode: "CHS", shortMask: "yyyy-MM-dd", mediumMask: "yyyy-MM-dd", longMask: "MM-dd-yyyy", currencySymbol: "\uFFFD\uFFFD", decimalSeparator: ".", groupingSeparator: ","};try {egl.handleIDEEvent();egl.rootHandler = new (egl.client.H1);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.H1) {egl.println("Internal generation error. Found no definition for client.H1. Try Project > Clean...", e);} else {egl.printError("Could not render UI", e);throw e;}}}))
      H1.html?contextKey=45:54 ()
      H1.html?contextKey=45:52 ([object Event])
      H1.html?contextKey=45:40 


egl.org.eclipse.edt.rui.mvc.InternalNumericFormatter is not a constructor
[CRRUI2094E] 以下是导致此错误的 EGL 函数调用:

    H1.<init>() [native JavaScript]

    () at line 7
egl.org.eclipse.edt.rui.mvc.InternalNumericFormatter is not a constructor
DragDropTest/client/H1.js?contextKey=45:7
[CRRUI2095E] 未能找到导致此错误的 EGL 函数调用

Reproducible: Always
Comment 1 Justin Spadea CLA 2011-11-10 12:55:59 EST
You forgot to attach the file. I tried a scenario with an int field zeroFormat=yes and zeroFormat=no and had no problems.
Comment 2 fahua jin CLA 2011-11-11 10:20:47 EST
Created attachment 206853 [details]
The sample EGL file.
Comment 3 fahua jin CLA 2011-11-11 10:21:44 EST
(In reply to comment #1)
> You forgot to attach the file. I tried a scenario with an int field
> zeroFormat=yes and zeroFormat=no and had no problems.

I attached the file, and the problem is still existed in 0.7.0.v201111110901.
Comment 4 Justin Spadea CLA 2011-11-11 14:34:11 EST
Fixed MVCTemplate.java to only look for internal libraries when @MVC is used.
Comment 5 fahua jin CLA 2011-11-13 21:26:42 EST
Verified in 0.7.0.v201111130901.