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

Bug 324333

Summary: remote service exception results in client timeout
Product: [RT] ECF Reporter: Bryan Hunt <bhunt>
Component: ecf.remoteservicesAssignee: Scott Lewis <slewis>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: jan.rosczak, slewis
Version: 3.3.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Bryan Hunt CLA 2010-09-02 13:54:57 EDT
If a remote service throws an exception, the client will timeout instead of receive the exception.  To reproduce, modify the org.eclipse.ecf.examples.remoteservices.hello example such that the hello() in IHello throws an exception, then change the host bundle implementation to actually throw the declared exception.  Run the host and client.  The client will timeout.
Comment 1 Scott Lewis CLA 2010-09-02 16:11:32 EDT
Which provider is showing this behavior?
Comment 2 Bryan Hunt CLA 2010-09-02 16:31:17 EDT
I think you call it the ECF generic server.  You can reproduce on the examples in CVS by only changing the code to throw an exception.
Comment 3 Scott Lewis CLA 2010-09-02 17:25:00 EDT
(In reply to comment #2)
> I think you call it the ECF generic server.  You can reproduce on the examples
> in CVS by only changing the code to throw an exception.

Yes it's the ECF generic provider.  I've reproduced and isolated, and am testing a fix now.  I expect the fix to be completed very shortly.  Short story...the exception handling code on the host distribution impl had a bug in it.
Comment 4 Scott Lewis CLA 2010-09-02 18:25:42 EDT
Fix released to HEAD and Release_3_3 stream.  Resolving as fixed.
Comment 5 Scott Lewis CLA 2010-09-14 10:10:17 EDT
*** Bug 325254 has been marked as a duplicate of this bug. ***