question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kogito native quickstarts failing

See original GitHub issue

Describe the bug

See https://github.com/quarkusio/quarkus-quickstarts/runs/4219679853?check_suite_focus=true

2021-11-16T03:38:22.9188558Z [INFO] --- quarkus-maven-plugin:999-SNAPSHOT:build (default) @ kogito-pmml-quickstart ---
2021-11-16T03:38:23.6560662Z [INFO] [org.jboss.threads] JBoss Threads version 3.4.2.Final
2021-11-16T03:38:23.8609650Z [INFO] Performed addonsConfig discovery, found: AddonsConfig{usePersistence=false, useTracing=false, useMonitoring=false, usePrometheusMonitoring=false, useCloudEvents=false, useExplainability=false, useProcessSVG=false, useEventDrivenDecisions=false, useEventDrivenRules=false}
2021-11-16T03:38:24.0865603Z [INFO] Performed addonsConfig discovery, found: AddonsConfig{usePersistence=false, useTracing=false, useMonitoring=false, usePrometheusMonitoring=false, useCloudEvents=false, useExplainability=false, useProcessSVG=false, useEventDrivenDecisions=false, useEventDrivenRules=false}
2021-11-16T03:38:25.7473352Z [INFO] Generator discovery performed, found [openapispecs, processes, rules, decisions, predictions]
2021-11-16T03:38:25.7475348Z [INFO] Skipping generator 'openapispecs' because disabled
2021-11-16T03:38:25.7476423Z [INFO] Skipping generator 'processes' because disabled
2021-11-16T03:38:25.7479432Z [INFO] Skipping generator 'decisions' because disabled
2021-11-16T03:38:26.5811368Z [INFO] Performed addonsConfig discovery, found: AddonsConfig{usePersistence=false, useTracing=false, useMonitoring=false, usePrometheusMonitoring=false, useCloudEvents=false, useExplainability=false, useProcessSVG=false, useEventDrivenDecisions=false, useEventDrivenRules=false}
2021-11-16T03:38:26.5850591Z [INFO] No Java source to compile
2021-11-16T03:38:27.8125771Z [INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native image source jar: /home/runner/work/quarkus-quickstarts/quarkus-quickstarts/kogito-pmml-quickstart/target/kogito-pmml-quickstart-1.0.0-SNAPSHOT-native-image-source-jar/kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner.jar
2021-11-16T03:38:27.9908551Z [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from /home/runner/work/quarkus-quickstarts/quarkus-quickstarts/kogito-pmml-quickstart/target/kogito-pmml-quickstart-1.0.0-SNAPSHOT-native-image-source-jar/kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner.jar
2021-11-16T03:38:28.2243755Z [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner] Using docker to run the native image builder
2021-11-16T03:38:28.2261153Z [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner] Checking image status quay.io/quarkus/ubi-quarkus-native-image:21.3-java11
2021-11-16T03:38:28.6940864Z 21.3-java11: Pulling from quarkus/ubi-quarkus-native-image
2021-11-16T03:38:28.6948986Z Digest: sha256:bc3a145202714fb9f0da019b0a7659d49c672d830f0e232eee6422b6abe8f855
2021-11-16T03:38:28.6952526Z Status: Image is up to date for quay.io/quarkus/ubi-quarkus-native-image:21.3-java11
2021-11-16T03:38:28.6953777Z quay.io/quarkus/ubi-quarkus-native-image:21.3-java11
2021-11-16T03:38:30.0458825Z [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM 21.3.0 Java 11 CE (Java Version 11.0.13+7-jvmci-21.3-b05)
2021-11-16T03:38:30.0606306Z [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm --user 1001:121 -v /home/runner/work/quarkus-quickstarts/quarkus-quickstarts/kogito-pmml-quickstart/target/kogito-pmml-quickstart-1.0.0-SNAPSHOT-native-image-source-jar:/project:z --name build-native-jZmAi quay.io/quarkus/ubi-quarkus-native-image:21.3-java11 -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=3 -J-Duser.language=en -J-Duser.country= -J-Dfile.encoding=UTF-8 -H:-ParseOnce -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime -H:+JNI -H:+AllowFoldMethods -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:EnableURLProtocols=http -H:-UseServiceLoaderFeature -H:+StackTrace kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner -jar kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner.jar
2021-11-16T03:38:42.7372950Z [kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner:27]    classlist:  10,631.46 ms,  1.68 GB
2021-11-16T03:38:44.1430765Z [kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner:27]        (cap):     618.22 ms,  1.68 GB
2021-11-16T03:38:45.4793291Z [kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner:27]        setup:   2,734.19 ms,  1.68 GB
2021-11-16T03:38:45.6207834Z The bundle named: messages, has not been found. If the bundle is part of a module, verify the bundle name is a fully qualified class name. Otherwise verify the bundle path is accessible in the classpath.
2021-11-16T03:39:01.8130503Z 03:39:01,801 INFO  [org.jbo.threads] JBoss Threads version 3.4.2.Final
2021-11-16T03:39:06.4657618Z ANTLR Tool version 4.8 used for code generation does not match the current runtime version 4.9.2
2021-11-16T03:39:06.4663504Z ANTLR Runtime version 4.8 used for parser compilation does not match the current runtime version 4.9.2
2021-11-16T03:39:06.4743578Z ANTLR Tool version 4.8 used for code generation does not match the current runtime version 4.9.2
2021-11-16T03:39:06.4751150Z ANTLR Runtime version 4.8 used for parser compilation does not match the current runtime version 4.9.2
2021-11-16T03:39:59.4839401Z [kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner:27]     (clinit):     789.29 ms,  2.76 GB
2021-11-16T03:39:59.6516585Z [kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner:27]   (typeflow):   6,300.97 ms,  2.76 GB
2021-11-16T03:39:59.6549258Z [kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner:27]    (objects):  57,283.52 ms,  2.76 GB
2021-11-16T03:39:59.6568293Z [kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner:27]   (features):   7,557.12 ms,  2.76 GB
2021-11-16T03:39:59.7478789Z [kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner:27]     analysis:  74,022.63 ms,  2.76 GB
2021-11-16T03:39:59.7524461Z Error: No instances of java.io.FilePermission are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use --trace-object-instantiation=java.io.FilePermission.
2021-11-16T03:39:59.7526105Z Detailed message:
2021-11-16T03:39:59.7526698Z Trace: Object was reached by 
2021-11-16T03:39:59.7527660Z 	reading field java.util.concurrent.ConcurrentHashMap$Node.val of
2021-11-16T03:39:59.7528922Z 		constant java.util.concurrent.ConcurrentHashMap$Node@22526011 reached by 
2021-11-16T03:39:59.7529827Z 	indexing into array
2021-11-16T03:39:59.7531016Z 		constant java.util.concurrent.ConcurrentHashMap$Node[]@6cd0890b reached by 
2021-11-16T03:39:59.7532314Z 	reading field java.util.concurrent.ConcurrentHashMap.table of
2021-11-16T03:39:59.7533979Z 		constant java.util.concurrent.ConcurrentHashMap@76bd30c3 reached by 
2021-11-16T03:39:59.7536024Z 	reading field java.io.FilePermissionCollection.perms of
2021-11-16T03:39:59.7537587Z 		constant java.io.FilePermissionCollection@2fc9853e reached by 
2021-11-16T03:39:59.7539196Z 	reading field java.util.concurrent.ConcurrentHashMap$Node.val of
2021-11-16T03:39:59.7540505Z 		constant java.util.concurrent.ConcurrentHashMap$Node@24eb44fa reached by 
2021-11-16T03:39:59.7541862Z 	indexing into array
2021-11-16T03:39:59.7543095Z 		constant java.util.concurrent.ConcurrentHashMap$Node[]@1c32666c reached by 
2021-11-16T03:39:59.7545008Z 	reading field java.util.concurrent.ConcurrentHashMap.table of
2021-11-16T03:39:59.7546541Z 		constant java.util.concurrent.ConcurrentHashMap@6570604f reached by 
2021-11-16T03:39:59.7548225Z 	reading field java.security.Permissions.permsMap of
2021-11-16T03:39:59.7549914Z 		constant java.security.Permissions@557d7bbc reached by 
2021-11-16T03:39:59.7551795Z 	reading field java.security.ProtectionDomain.permissions of
2021-11-16T03:39:59.7553103Z 		constant java.security.ProtectionDomain@3633aed reached by 
2021-11-16T03:39:59.7575625Z 	scanning method org.drools.core.rule.JavaDialectRuntimeData.access$200(JavaDialectRuntimeData.java:64)
2021-11-16T03:39:59.7577430Z Call path from entry point to org.drools.core.rule.JavaDialectRuntimeData.access$200(): 
2021-11-16T03:39:59.7579155Z 	at org.drools.core.rule.JavaDialectRuntimeData.access$200(JavaDialectRuntimeData.java:64)
2021-11-16T03:39:59.7581014Z 	at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.writeClass(JavaDialectRuntimeData.java:648)
2021-11-16T03:39:59.7583114Z 	at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.internalDefineClass(JavaDialectRuntimeData.java:618)
2021-11-16T03:39:59.7585229Z 	at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.fastFindClass(JavaDialectRuntimeData.java:589)
2021-11-16T03:39:59.7587212Z 	at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.loadClass(JavaDialectRuntimeData.java:566)
2021-11-16T03:39:59.7588817Z 	at com.oracle.svm.core.jdk.Target_java_lang_ClassLoader.loadClass(Target_java_lang_ClassLoader.java:139)
2021-11-16T03:39:59.7590659Z 	at org.kie.kogito.rules.units.AssignableChecker$ClassLoaderSafeAssignableChecker.lambda$isAssignableFrom$0(AssignableChecker.java:57)
2021-11-16T03:39:59.7592769Z 	at org.kie.kogito.rules.units.AssignableChecker$ClassLoaderSafeAssignableChecker$$Lambda$1409/0x00000007c2668840.apply(Unknown Source)
2021-11-16T03:39:59.7594190Z 	at sun.security.ec.XECParameters$1.get(XECParameters.java:183)
2021-11-16T03:39:59.7595942Z 	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:216)
2021-11-16T03:39:59.7598293Z 	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:169)
2021-11-16T03:39:59.7600219Z 	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:287)
2021-11-16T03:39:59.7602430Z 	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_System_getProperty_deeeaa72a006d330408a3b7d002c7533e108bc28(generated:0)
2021-11-16T03:39:59.7603494Z 
2021-11-16T03:39:59.7605491Z com.oracle.svm.core.util.UserError$UserException: No instances of java.io.FilePermission are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use --trace-object-instantiation=java.io.FilePermission.
2021-11-16T03:39:59.7607029Z Detailed message:
2021-11-16T03:39:59.7607441Z Trace: Object was reached by 
2021-11-16T03:39:59.7608222Z 	reading field java.util.concurrent.ConcurrentHashMap$Node.val of
2021-11-16T03:39:59.7609414Z 		constant java.util.concurrent.ConcurrentHashMap$Node@22526011 reached by 
2021-11-16T03:39:59.7610155Z 	indexing into array
2021-11-16T03:39:59.7610905Z 		constant java.util.concurrent.ConcurrentHashMap$Node[]@6cd0890b reached by 
2021-11-16T03:39:59.7612089Z 	reading field java.util.concurrent.ConcurrentHashMap.table of
2021-11-16T03:39:59.7613242Z 		constant java.util.concurrent.ConcurrentHashMap@76bd30c3 reached by 
2021-11-16T03:39:59.7614312Z 	reading field java.io.FilePermissionCollection.perms of
2021-11-16T03:39:59.7615432Z 		constant java.io.FilePermissionCollection@2fc9853e reached by 
2021-11-16T03:39:59.7616450Z 	reading field java.util.concurrent.ConcurrentHashMap$Node.val of
2021-11-16T03:39:59.7617566Z 		constant java.util.concurrent.ConcurrentHashMap$Node@24eb44fa reached by 
2021-11-16T03:39:59.7618307Z 	indexing into array
2021-11-16T03:39:59.7619057Z 		constant java.util.concurrent.ConcurrentHashMap$Node[]@1c32666c reached by 
2021-11-16T03:39:59.7620239Z 	reading field java.util.concurrent.ConcurrentHashMap.table of
2021-11-16T03:39:59.7621432Z 		constant java.util.concurrent.ConcurrentHashMap@6570604f reached by 
2021-11-16T03:39:59.7622439Z 	reading field java.security.Permissions.permsMap of
2021-11-16T03:39:59.7623314Z 		constant java.security.Permissions@557d7bbc reached by 
2021-11-16T03:39:59.7624307Z 	reading field java.security.ProtectionDomain.permissions of
2021-11-16T03:39:59.7625342Z 		constant java.security.ProtectionDomain@3633aed reached by 
2021-11-16T03:39:59.7626713Z 	scanning method org.drools.core.rule.JavaDialectRuntimeData.access$200(JavaDialectRuntimeData.java:64)
2021-11-16T03:39:59.7628388Z Call path from entry point to org.drools.core.rule.JavaDialectRuntimeData.access$200(): 
2021-11-16T03:39:59.7630020Z 	at org.drools.core.rule.JavaDialectRuntimeData.access$200(JavaDialectRuntimeData.java:64)
2021-11-16T03:39:59.7631862Z 	at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.writeClass(JavaDialectRuntimeData.java:648)
2021-11-16T03:39:59.7633975Z 	at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.internalDefineClass(JavaDialectRuntimeData.java:618)
2021-11-16T03:39:59.7636101Z 	at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.fastFindClass(JavaDialectRuntimeData.java:589)
2021-11-16T03:39:59.7638075Z 	at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.loadClass(JavaDialectRuntimeData.java:566)
2021-11-16T03:39:59.7639679Z 	at com.oracle.svm.core.jdk.Target_java_lang_ClassLoader.loadClass(Target_java_lang_ClassLoader.java:139)
2021-11-16T03:39:59.7641494Z 	at org.kie.kogito.rules.units.AssignableChecker$ClassLoaderSafeAssignableChecker.lambda$isAssignableFrom$0(AssignableChecker.java:57)
2021-11-16T03:39:59.7644502Z 	at org.kie.kogito.rules.units.AssignableChecker$ClassLoaderSafeAssignableChecker$$Lambda$1409/0x00000007c2668840.apply(Unknown Source)
2021-11-16T03:39:59.7645948Z 	at sun.security.ec.XECParameters$1.get(XECParameters.java:183)
2021-11-16T03:39:59.7647703Z 	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:216)
2021-11-16T03:39:59.7650039Z 	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:169)
2021-11-16T03:39:59.7651928Z 	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:287)
2021-11-16T03:39:59.7653607Z 	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_System_getProperty_deeeaa72a006d330408a3b7d002c7533e108bc28(generated:0)
2021-11-16T03:39:59.7654655Z 
2021-11-16T03:39:59.7655363Z 	at com.oracle.svm.core.util.UserError.abort(UserError.java:87)
2021-11-16T03:39:59.7656803Z 	at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:233)
2021-11-16T03:39:59.7658802Z 	at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:759)
2021-11-16T03:39:59.7660728Z 	at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:529)
2021-11-16T03:39:59.7662307Z 	at com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:488)
2021-11-16T03:39:59.7664217Z 	at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:403)
2021-11-16T03:39:59.7666376Z 	at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:569)
2021-11-16T03:39:59.7668390Z 	at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:122)
2021-11-16T03:39:59.7670340Z 	at com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:599)
2021-11-16T03:39:59.7673716Z Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: No instances of java.io.FilePermission are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use --trace-object-instantiation=java.io.FilePermission.
2021-11-16T03:39:59.7675824Z Detailed message:
2021-11-16T03:39:59.7676239Z Trace: Object was reached by 
2021-11-16T03:39:59.7677012Z 	reading field java.util.concurrent.ConcurrentHashMap$Node.val of
2021-11-16T03:39:59.7678118Z 		constant java.util.concurrent.ConcurrentHashMap$Node@22526011 reached by 
2021-11-16T03:39:59.7678860Z 	indexing into array
2021-11-16T03:39:59.7679623Z 		constant java.util.concurrent.ConcurrentHashMap$Node[]@6cd0890b reached by 
2021-11-16T03:39:59.7680786Z 	reading field java.util.concurrent.ConcurrentHashMap.table of
2021-11-16T03:39:59.7682054Z 		constant java.util.concurrent.ConcurrentHashMap@76bd30c3 reached by 
2021-11-16T03:39:59.7683138Z 	reading field java.io.FilePermissionCollection.perms of
2021-11-16T03:39:59.7684127Z 		constant java.io.FilePermissionCollection@2fc9853e reached by 
2021-11-16T03:39:59.7685140Z 	reading field java.util.concurrent.ConcurrentHashMap$Node.val of
2021-11-16T03:39:59.7686237Z 		constant java.util.concurrent.ConcurrentHashMap$Node@24eb44fa reached by 
2021-11-16T03:39:59.7686987Z 	indexing into array
2021-11-16T03:39:59.7687748Z 		constant java.util.concurrent.ConcurrentHashMap$Node[]@1c32666c reached by 
2021-11-16T03:39:59.7688907Z 	reading field java.util.concurrent.ConcurrentHashMap.table of
2021-11-16T03:39:59.7690058Z 		constant java.util.concurrent.ConcurrentHashMap@6570604f reached by 
2021-11-16T03:39:59.7691080Z 	reading field java.security.Permissions.permsMap of
2021-11-16T03:39:59.7691925Z 		constant java.security.Permissions@557d7bbc reached by 
2021-11-16T03:39:59.7692912Z 	reading field java.security.ProtectionDomain.permissions of
2021-11-16T03:39:59.7693961Z 		constant java.security.ProtectionDomain@3633aed reached by 
2021-11-16T03:39:59.7695322Z 	scanning method org.drools.core.rule.JavaDialectRuntimeData.access$200(JavaDialectRuntimeData.java:64)
2021-11-16T03:39:59.7696980Z Call path from entry point to org.drools.core.rule.JavaDialectRuntimeData.access$200(): 
2021-11-16T03:39:59.7698599Z 	at org.drools.core.rule.JavaDialectRuntimeData.access$200(JavaDialectRuntimeData.java:64)
2021-11-16T03:39:59.7700475Z 	at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.writeClass(JavaDialectRuntimeData.java:648)
2021-11-16T03:39:59.7702599Z 	at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.internalDefineClass(JavaDialectRuntimeData.java:618)
2021-11-16T03:39:59.7704824Z 	at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.fastFindClass(JavaDialectRuntimeData.java:589)
2021-11-16T03:39:59.7706806Z 	at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.loadClass(JavaDialectRuntimeData.java:566)
2021-11-16T03:39:59.7708402Z 	at com.oracle.svm.core.jdk.Target_java_lang_ClassLoader.loadClass(Target_java_lang_ClassLoader.java:139)
2021-11-16T03:39:59.7710214Z 	at org.kie.kogito.rules.units.AssignableChecker$ClassLoaderSafeAssignableChecker.lambda$isAssignableFrom$0(AssignableChecker.java:57)
2021-11-16T03:39:59.7712337Z 	at org.kie.kogito.rules.units.AssignableChecker$ClassLoaderSafeAssignableChecker$$Lambda$1409/0x00000007c2668840.apply(Unknown Source)
2021-11-16T03:39:59.7713766Z 	at sun.security.ec.XECParameters$1.get(XECParameters.java:183)
2021-11-16T03:39:59.7715525Z 	at com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:216)
2021-11-16T03:39:59.7717858Z 	at com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperty(SystemPropertiesSupport.java:169)
2021-11-16T03:39:59.7719610Z 	at com.oracle.svm.core.jdk.Target_java_lang_System.getProperty(JavaLangSubstitutions.java:287)
2021-11-16T03:39:59.7721301Z 	at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST_System_getProperty_deeeaa72a006d330408a3b7d002c7533e108bc28(generated:0)
2021-11-16T03:39:59.7722558Z 
2021-11-16T03:39:59.7723873Z 	at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:126)
2021-11-16T03:39:59.7726419Z 	at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:756)
2021-11-16T03:39:59.7727694Z 	... 6 more
2021-11-16T03:39:59.7728711Z [kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner:27]      [total]:  87,690.16 ms,  2.76 GB
2021-11-16T03:39:59.7730285Z # Printing build artifacts to: /project/kogito-pmml-quickstart-1.0.0-SNAPSHOT-runner.build_artifacts.txt
2021-11-16T03:39:59.8049035Z Error: Image build request failed with exit status 1

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:21 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
galderzcommented, Nov 29, 2021

@triceo KieBaseUpdaterANC is a Runnable class and since Thread.run calls into any Runnable classes, GraalVM looks for any implementations of that and considers them part of the points-to analysis. Now, if this is not really in use, you could find a way to remove it from the universe in the first place (e.g. move it into another module and don’t depend it?). This is coming from drools, so you’ll have to see with them.

However, unless I’m totally mistaken, you’re seeing the same error kogito has. IOW, you’re affected cos you depend on kogito is affected in the first place. So in theory, once they solve the issue it should also solve it for you.

1reaction
triceocommented, Nov 29, 2021

@evacchi I’m afraid this is almost all we have. See: https://github.com/quarkusio/quarkus/issues/21479#issuecomment-969974959

It is entirely unhelpful. (The reason I’m trying to figure out where it comes from is that ANC should not be called from OptaPlanner native at all. If I know where it happens, I may be able to eliminate this issue in OptaPlanner.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kogito Documentation - Red Hat on GitHub
Quarkus is native Java stack for Kubernetes that you can use to build applications with Kogito services. Spring Boot is also supported with...
Read more >
Task - Release Notes - Red Hat Issue Tracker
... persistence fails to compile in native mode; [KOGITO-5664] - IT test in process-kafka-quickstart-springboot example fails in the CI; [KOGITO-5692] - BDD ...
Read more >
Guides - Latest - Quarkus
This guide is a collection of tips to help you solve the problems you encounter when compiling applications to native executable. Native Reference....
Read more >
We are happy to announce a fresh Kogito Tooling release!
We progressed a lot on the DMN/BPMN Editors, delivered a brand new UX for the Online Editor and also improved a lot the...
Read more >
Home of Quarkus Cheat-Sheet - GitHub Pages
Quarkus is a Kubernetes Native Java stack tailored for GraalVM & OpenJDK HotSpot, ... When fail fast is enabled the validation will stop...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found