Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5830

NullPointerException in DefaultCamelContext::stopRouteService

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.2
    • 2.9.5, 2.10.3, 2.11.0
    • camel-core
    • None
    • Debian Squeeze, Java 1.6.0_26, Apache Camel 2.10.2

    • Novice

    Description

      When an exception occures during the startup of a route Route::getConsumer() might return null.
      During the shutdown of this route the logging in DefaultCamelContext::stopRouteService yields to a NullPointerException:

      log.info("Route: " + route.getId() + " stopped, was consuming from: " + route.getConsumer().getEndpoint())

      Attachments

        Activity

          People

            njiang Willem Jiang
            kramer Ulrich Kramer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: