camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8556) AnnotationTypeConverterLoader treats package as class
Date Thu, 26 Mar 2015 13:43:53 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-8556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14381886#comment-14381886
] 

ASF GitHub Bot commented on CAMEL-8556:
---------------------------------------

GitHub user tdiesler opened a pull request:

    https://github.com/apache/camel/pull/446

    [CAMEL-8556] AnnotationTypeConverterLoader treats package as class

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tdiesler/camel CAMEL-8556

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/446.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #446
    
----
commit f2f46faa82e3491ef86888ef29e2890132a6bb49
Author: Thomas Diesler <thomas.diesler@jboss.com>
Date:   2015-03-26T13:41:47Z

    [CAMEL-8556] AnnotationTypeConverterLoader treats package as class

----


> AnnotationTypeConverterLoader treats package as class
> -----------------------------------------------------
>
>                 Key: CAMEL-8556
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8556
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.15.0
>            Reporter: Thomas Diesler
>             Fix For: 2.15.1
>
>
> A package with an uppercase letter like 
> {code}
> org.wildfly.camel.test.core.subA
> {code}
> would be treated as class leading to 
> {code}
> Caused by: java.lang.NullPointerException
> 	at org.apache.camel.impl.converter.AnnotationTypeConverterLoader.loadConverterMethods(AnnotationTypeConverterLoader.java:262)
> 	at org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load(AnnotationTypeConverterLoader.java:130)
> 	at org.apache.camel.impl.converter.BaseTypeConverterRegistry.loadTypeConverters(BaseTypeConverterRegistry.java:544)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message