[GitHub] [camel-quarkus] theseeker58 opened a new issue #2449: camel-quarkus-dozer Error when running native executable

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-quarkus] theseeker58 opened a new issue #2449: camel-quarkus-dozer Error when running native executable

GitBox

theseeker58 opened a new issue #2449:
URL: https://github.com/apache/camel-quarkus/issues/2449


   Hi,
   I get this exception when running native executable that uses Dozer to map objects in a route.
     Dest field type: java.util.Date:
   com.github.dozermapper.core.converters.ConversionException:
   java.lang.NoSuchMethodException: java.util.Date.<init>(long)
       at com.github.dozermapper.core.converters.DateConverter.convert(DateConverter.java:102)
       at com.github.dozermapper.core.converters.PrimitiveOrWrapperConverter.convert(PrimitiveOrWrapperConverter.java:84)
       at com.github.dozermapper.core.MappingProcessor.mapOrRecurseObject(MappingProcessor.java:496)
       at com.github.dozermapper.core.MappingProcessor.mapFromFieldMap(MappingProcessor.java:404)
       at com.github.dozermapper.core.MappingProcessor.mapField(MappingProcessor.java:354)
       at com.github.dozermapper.core.MappingProcessor.map(MappingProcessor.java:314)
       at com.github.dozermapper.core.MappingProcessor.mapToDestObject(MappingProcessor.java:263)
       at com.github.dozermapper.core.MappingProcessor.createByCreationDirectiveAndMap(MappingProcessor.java:236)
       at com.github.dozermapper.core.MappingProcessor.mapGeneral(MappingProcessor.java:209)
       ...
   To make it working I had to register for reflection java.util.Date.
   I guess if it's the right approach or if it should be made implicitly by the component itself, as it is stated as native.
   
   Thanks


--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-quarkus] aldettinger closed issue #2449: camel-quarkus-dozer Error when running native executable

GitBox

aldettinger closed issue #2449:
URL: https://github.com/apache/camel-quarkus/issues/2449


   


--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]