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

Bug 363732

Summary: Exception on call svc.invokeGet("http://www.ibm.com/... in ServiceSample
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Project Inbox <edt.website-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hjiyong, jqian, jvincens, mayunf, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-11-14 13:19:05 EST
Import org.eclipse.edt.rui.dojo.samples_0.7.0.
Open ServiceSample in dojo.samples.
Preview.
Click Call a good service.

Uncaught exception occurred during handling of undefined.onClick event
[CRRUI2002E] loadGoodNews
An error occurred inside ServiceSample: Object expected
[CRRUI2094E] Here are the EGL function calls leading to this error:

    org/eclipse/edt/rui/widgets/HTML.egl() at line 44
    dojo/samples/ServiceSample.egl() at line 50
    DojoButton.DojoButton.handleEvent() [native JavaScript]

Same with Call a broken service.

Error is on statement:
svc IRest? { @Resource{} };
call svc.invokeGet("http://www.ibm.com/developerworks/forums/rss/rssmessages.jspa?forumID=2275") 
returning to handleNews onException handleError;
Comment 1 Huang Ji Yong CLA 2011-11-15 04:06:58 EST
Hi Brian,
This is a problem of ServiceMonitorRuntime.js in the sample project.
Can you route this bug to someone who is familiar with service?
Thanks.
Comment 2 Brian Svihovec CLA 2011-11-17 08:49:37 EST
Service Monitor is a sample that is not shipping with the .7 release, so this one is not a high priority right now.
Comment 3 Joseph Vincens CLA 2011-11-29 22:42:35 EST
fixed
changes are in org.eclipse.edt.rui.dojo.samples_0.7.0
Comment 4 broy2 CLA 2011-11-30 10:29:48 EST
Verified 20111130.