Accumulo
  1. Accumulo
  2. ACCUMULO-2390

TraceProxy.trace should not throw InvocationTargetException

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.4, 1.5.0
    • Fix Version/s: 1.4.5, 1.5.1, 1.6.0
    • Component/s: trace
    • Labels:

      Description

      In TraceProxy.trace there is the following code snippet:

              try {
                return method.invoke(instance, args);
              } catch (Throwable ex) {
                ex.printStackTrace();
                throw ex;
              }
      

      When this is an InvocationTargetException, it can really mess with the calling code's exception handling logic.

        Issue Links

          Activity

          Mike Drob made changes -
          Labels logging
          Mike Drob made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 1.5.1 [ 12324399 ]
          Fix Version/s 1.5.2 [ 12326272 ]
          Resolution Fixed [ 1 ]
          Mike Drob made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Mike Drob made changes -
          Fix Version/s 1.4.5 [ 12324754 ]
          Fix Version/s 1.6.0 [ 12322468 ]
          Fix Version/s 1.5.2 [ 12326272 ]
          Mike Drob made changes -
          Affects Version/s 1.5.0 [ 12318645 ]
          Affects Version/s 1.4.4 [ 12324151 ]
          Mike Drob made changes -
          Field Original Value New Value
          Remote Link This issue links to "review (Web Link)" [ 14217 ]
          Mike Drob created issue -

            People

            • Assignee:
              Mike Drob
              Reporter:
              Mike Drob
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development