Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355197 - The statement “Call Service statement” onException report error.
Summary: The statement “Call Service statement” onException report error.
Status: CLOSED INVALID
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-08-19 05:32 EDT by Xiao Bin Chen CLA
Modified: 2017-02-23 14:15 EST (History)
2 users (show)

See Also:


Attachments
program code (11.55 KB, image/png)
2011-08-19 05:33 EDT, Xiao Bin Chen CLA
no flags Details
service code (5.39 KB, image/png)
2011-08-19 05:34 EDT, Xiao Bin Chen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xiao Bin Chen CLA 2011-08-19 05:32:17 EDT
Build Identifier: 

Please see the img.

Reproducible: Always

Steps to Reproduce:
1.create a service
2.create a basic program and a service instance in the program
3.write the right call back function and error handler function
4.although the error handler function is right ,but the error still show.
Comment 1 Xiao Bin Chen CLA 2011-08-19 05:33:29 EDT
Created attachment 201770 [details]
program code

program code
Comment 2 Xiao Bin Chen CLA 2011-08-19 05:34:18 EDT
Created attachment 201771 [details]
service code
Comment 3 Matt Heitz CLA 2011-08-19 09:54:43 EDT
Xiao Bin, what's the error message?  I typed in the code and got no errors.

My version of your program and service are below.

--- program

package test;

import egl.lang.AnyException;

program svctest

	asev BService;
	function main()
		call asev.hello() returning to callback onException dd;
	end
	
	function callback(s string in)
	end
	
	function dd(a AnyException in)
	end
end

--- service

package test;

service BService
	function hello() returns(string)
	end
end
Comment 4 Xiao Bin Chen CLA 2011-08-19 22:36:08 EDT
The error message is 
IWN.VAL.3398.e 14/55 test - The parameter at position 1 of function dd must have a type of egl.core.AnyException.

But After I update all of my plugin project , The error disappear. 
Thought it should be the
egl.core.AnyException was changed to egl.lang.AnyException.

So I closed the defects.


(In reply to comment #3)
> Xiao Bin, what's the error message?  I typed in the code and got no errors.
> 
> My version of your program and service are below.
> 
> --- program
> 
> package test;
> 
> import egl.lang.AnyException;
> 
> program svctest
> 
>     asev BService;
>     function main()
>         call asev.hello() returning to callback onException dd;
>     end
> 
>     function callback(s string in)
>     end
> 
>     function dd(a AnyException in)
>     end
> end
> 
> --- service
> 
> package test;
> 
> service BService
>     function hello() returns(string)
>     end
> end