Uploaded image for project: 'JBoss Remoting'
  1. JBoss Remoting
  2. JBREM-769

Sucky error message when identity creation fails

    XMLWordPrintable

    Details

    • Estimated Difficulty:
      Low

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dmlloyd David Lloyd
                  Reporter:
                  dmlloyd David Lloyd
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 15 minutes
                    15m
                    Remaining:
                    Remaining Estimate - 15 minutes
                    15m
                    Logged:
                    Time Spent - Not Specified
                    Not Specified