You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ulrich Kramer (JIRA)" <ji...@apache.org> on 2012/11/28 09:18:58 UTC

[jira] [Created] (CAMEL-5830) NullPointerException in DefaultCamelContext::stopRouteService

Ulrich Kramer created CAMEL-5830:
------------------------------------

             Summary: NullPointerException in DefaultCamelContext::stopRouteService
                 Key: CAMEL-5830
                 URL: https://issues.apache.org/jira/browse/CAMEL-5830
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.10.2
         Environment: Debian Squeeze, Java 1.6.0_26, Apache Camel 2.10.2
            Reporter: Ulrich Kramer
             Fix For: 2.10.3


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())

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CAMEL-5830) NullPointerException in DefaultCamelContext::stopRouteService

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-5830:
-----------------------------------

    Assignee: Willem Jiang
    
> NullPointerException in DefaultCamelContext::stopRouteService
> -------------------------------------------------------------
>
>                 Key: CAMEL-5830
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5830
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.2
>         Environment: Debian Squeeze, Java 1.6.0_26, Apache Camel 2.10.2
>            Reporter: Ulrich Kramer
>            Assignee: Willem Jiang
>             Fix For: 2.10.3
>
>
> 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())

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-5830) NullPointerException in DefaultCamelContext::stopRouteService

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5830.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.11.0
                   2.9.5
    
> NullPointerException in DefaultCamelContext::stopRouteService
> -------------------------------------------------------------
>
>                 Key: CAMEL-5830
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5830
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.2
>         Environment: Debian Squeeze, Java 1.6.0_26, Apache Camel 2.10.2
>            Reporter: Ulrich Kramer
>            Assignee: Willem Jiang
>             Fix For: 2.9.5, 2.10.3, 2.11.0
>
>
> 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())

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira