You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/11/27 05:28:15 UTC
[GitHub] [camel-quarkus] davsclaus opened a new issue #477: Native compile
fails in some aggregation strategy which I am not using
davsclaus opened a new issue #477: Native compile fails in some aggregation strategy which I am not using
URL: https://github.com/apache/camel-quarkus/issues/477
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Unsupported method java.lang.reflect.Proxy.defineClass0(ClassLoader, String, byte[], int, int) is reachable: Native method. If you intend to use the Java Native Interface (JNI), specify -H:+JNI and see also -H:JNIConfigurationFiles=<path> (use -H:+PrintFlags for details)
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.
Detailed message:
Call path from entry point to java.lang.reflect.Proxy.defineClass0(ClassLoader, String, byte[], int, int):
at java.lang.reflect.Proxy.defineClass0(Proxy.java)
at java.lang.reflect.Proxy.access$300(Proxy.java:228)
at com.oracle.svm.reflect.Proxy_access$300_c7f2160d72324f8fd5d02e2aa54a3c3562bea247_48.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.camel.processor.aggregate.AggregationStrategyMethodInfo.invoke(AggregationStrategyMethodInfo.java:66)
at org.apache.camel.processor.aggregate.AggregationStrategyBeanAdapter.aggregate(AggregationStrategyBeanAdapter.java:143)
at org.apache.camel.processor.PollEnricher.process(PollEnricher.java:275)
at org.apache.camel.processor.Resequencer.processExchange(Resequencer.java:302)
at org.apache.camel.processor.Resequencer$BatchSender.sendExchanges(Resequencer.java:530)
at org.apache.camel.processor.Resequencer$BatchSender.run(Resequencer.java:455)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:460)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:193)
at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:130)
at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:579)
... 6 more
Error: Image build request failed with exit status 1
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services