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

Bug 364783

Summary: "EGL0028E: An exception occurred while calling a service." at first time
Product: z_Archived Reporter: Huo Zhen Zhong <huozz>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: jvincens
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
sample none

Description Huo Zhen Zhong CLA 2011-11-25 00:46:55 EST
Import the attached project and deploy it on Tomcat 6, request "http://localhost:8080/targetTest/TestHandler.html" in browser, click the button, you will get "EGL0028E: An exception occurred while calling a service.", click the button again, the invoke of the service will be OK.
Comment 1 Huo Zhen Zhong CLA 2011-11-25 03:16:52 EST
Created attachment 207516 [details]
sample
Comment 2 Huo Zhen Zhong CLA 2011-11-25 03:19:23 EST
You need first deploy rui project to a web project.
Comment 3 Joseph Vincens CLA 2011-11-25 10:07:08 EST
I get no exception. I get 
on button clicked
service3:4 is called
service3:2 is called
service3:1 is called
service2 is called
service3:3 is called
service1 is called
If the problem still happens on your system change you exception handler to check for a ServiceInvocationException and print detail3. Or you can print the raw response (see below) which will contain the same information it's just not as pretty.
    function serviceExceptionHandler(exp AnyException in, http IHttp in)
    	Syslib.writeStdout(http.getResponse().body);
    	Syslib.writeStdout(exp.message);
    end
Comment 4 Huo Zhen Zhong CLA 2011-11-27 21:22:29 EST
not occurs in 0.7.0.v201111270901