Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331191 - Confusing error message when the method of an invoke can't be found
Summary: Confusing error message when the method of an invoke can't be found
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-26 05:55 EST by Yvan Lussaud CLA
Modified: 2011-01-25 06:18 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yvan Lussaud CLA 2010-11-26 05:55:05 EST
When one enter some false information in the invoke:

invoke('classname', 'methodname(args)', Sequence{str})

For instance classname or nemthodname or args are mistaken. There is no compilation error (may try to find a way to provide a warning at least) and the runtime error is complaining about a null value returned by the service and not about the fact the service was not found.
Comment 1 Laurent Goubet CLA 2011-01-25 06:18:05 EST
When either the method or Class of a service call isn't found, the Error message now tells as such. Likewise, an exception occuring during a service call is now logged.