[
https://issues.apache.org/jira/browse/CAMEL-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Jung updated CAMEL-3428:
-------------------------------
Description:
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.
was:
java.lang.NullPointerException
at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:480)
at
org.apache.camel.impl.DefaultCamelContextTest.testGetEndPointByTypeUnknown(DefaultCamelContextTest.java:95)
> 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
> 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.