[
https://issues.apache.org/jira/browse/CAMEL-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hadrian Zbarcea reassigned CAMEL-3428:
--------------------------------------
Assignee: Hadrian Zbarcea
> DefaultCamelContext.getEndpoint(String name, Class<T> endpointType) throws
> Nullpointer for unknown endpoint
> -----------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-3428
> URL: https://issues.apache.org/jira/browse/CAMEL-3428
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.5.0
> Reporter: Thomas Jung
> Assignee: Hadrian Zbarcea
> Fix For: 2.6.0
>
> Attachments: camel.patch
>
>
> The method getEndpoint throws an NullPointerException when it's called with
> an unknown endpoint name:
> java.lang.NullPointerException
> at
> org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:480)
> at
> org.apache.camel.impl.DefaultCamelContextTest.testGetEndPointByTypeUnknown(DefaultCamelContextTest.java:95)
> The patch is attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.