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


   ```
   Error: Unsupported features in 6 methods
   Detailed message:
   Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: 
Invoke with MethodHandle argument could not be reduced to at most a single call 
or single field access. The method handle must be a compile time constant, 
e.g., be loaded from a `static final` field. Method that contains the method 
handle invocation: java.lang.invoke.MethodHandle.invokeBasic(Object)
   To enable method handles that do not require LambdaForm interpretation (e.g. 
because of a call to MethodHandle.bindTo()) or to diagnose the issue, you can 
add the option --report-unsupported-elements-at-runtime. The error is then 
reported at run time when the invoke is executed and the method handle has to 
be interpreted.
   Trace: 
        at parsing 
java.lang.invoke.LambdaForm$MH/0x00000007c1e0a040.invoke_MT(LambdaForm$MH)
   Call path from entry point to 
java.lang.invoke.LambdaForm$MH/1529596092.invoke_MT(Object, Object, Object): 
        at 
java.lang.invoke.LambdaForm$MH/0x00000007c1e0a040.invoke_MT(LambdaForm$MH)
        at 
org.apache.solr.common.util.Utils.lambda$getReflectData$13(Utils.java:925)
        at 
org.apache.solr.common.util.Utils$$Lambda$1259/0x00000007c1e01840.write(Unknown 
Source)
        at org.apache.solr.common.util.Utils.reflectWrite(Utils.java:884)
        at 
org.apache.solr.common.util.ReflectMapWriter.writeMap(ReflectMapWriter.java:29)
        at java.util.IdentityHashMap.forEach(IdentityHashMap.java:1354)
        at 
com.oracle.svm.jni.JNIThreadOwnedMonitors.forEach(JNIThreadOwnedMonitors.java:70)
        at 
com.oracle.svm.jni.functions.JNIInvocationInterface$Support.releaseCurrentThreadOwnedMonitors(JNIInvocationInterface.java:328)
        at 
com.oracle.svm.jni.functions.JNIInvocationInterface.DetachCurrentThread(JNIInvocationInterface.java:249)
        at 
com.oracle.svm.core.code.IsolateEnterStub.JNIInvocationInterface_DetachCurrentThread_f2242e753d02cfb782eed29e0199d6a979dafc97(generated:0)
   Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: 
Invoke with MethodHandle argument could not be reduced to at most a single call 
or single field access. The method handle must be a compile time constant, 
e.g., be loaded from a `static final` field. Method that contains the method 
handle invocation: java.lang.invoke.MethodHandle.invokeBasic(Object)
   To enable method handles that do not require LambdaForm interpretation (e.g. 
because of a call to MethodHandle.bindTo()) or to diagnose the issue, you can 
add the option --report-unsupported-elements-at-runtime. The error is then 
reported at run time when the invoke is executed and the method handle has to 
be interpreted.
   Trace: 
        at parsing 
java.lang.invoke.LambdaForm$MH/0x00000007c1e0a840.invoke_MT(LambdaForm$MH)
   Call path from entry point to 
java.lang.invoke.LambdaForm$MH/536214076.invoke_MT(Object, Object, Object): 
        at 
java.lang.invoke.LambdaForm$MH/0x00000007c1e0a840.invoke_MT(LambdaForm$MH)
        at 
org.apache.solr.common.util.Utils.lambda$getReflectData$9(Utils.java:913)
        at 
org.apache.solr.common.util.Utils$$Lambda$1255/0x00000007c1e00840.write(Unknown 
Source)
        at org.apache.solr.common.util.Utils.reflectWrite(Utils.java:884)
        at 
org.apache.solr.common.util.ReflectMapWriter.writeMap(ReflectMapWriter.java:29)
        at org.apache.solr.common.MapWriter.toMap(MapWriter.java:46)
        at org.apache.solr.common.MapWriter$1.put(MapWriter.java:49)
        at 
org.apache.solr.common.MapWriter$EntryWriter.putNoEx(MapWriter.java:101)
        at 
org.apache.solr.common.MapWriter$EntryWriter.lambda$getBiConsumer$0(MapWriter.java:161)
        at 
org.apache.solr.common.MapWriter$EntryWriter$$Lambda$1145/0x00000007c1dcc040.accept(Unknown
 Source)
        at java.util.IdentityHashMap.forEach(IdentityHashMap.java:1354)
        at 
com.oracle.svm.jni.JNIThreadOwnedMonitors.forEach(JNIThreadOwnedMonitors.java:70)
        at 
com.oracle.svm.jni.functions.JNIInvocationInterface$Support.releaseCurrentThreadOwnedMonitors(JNIInvocationInterface.java:328)
        at 
com.oracle.svm.jni.functions.JNIInvocationInterface.DetachCurrentThread(JNIInvocationInterface.java:249)
        at 
com.oracle.svm.core.code.IsolateEnterStub.JNIInvocationInterface_DetachCurrentThread_f2242e753d02cfb782eed29e0199d6a979dafc97(generated:0)
   Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: 
Invoke with MethodHandle argument could not be reduced to at most a single call 
or single field access. The method handle must be a compile time constant, 
e.g., be loaded from a `static final` field. Method that contains the method 
handle invocation: java.lang.invoke.MethodHandle.invokeBasic(Object)
   To enable method handles that do not require LambdaForm interpretation (e.g. 
because of a call to MethodHandle.bindTo()) or to diagnose the issue, you can 
add the option --report-unsupported-elements-at-runtime. The error is then 
reported at run time when the invoke is executed and the method handle has to 
be interpreted.
   Trace: 
        at parsing 
java.lang.invoke.LambdaForm$MH/0x00000007c1e0b040.invoke_MT(LambdaForm$MH)
   Call path from entry point to 
java.lang.invoke.LambdaForm$MH/813948116.invoke_MT(Object, Object, Object): 
        at 
java.lang.invoke.LambdaForm$MH/0x00000007c1e0b040.invoke_MT(LambdaForm$MH)
        at 
org.apache.solr.common.util.Utils.lambda$getReflectData$12(Utils.java:922)
        at 
org.apache.solr.common.util.Utils$$Lambda$1258/0x00000007c1e01440.write(Unknown 
Source)
        at org.apache.solr.common.util.Utils.reflectWrite(Utils.java:884)
        at 
org.apache.solr.common.util.ReflectMapWriter.writeMap(ReflectMapWriter.java:29)
        at org.apache.solr.common.MapWriter.toMap(MapWriter.java:46)
        at org.apache.solr.common.MapWriter$1.put(MapWriter.java:49)
        at 
org.apache.solr.common.MapWriter$EntryWriter.putNoEx(MapWriter.java:101)
        at 
org.apache.solr.common.MapWriter$EntryWriter.lambda$getBiConsumer$0(MapWriter.java:161)
        at 
org.apache.solr.common.MapWriter$EntryWriter$$Lambda$1145/0x00000007c1dcc040.accept(Unknown
 Source)
        at java.util.IdentityHashMap.forEach(IdentityHashMap.java:1354)
        at 
com.oracle.svm.jni.JNIThreadOwnedMonitors.forEach(JNIThreadOwnedMonitors.java:70)
        at 
com.oracle.svm.jni.functions.JNIInvocationInterface$Support.releaseCurrentThreadOwnedMonitors(JNIInvocationInterface.java:328)
        at 
com.oracle.svm.jni.functions.JNIInvocationInterface.DetachCurrentThread(JNIInvocationInterface.java:249)
        at 
com.oracle.svm.core.code.IsolateEnterStub.JNIInvocationInterface_DetachCurrentThread_f2242e753d02cfb782eed29e0199d6a979dafc97(generated:0)
   Error: com.oracle.svm.hosted.substitute.DeletedElementException: Unsupported 
type java.lang.invoke.MemberName is reachable: All methods from 
java.lang.invoke should have been replaced during image building.
   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.
   Trace: 
        at parsing 
java.lang.invoke.MethodHandles$Lookup.findGetter(MethodHandles.java:1418)
   Call path from entry point to 
java.lang.invoke.MethodHandles$Lookup.findGetter(Class, String, Class): 
        at 
java.lang.invoke.MethodHandles$Lookup.findGetter(MethodHandles.java:1418)
        at org.apache.solr.common.util.Utils.getReflectData(Utils.java:924)
        at org.apache.solr.common.util.Utils.reflectWrite(Utils.java:878)
        at 
org.apache.solr.common.util.ReflectMapWriter.writeMap(ReflectMapWriter.java:29)
        at org.apache.solr.common.MapWriter.toMap(MapWriter.java:46)
        at org.apache.solr.common.MapWriter$1.put(MapWriter.java:49)
        at 
org.apache.solr.common.MapWriter$EntryWriter.putNoEx(MapWriter.java:101)
        at 
org.apache.solr.common.MapWriter$EntryWriter.lambda$getBiConsumer$0(MapWriter.java:161)
        at 
org.apache.solr.common.MapWriter$EntryWriter$$Lambda$1145/0x00000007c1dcc040.accept(Unknown
 Source)
        at java.util.IdentityHashMap.forEach(IdentityHashMap.java:1354)
        at 
com.oracle.svm.jni.JNIThreadOwnedMonitors.forEach(JNIThreadOwnedMonitors.java:70)
        at 
com.oracle.svm.jni.functions.JNIInvocationInterface$Support.releaseCurrentThreadOwnedMonitors(JNIInvocationInterface.java:328)
        at 
com.oracle.svm.jni.functions.JNIInvocationInterface.DetachCurrentThread(JNIInvocationInterface.java:249)
        at 
com.oracle.svm.core.code.IsolateEnterStub.JNIInvocationInterface_DetachCurrentThread_f2242e753d02cfb782eed29e0199d6a979dafc97(generated:0)
   
        at 
com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:129)
        at 
com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:763)
        ... 8 more
   ```


-- 
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:
[email protected]


Reply via email to