Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.2
-
Fix Version/s: Bug Backlog
-
Component/s: Core: Routing / Filters
-
Labels:None
-
Environment:
Linux/Ubuntu 8.04 Java Sun 1.6.0
-
User impact:High
-
Effort points:0.5
-
Similar Issues:None
Description
When an exception is thrown from a service which is called via a nested router, this exception is incorrectly delivered to the caller. Within Mule, this exception is wrapped in a ServiceException and transported over the Bus as an exception payload. Within the NestedInvocationHandler, the ServiceException itself is thrown to the caller. As ServiceException is a checked exception which is off course not declared on the interface implemented by the nested router, this results in a java.lang.reflect.UndeclaredThrowableException. The expected behaviour would be that the exception packed within the ServiceException would be thrown to the caller, as this exception is declared on the interface.
Activity
Jeroen Benckhuijsen
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | NestedInvocationHandler.patch [ 11820 ] |
Daniel Feist
made changes -
| Fix Version/s | 2.0.x Backlog [ 10352 ] |
Ross Mason
made changes -
| Priority | To be reviewed [ 6 ] | Critical [ 2 ] |
Daniel Feist
made changes -
| Fix Version/s | 2.x Backlog [ 10440 ] | |
| Fix Version/s | 2.0.x Backlog [ 10352 ] |
Daniel Feist
made changes -
| Effort points | 0.5 |
Daniel Feist
made changes -
| Fix Version/s | 2.x Backlog [ 10440 ] | |
| Fix Version/s | 2.1.x Backlog Candidates [ 10559 ] |
Daniel Feist
made changes -
| Fix Version/s | 2.1.x (to be PO reviewed) [ 10559 ] | |
| Fix Version/s | 2.1.x Backlog [ 10522 ] |
Daniel Feist
made changes -
| Assignee | Daniel Feist [ dfeist ] |
Daniel Feist
made changes -
| Priority | Critical [ 2 ] | Major [ 3 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Repository mule on http://foo.bar/ failed: Error in remote call to 'FishEye 0 (http://foo.bar/)' (http://foo.bar) [AbstractRestCommand{path='/rest-service-fe/changeset-v1/listChangesets/', params={expand=changesets[-21:-1].revisions[0:29], comment=MULE-3644, p4JobFixed=MULE-3644, rep=mule}, methodType=GET}] : java.net.UnknownHostException: foo.bar
Attached a patch which fixes the issue by unwrapping the original exception package in the ServiceException