lburgazzoli edited a comment on issue #603: WIP - Prepare for Quarkus 1.2
URL: https://github.com/apache/camel-quarkus/pull/603#issuecomment-574646010
 
 
   I'm testing this PR and so far I've found some issues on tests that were 
previously working:
   
   1. On some tests, `BaseMainSupport.loadConfigurations` triggers the 
following error and I think the stack trace is unrelated as the same copde 
works on other tests but I'm unable to identify the error as the stracktrace is 
misleading:
   
   ```
   [camel-quarkus-integration-test-http-1.1.0-SNAPSHOT-runner:58666]     
analysis:  30,537.78 ms
   Fatal error: com.oracle.graal.pointsto.util.AnalysisError$ParsingError: 
Error encountered while parsing 
com.oracle.svm.reflect.ClassLoader_defineClass_c6c343b4d6dc22ca64eb2d8503b13ac9c340dcb3.invoke(java.lang.Object,
 java.lang.Object[])
   Parsing context:
       parsing java.lang.reflect.Method.invoke(Method.java:498)
       parsing 
org.apache.camel.support.ObjectHelper.invokeMethod(ObjectHelper.java:182)
       parsing 
org.apache.camel.main.BaseMainSupport.loadConfigurations(BaseMainSupport.java:467)
       parsing 
org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:522)
   ```
   
   2. the `jdbc` and `sql` tests fails with:
   
   ```
   [camel-quarkus-integration-test-jdbc-1.1.0-SNAPSHOT-runner:64494]     
analysis:  26,304.26 ms
   2 fatal errors detected:
   Fatal error: com.oracle.graal.pointsto.util.AnalysisError$ParsingError: 
Error encountered while parsing 
com.oracle.svm.reflect.Engine_getInstance_e48f9e2f1a3bb2d3099996112ca26ffbbf8b77da.invoke(java.lang.Object,
 java.lang.Object[])
   Parsing context:
       parsing java.lang.reflect.Method.invoke(Method.java:498)
       parsing 
javax.enterprise.util.AnnotationLiteral.invoke(AnnotationLiteral.java:288)
       parsing 
javax.enterprise.util.AnnotationLiteral.getMemberValue(AnnotationLiteral.java:276)
       parsing 
javax.enterprise.util.AnnotationLiteral.hashCode(AnnotationLiteral.java:246)
       parsing 
java.util.concurrent.CopyOnWriteArrayList.hashCode(CopyOnWriteArrayList.java:1062)
   ```
    the `jdbc` reports this has this as cause:
   
   ```
   Caused by: com.oracle.svm.hosted.substitute.DeletedElementException: 
Unsupported method org.h2.engine.Engine.getInstance() is reachable: The 
declaring class of this element has been substituted, but this element is not 
present in the substitution class
   To diagnose the issue, you can add the option 
--report-unsupported-elements-at-runtime. The unsupported element is then 
reported at run time when it is accessed the first time.
   ```
   
   3. Lot of test are start failing in native mode because the `native-image` 
complains about the lack of `com/fasterxml/jackson/databind/JsonSerializer` so 
I added `quarkus-jackson` as workaround but that smells to me.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to