gsmet commented on issue #603: WIP - Prepare for Quarkus 1.2 URL: https://github.com/apache/camel-quarkus/pull/603#issuecomment-574652155 Oh and about H2, are you using it in a native image? If you are using the JDBC driver, you should have the H2 extension. Are they new tests from new extensions? It’s really weird we have these issues now. GraalVM 19.3.1 is not that different from the previous version. > Le 15 janv. 2020 à 13:50, Luca Burgazzoli <notificati...@github.com> a écrit : > > I'm testing this PR and so far I've found some issues on tests that were previously working: > > 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) > the jdbc 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) > > --- > 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. > 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. > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or unsubscribe.
---------------------------------------------------------------- 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