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

Bug 363940

Summary: RUI handler ends with no error indication for uncaught exception
Product: z_Archived Reporter: Paul Hoffman <hoffmanp>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: jqian
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Test program showing problem. none

Description Paul Hoffman CLA 2011-11-16 12:10:50 EST
Created attachment 207101 [details]
Test program showing problem.

Exception occurs in RUI handler start outside of a try catch block.   No error indication is given.   Empty page is returned to browser.

Test program attached.

Run the handler as is to see the problem.

Then edit the handler and uncomment the try / end block statements.   Rerun and the exception will show up in the log.

Second issue:   exception message doesn't have any relation to the real problem:  overflow on assignment to a numeric variable.
Comment 1 Jing Qian CLA 2011-11-21 15:21:17 EST
You're seeing the empty page because you're using preview pane on windows, usually by default, it uses IE as browser, if you view the same page using external browser Firefox, you will see 

Decimal number = 1234.34
Decimal number = 1234.34
Could not render UI
[CRRUI2018E] Overflow when assigning 1234567.34 to type decimal
[CRRUI2094E] Here are the EGL function calls leading to this error:

    client/handlers/DecimalTest.egl() at line 23
    DecimalTest.<init>() [native JavaScript]

uncaught exception: [type=eglx.lang.NumericOverflowException, message=[CRRUI2018E] Overflow when assigning 1234567.34 to type decimal]
:0
[CRRUI2095E] Could not find the EGL function calls leading to this error
Comment 2 Paul Hoffman CLA 2012-03-30 15:51:49 EDT
Accepted response.