[
https://issues.apache.org/jira/browse/FELIX-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713489#action_12713489
]
S. Ali Tokmen commented on FELIX-1183:
--------------------------------------
I guess I've found the source of the issue:
Class: org.apache.felix.ipojo.handlers.jmx.DynamicMBeanImpl
Method: invoke (line 159)
I see that method has a clear "printStackTrace" call. It should instead throw
it back to the caller.
> iPOJO JMX handler doesn't rethrow exceptions
> ---------------------------------------------
>
> Key: FELIX-1183
> URL: https://issues.apache.org/jira/browse/FELIX-1183
> Project: Felix
> Issue Type: Bug
> Components: iPOJO
> Affects Versions: iPOJO-1.4.0
> Environment: SNAPSHOT version, SVN revision 37639
> Reporter: S. Ali Tokmen
>
> When we create an MBean with iPOJO (metadata-based dynamic MBean), if any
> method invoke throws an exception, the exception is not rethrown to the
> caller.
> Instead, the exception's stack trace is printed back on the OSGi gateway's
> system.out and the JMX caller gets a "null" return.
> Normally, we expect the JMX call to throw an exception if the MBean has
> thrown one.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.