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

JMX - exceptions are ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.3.1, 4.3.2
    • 4.3.3
    • karaf
    • None

    Description

      Fix of KARAF-6654 causes all JMX operations to hide exceptions thrown to client. In other words, whenever I call karaf operation via JMX, and an exception is thrown, I do not see this exception happening.

      Reason is this code by ffang in org.apache.karaf.management.internal.MBeanInvocationHandler:

      try {
          return method.invoke(wrapped, args);
      } catch (InvocationTargetException e) {
          return null;
      }
      

      It does exactly what it says, ignores the exception and returns null. My JMX client gets the null value, and no exception.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              rastislav.papp Rastislav Papp
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: