Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9162

[CAMEL-10253] NullPointer in ThrowExceptionProcessor.getTraceLabel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: fuse-7.0, fuse-6.x-GA
    • Component/s: Camel
    • Labels:
      None

      Description

      https://issues.apache.org/jira/browse/CAMEL-10253
      Workaround:
      Declare exception as bean:
      <bean id="illegalArgumentException" class="java.lang.IllegalArgumentException"/>
      and then throw exception like:
      <throwException message="Unknown operation ${header.operationName} called"
      exceptionType="java.lang.IllegalArgumentException" ref="illegalArgumentException"/>
      This way both the type and the exception is set so that no nullpointer can happen.

      Where are you experiencing the behavior? What environment?

      JBoss Fuse 6.3.0 R3 - R8

        Attachments

          Activity

            People

            Assignee:
            johnpoth John Poth
            Reporter:
            rhn-support-kkakarla kodandaRamu kakarla
            Tester:
            Tomas Turek Tomas Turek
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: