Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363940 - RUI handler ends with no error indication for uncaught exception
Summary: RUI handler ends with no error indication for uncaught exception
Status: CLOSED NOT_ECLIPSE
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: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-16 12:10 EST by Paul Hoffman CLA
Modified: 2017-02-23 14:17 EST (History)
1 user (show)

See Also:


Attachments
Test program showing problem. (839 bytes, application/octet-stream)
2011-11-16 12:10 EST, Paul Hoffman CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.