Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-7550

MBeanInvocationHandler should throw the cause of InvocationTargetException, not ITE itself

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.3.3
    • 4.3.8, 4.4.2
    • None
    • None

    Description

      KARAF-7234 fixed KARAF-6654 by throwing the exception from MBean invocation instead of returning null.
      However, the exception thrown by org.apache.karaf.management.internal.MBeanInvocationHandler#invoke() should be the cause of java.lang.reflect.InvocationTargetException, not this exception itself.

      Now, jconsole gets UndeclaredThrowableException instead of the actual exception.

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            ggrzybek Grzegorz Grzybek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: