[jboss-jira] [JBoss JIRA] Closed: (JBREM-769) Sucky error message when identity creation fails

David Lloyd (JIRA) jira-events at lists.jboss.org
Tue Jul 10 16:04:32 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBREM-769?page=all ]

David Lloyd closed JBREM-769.
-----------------------------

    Resolution: Done

> Sucky error message when identity creation fails
> ------------------------------------------------
>
>                 Key: JBREM-769
>                 URL: http://jira.jboss.com/jira/browse/JBREM-769
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jmx remoting
>    Affects Versions: 2.4.0.Beta1 (Pinto), 2.2.1.GA
>            Reporter: David Lloyd
>         Assigned To: David Lloyd
>             Fix For: 2.4.0.Beta1 (Pinto)
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> If Identity.get(mbeanServer) fails for any reason, the error message is not helpful since it obscures the original exception type and line number.
> Example stack trace from a user:
> Caused by: java.lang.RuntimeException: Exception creating identity: caesar: caesar
>         at org.jboss.remoting.ident.Identity.get(Identity.java:211)
>         at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268)
>         at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:966)
>         at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)
>         at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)
>         at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
>         ... 56 more
> Need to 1) substitute the original stack trace, and 2) identify original the exception type in the message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list