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

[CAMEL-10253] NullPointer in ThrowExceptionProcessor.getTraceLabel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • fuse-7.0, fuse-6.x-GA
    • jboss-fuse-6.3
    • Camel
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: