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

[CAMEL-10253] NullPointer in ThrowExceptionProcessor.getTraceLabel

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: fuse-6.x-GA, fuse-7.0
    • 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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jpoth John Poth
                Reporter:
                rhn-support-kkakarla Kodanda Ramu Kakarla
                Tester:
                Tomas Turek
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: