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

AnnotationTypeConverterLoader treats package as class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.15.0
    • 2.15.1, 2.16.0
    • camel-core
    • None
    • Unknown

    Description

      A package with an uppercase letter like

      org.wildfly.camel.test.core.subA
      

      would be treated as class leading to

      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)
      

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            tdiesler Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: