You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2009/10/20 16:25:52 UTC

[jira] Created: (SMX4NMR-166) ManagementAgent.register method should catch UndeclaredThrowableException also

ManagementAgent.register method should catch UndeclaredThrowableException also 
-------------------------------------------------------------------------------

                 Key: SMX4NMR-166
                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-166
             Project: ServiceMix NMR
          Issue Type: Bug
            Reporter: Freeman Fang
            Assignee: Freeman Fang
             Fix For: 1.1.0


Incase that the mbeanServer actually is a proxy reference.

Only catch NotCompliantMBeanException doesn't work in this case

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (SMX4NMR-166) ManagementAgent.register method should catch UndeclaredThrowableException also

Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4NMR-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eoghan Glynn reopened SMX4NMR-166:
----------------------------------


Actually it turns out the UndeclaredThrowableException is wrapping an InvocationTargetException which itself wraps the NotCompliantMBeanException.

> ManagementAgent.register method should catch UndeclaredThrowableException also 
> -------------------------------------------------------------------------------
>
>                 Key: SMX4NMR-166
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-166
>             Project: ServiceMix NMR
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 1.1.0
>
>
> Incase that the mbeanServer actually is a proxy reference.
> Only catch NotCompliantMBeanException doesn't work in this case

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (SMX4NMR-166) ManagementAgent.register method should catch UndeclaredThrowableException also

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4NMR-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SMX4NMR-166 started by Freeman Fang.

> ManagementAgent.register method should catch UndeclaredThrowableException also 
> -------------------------------------------------------------------------------
>
>                 Key: SMX4NMR-166
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-166
>             Project: ServiceMix NMR
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 1.1.0
>
>
> Incase that the mbeanServer actually is a proxy reference.
> Only catch NotCompliantMBeanException doesn't work in this case

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SMX4NMR-166) ManagementAgent.register method should catch UndeclaredThrowableException also

Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4NMR-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eoghan Glynn reassigned SMX4NMR-166:
------------------------------------

    Assignee: Eoghan Glynn  (was: Freeman Fang)

> ManagementAgent.register method should catch UndeclaredThrowableException also 
> -------------------------------------------------------------------------------
>
>                 Key: SMX4NMR-166
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-166
>             Project: ServiceMix NMR
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Eoghan Glynn
>             Fix For: 1.1.0
>
>
> Incase that the mbeanServer actually is a proxy reference.
> Only catch NotCompliantMBeanException doesn't work in this case

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SMX4NMR-166) ManagementAgent.register method should catch UndeclaredThrowableException also

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4NMR-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SMX4NMR-166.
----------------------------------

    Resolution: Fixed

commit fix 
http://svn.apache.org/viewvc?rev=827544&view=rev

> ManagementAgent.register method should catch UndeclaredThrowableException also 
> -------------------------------------------------------------------------------
>
>                 Key: SMX4NMR-166
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-166
>             Project: ServiceMix NMR
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 1.1.0
>
>
> Incase that the mbeanServer actually is a proxy reference.
> Only catch NotCompliantMBeanException doesn't work in this case

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SMX4NMR-166) ManagementAgent.register method should catch UndeclaredThrowableException also

Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4NMR-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eoghan Glynn resolved SMX4NMR-166.
----------------------------------

    Resolution: Fixed

Further fix in http://svn.apache.org/viewvc?rev=828664&view=rev

> ManagementAgent.register method should catch UndeclaredThrowableException also 
> -------------------------------------------------------------------------------
>
>                 Key: SMX4NMR-166
>                 URL: https://issues.apache.org/activemq/browse/SMX4NMR-166
>             Project: ServiceMix NMR
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Eoghan Glynn
>             Fix For: 1.1.0
>
>
> Incase that the mbeanServer actually is a proxy reference.
> Only catch NotCompliantMBeanException doesn't work in this case

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.