Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save neomatrix369/42f9c152c74a77d392741bb68d901338 to your computer and use it in GitHub Desktop.
Save neomatrix369/42f9c152c74a77d392741bb68d901338 to your computer and use it in GitHub Desktop.
HotSpotConstantPool<org.bytedeco.javacpp.indexer.BooleanIndexer> illegal access exception
Values in the frame
-------------------
ex = {InvocationTargetException@235013} "java.lang.reflect.InvocationTargetException"
root = {HotSpotConstantPool@235012} "HotSpotConstantPool<org.bytedeco.javacpp.indexer.BooleanIndexer>"
initialize = false
opcode = 184
cpi = 13
After exiting the above frame
-----------------------------
this = {AnalysisGraphBuilderPhase$AnalysisBytecodeParser@235005} "org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:88) [bci: 4, intrinsic: false]\n 4: invokestatic #13 // org.bytedeco.javacpp.indexer.Raw.getInstance:()org.bytedeco.javacpp.indexer.Raw\n 7: ifnull 23\n 10: new #17 // org.bytedeco.javacpp.indexer.BooleanRawIndexer\n 13: dup \n 14: aload_0 \n"
StringBuilder.toString() = "Error loading a referenced type: java.lang.IllegalAccessError: tried to access class org.bytedeco.javacpp.indexer.Raw from class org.bytedeco.javacpp.indexer.BooleanIndexer"
bytecode = 184
cpi = 13
Stack trace
-----------
"ForkJoinPool-10-worker-2@234095" daemon prio=5 tid=0x4a nid=NA waiting for monitor entry
java.lang.Thread.State: BLOCKED
waiting for ForkJoinPool-10-worker-3@234165 to release lock on <0x274bd> (a java.lang.Class)
at org.graalvm.compiler.java.BytecodeParser.maybeEagerlyResolve(BytecodeParser.java:4168)
at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.maybeEagerlyResolve(SharedGraphBuilderPhase.java:106)
at org.graalvm.compiler.java.BytecodeParser.lookupConstant(BytecodeParser.java:4152)
at org.graalvm.compiler.java.BytecodeParser.genLoadConstant(BytecodeParser.java:3824)
at org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:4961)
at org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3267)
at org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:3074)
at org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:976)
at org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:870)
at org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:84)
at org.graalvm.compiler.phases.Phase.run(Phase.java:49)
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
at com.oracle.svm.hosted.substitute.UnsafeAutomaticSubstitutionProcessor.getStaticInitializerGraph(UnsafeAutomaticSubstitutionProcessor.java:905)
at com.oracle.svm.hosted.substitute.UnsafeAutomaticSubstitutionProcessor.computeSubstitutions(UnsafeAutomaticSubstitutionProcessor.java:321)
at com.oracle.svm.hosted.SVMHost.registerType(SVMHost.java:199)
at com.oracle.graal.pointsto.meta.AnalysisUniverse.createType(AnalysisUniverse.java:262)
at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookupAllowUnresolved(AnalysisUniverse.java:203)
at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookup(AnalysisUniverse.java:180)
at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookup(AnalysisUniverse.java:74)
at com.oracle.graal.pointsto.infrastructure.UniverseMetaAccess$1.apply(UniverseMetaAccess.java:52)
at com.oracle.graal.pointsto.infrastructure.UniverseMetaAccess$1.apply(UniverseMetaAccess.java:49)
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1688)
- locked <0x39613> (a java.util.concurrent.ConcurrentHashMap$Node)
at com.oracle.graal.pointsto.infrastructure.UniverseMetaAccess.lookupJavaType(UniverseMetaAccess.java:84)
at com.oracle.graal.pointsto.meta.AnalysisMetaAccess.lookupJavaType(AnalysisMetaAccess.java:47)
at com.oracle.graal.pointsto.AnalysisObjectScanner.forScannedConstant(AnalysisObjectScanner.java:135)
at com.oracle.graal.pointsto.ObjectScanner.scanConstant(ObjectScanner.java:289)
at com.oracle.graal.pointsto.ObjectScanner.scanField(ObjectScanner.java:197)
at com.oracle.graal.pointsto.ObjectScanner.doScan(ObjectScanner.java:344)
at com.oracle.graal.pointsto.ObjectScanner.access$400(ObjectScanner.java:62)
at com.oracle.graal.pointsto.ObjectScanner$3$1.run(ObjectScanner.java:414)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:171)
at com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda$212.555840636.run(Unknown Source:-1)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
"ForkJoinPool-10-worker-1@234094" daemon prio=5 tid=0x49 nid=NA runnable
java.lang.Thread.State: RUNNABLE
blocks ForkJoinPool-10-worker-0@234097
at jdk.vm.ci.hotspot.CompilerToVM.getComponentType(CompilerToVM.java:-1)
at jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.getComponentType(HotSpotResolvedObjectTypeImpl.java:157)
at jdk.vm.ci.meta.ResolvedJavaType.getElementalType(ResolvedJavaType.java:206)
at jdk.vm.ci.meta.ResolvedJavaType.isLeaf(ResolvedJavaType.java:79)
at jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.findLeafConcreteSubtype(HotSpotResolvedObjectTypeImpl.java:162)
at com.oracle.graal.pointsto.meta.AnalysisType.findLeafConcreteSubtype(AnalysisType.java:783)
at org.graalvm.compiler.core.common.type.TypeReference.createTrusted(TypeReference.java:105)
at org.graalvm.compiler.core.common.type.TypeReference.createTrustedWithoutAssumptions(TypeReference.java:85)
at org.graalvm.compiler.nodes.type.StampTool.typeReferenceOrNull(StampTool.java:232)
at org.graalvm.compiler.nodes.type.StampTool.typeOrNull(StampTool.java:198)
at org.graalvm.compiler.nodes.type.StampTool.typeOrNull(StampTool.java:194)
at org.graalvm.compiler.nodes.java.LoadIndexedNode.createStamp(LoadIndexedNode.java:99)
at org.graalvm.compiler.nodes.java.LoadIndexedNode.<init>(LoadIndexedNode.java:82)
at org.graalvm.compiler.nodes.java.LoadIndexedNode.create(LoadIndexedNode.java:91)
at com.oracle.svm.core.graal.replacements.SubstrateGraphKit.createLoadIndexed(SubstrateGraphKit.java:134)
at com.oracle.svm.reflect.hosted.ReflectionSubstitutionType.fillArgsArray(ReflectionSubstitutionType.java:244)
at com.oracle.svm.reflect.hosted.ReflectionSubstitutionType.access$800(ReflectionSubstitutionType.java:86)
at com.oracle.svm.reflect.hosted.ReflectionSubstitutionType$ReflectiveInvokeMethod.buildGraph(ReflectionSubstitutionType.java:533)
at com.oracle.graal.pointsto.meta.AnalysisMethod.buildGraph(AnalysisMethod.java:317)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:185)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:340)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:310)
- locked <0x39612> (a com.oracle.graal.pointsto.flow.MethodTypeFlow)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureParsed(MethodTypeFlow.java:300)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:107)
at com.oracle.graal.pointsto.DefaultAnalysisPolicy$DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultAnalysisPolicy.java:191)
at com.oracle.graal.pointsto.flow.TypeFlow.notifyObservers(TypeFlow.java:343)
at com.oracle.graal.pointsto.flow.TypeFlow.update(TypeFlow.java:385)
at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:510)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:171)
at com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda$212.555840636.run(Unknown Source:-1)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
"ForkJoinPool-10-worker-3@234165" daemon prio=5 tid=0x4d nid=NA runnable
java.lang.Thread.State: RUNNABLE
blocks ForkJoinPool-10-worker-2@234095
at com.oracle.graal.pointsto.infrastructure.WrappedConstantPool.loadReferencedType(WrappedConstantPool.java:90)
at com.oracle.graal.pointsto.infrastructure.WrappedConstantPool.loadReferencedType(WrappedConstantPool.java:105)
at com.oracle.svm.hosted.phases.SubstrateClassInitializationPlugin.loadReferencedType(SubstrateClassInitializationPlugin.java:71)
at org.graalvm.compiler.java.BytecodeParser.maybeEagerlyResolve(BytecodeParser.java:4170)
- locked <0x274bd> (a java.lang.Class)
at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.maybeEagerlyResolve(SharedGraphBuilderPhase.java:106)
at org.graalvm.compiler.java.BytecodeParser.lookupMethod(BytecodeParser.java:4122)
at org.graalvm.compiler.java.BytecodeParser.genInvokeStatic(BytecodeParser.java:1543)
at org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:5125)
at org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3267)
at org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:3074)
at org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:976)
at org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:870)
at org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:84)
at org.graalvm.compiler.phases.Phase.run(Phase.java:49)
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at org.graalvm.compiler.phases.Phase.apply(Phase.java:42)
at org.graalvm.compiler.phases.Phase.apply(Phase.java:38)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:221)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:340)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:310)
- locked <0x39600> (a com.oracle.graal.pointsto.flow.MethodTypeFlow)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureParsed(MethodTypeFlow.java:300)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:107)
at com.oracle.graal.pointsto.flow.StaticInvokeTypeFlow.update(InvokeTypeFlow.java:346)
at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:510)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:171)
at com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda$212.555840636.run(Unknown Source:-1)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
"pool-1-thread-2@164088" prio=5 tid=0xd nid=NA waiting
java.lang.Thread.State: WAITING
at java.lang.Object.wait(Object.java:-1)
at java.util.concurrent.ForkJoinTask.externalInterruptibleAwaitDone(ForkJoinTask.java:367)
at java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1001)
at com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:461)
at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:310)
at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:448)
at com.oracle.svm.hosted.server.NativeImageBuildServer.executeCompilation(NativeImageBuildServer.java:397)
at com.oracle.svm.hosted.server.NativeImageBuildServer.lambda$processCommand$8(NativeImageBuildServer.java:334)
at com.oracle.svm.hosted.server.NativeImageBuildServer$$Lambda$14.1534857049.get(Unknown Source:-1)
at com.oracle.svm.hosted.server.NativeImageBuildServer.withJVMContext(NativeImageBuildServer.java:415)
at com.oracle.svm.hosted.server.NativeImageBuildServer.processCommand(NativeImageBuildServer.java:331)
at com.oracle.svm.hosted.server.NativeImageBuildServer.processRequest(NativeImageBuildServer.java:275)
at com.oracle.svm.hosted.server.NativeImageBuildServer.lambda$serve$7(NativeImageBuildServer.java:235)
at com.oracle.svm.hosted.server.NativeImageBuildServer$$Lambda$13.1316061703.run(Unknown Source:-1)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
"ForkJoinPool-10-worker-0@234097" daemon prio=5 tid=0x4c nid=NA waiting for monitor entry
java.lang.Thread.State: BLOCKED
waiting for ForkJoinPool-10-worker-1@234094 to release lock on <0x39612> (a com.oracle.graal.pointsto.flow.MethodTypeFlow)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:306)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureParsed(MethodTypeFlow.java:300)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:107)
at com.oracle.graal.pointsto.DefaultAnalysisPolicy$DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultAnalysisPolicy.java:191)
at com.oracle.graal.pointsto.flow.TypeFlow.notifyObservers(TypeFlow.java:343)
at com.oracle.graal.pointsto.flow.TypeFlow.update(TypeFlow.java:385)
at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:510)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:171)
at com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda$212.555840636.run(Unknown Source:-1)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
"ForkJoinPool-12-worker-1@234085" daemon prio=5 tid=0x46 nid=NA waiting
java.lang.Thread.State: WAITING
at java.lang.Object.wait(Object.java:-1)
at java.util.concurrent.ForkJoinPool.awaitTermination(ForkJoinPool.java:3141)
at com.oracle.graal.pointsto.util.CompletionExecutor.complete(CompletionExecutor.java:226)
at com.oracle.graal.pointsto.BigBang.checkObjectGraph(BigBang.java:607)
at com.oracle.graal.pointsto.BigBang.finish(BigBang.java:558)
at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:688)
at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:526)
at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:444)
at com.oracle.svm.hosted.NativeImageGenerator$$Lambda$39.1989895628.run(Unknown Source:-1)
at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1386)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
"pool-1-thread-4@235016" prio=5 tid=0x24 nid=NA waiting
java.lang.Thread.State: WAITING
at sun.misc.Unsafe.park(Unsafe.java:-1)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
"pool-1-thread-3@235017" prio=5 tid=0x22 nid=NA waiting
java.lang.Thread.State: WAITING
at sun.misc.Unsafe.park(Unsafe.java:-1)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
"pool-1-thread-1@235019" prio=5 tid=0xc nid=NA waiting
java.lang.Thread.State: WAITING
at sun.misc.Unsafe.park(Unsafe.java:-1)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
"JavaCPP Deallocator@235018" daemon prio=10 tid=0x1e nid=NA waiting
java.lang.Thread.State: WAITING
at java.lang.Object.wait(Object.java:-1)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
at org.bytedeco.javacpp.Pointer$DeallocatorThread.run(Pointer.java:306)
"main@235025" prio=5 tid=0x1 nid=NA runnable
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(PlainSocketImpl.java:-1)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
at java.net.ServerSocket.implAccept(ServerSocket.java:545)
at java.net.ServerSocket.accept(ServerSocket.java:513)
at com.oracle.svm.hosted.server.NativeImageBuildServer.serve(NativeImageBuildServer.java:231)
at com.oracle.svm.hosted.server.NativeImageBuildServer.main(NativeImageBuildServer.java:177)
"Finalizer@235023" daemon prio=8 tid=0x3 nid=NA waiting
java.lang.Thread.State: WAITING
at java.lang.Object.wait(Object.java:-1)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
"Reference Handler@235024" daemon prio=10 tid=0x2 nid=NA waiting
java.lang.Thread.State: WAITING
at java.lang.Object.wait(Object.java:-1)
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)
"JVMCI-native CompilerThread1@235020" daemon prio=9 tid=0x9 nid=NA runnable
java.lang.Thread.State: RUNNABLE
"JVMCI-native CompilerThread0@235021" daemon prio=9 tid=0x8 nid=NA runnable
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher@235022" daemon prio=9 tid=0x4 nid=NA runnable
java.lang.Thread.State: RUNNABLE
Native-image Stack trace
------------------------
Build on Server(pid: 21392, port: 55263)*
[MLPMnist-1.0.0-bin:21392] classlist: 108,692.65 ms
[MLPMnist-1.0.0-bin:21392] (cap): 5,764.13 ms
[MLPMnist-1.0.0-bin:21392] setup: 14,926.74 ms
[MLPMnist-1.0.0-bin:21392] analysis: 691,507.12 ms
Error: Error loading a referenced type: java.lang.IllegalAccessError: tried to access class org.bytedeco.javacpp.indexer.Raw from class org.bytedeco.javacpp.indexer.BooleanIndexer
Detailed message:
Trace:
at parsing org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:88)
Call path from entry point to org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanPointer, long[], long[], boolean):
at org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:87)
at com.oracle.svm.reflect.BooleanIndexer_create_fbefc57cf8c0e6f1c0b19d7394ef3dc181599717_198.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.beust.jcommander.Parameterized.get(Parameterized.java:175)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:717)
at com.beust.jcommander.JCommander.parse(JCommander.java:340)
at com.beust.jcommander.JCommander.parse(JCommander.java:319)
at org.deeplearning4j.feedforward.mnist.MLPMnistSingleLayerRunner.main(MLPMnistSingleLayerRunner.java:70)
at com.oracle.svm.core.JavaMainWrapper.runCore(JavaMainWrapper.java:151)
at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:186)
at com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(generated:0)
com.oracle.svm.core.util.UserError$UserException: Error loading a referenced type: java.lang.IllegalAccessError: tried to access class org.bytedeco.javacpp.indexer.Raw from class org.bytedeco.javacpp.indexer.BooleanIndexer
Detailed message:
Trace:
at parsing org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:88)
Call path from entry point to org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanPointer, long[], long[], boolean):
at org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:87)
at com.oracle.svm.reflect.BooleanIndexer_create_fbefc57cf8c0e6f1c0b19d7394ef3dc181599717_198.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.beust.jcommander.Parameterized.get(Parameterized.java:175)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:717)
at com.beust.jcommander.JCommander.parse(JCommander.java:340)
at com.beust.jcommander.JCommander.parse(JCommander.java:319)
at org.deeplearning4j.feedforward.mnist.MLPMnistSingleLayerRunner.main(MLPMnistSingleLayerRunner.java:70)
at com.oracle.svm.core.JavaMainWrapper.runCore(JavaMainWrapper.java:151)
at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:186)
at com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(generated:0)
at com.oracle.svm.core.util.UserError.abort(UserError.java:75)
at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:223)
at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:737)
at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:526)
at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:444)
at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1386)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Error loading a referenced type: java.lang.IllegalAccessError: tried to access class org.bytedeco.javacpp.indexer.Raw from class org.bytedeco.javacpp.indexer.BooleanIndexer
Detailed message:
Trace:
at parsing org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:88)
Call path from entry point to org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanPointer, long[], long[], boolean):
at org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:87)
at com.oracle.svm.reflect.BooleanIndexer_create_fbefc57cf8c0e6f1c0b19d7394ef3dc181599717_198.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.beust.jcommander.Parameterized.get(Parameterized.java:175)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:717)
at com.beust.jcommander.JCommander.parse(JCommander.java:340)
at com.beust.jcommander.JCommander.parse(JCommander.java:319)
at org.deeplearning4j.feedforward.mnist.MLPMnistSingleLayerRunner.main(MLPMnistSingleLayerRunner.java:70)
at com.oracle.svm.core.JavaMainWrapper.runCore(JavaMainWrapper.java:151)
at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:186)
at com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(generated:0)
at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:130)
at com.oracle.graal.pointsto.BigBang.finish(BigBang.java:565)
at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:688)
... 7 more
Caused by: java.lang.IllegalAccessError: tried to access class org.bytedeco.javacpp.indexer.Raw from class org.bytedeco.javacpp.indexer.BooleanIndexer
at jdk.vm.ci.hotspot.CompilerToVM.resolveTypeInPool(Native Method)
at jdk.vm.ci.hotspot.HotSpotConstantPool.loadReferencedType(HotSpotConstantPool.java:728)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.oracle.graal.pointsto.infrastructure.WrappedConstantPool.loadReferencedType(WrappedConstantPool.java:88)
at com.oracle.graal.pointsto.infrastructure.WrappedConstantPool.loadReferencedType(WrappedConstantPool.java:105)
at com.oracle.svm.hosted.phases.SubstrateClassInitializationPlugin.loadReferencedType(SubstrateClassInitializationPlugin.java:71)
at org.graalvm.compiler.java.BytecodeParser.maybeEagerlyResolve(BytecodeParser.java:4170)
at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.maybeEagerlyResolve(SharedGraphBuilderPhase.java:106)
at org.graalvm.compiler.java.BytecodeParser.lookupMethod(BytecodeParser.java:4122)
at org.graalvm.compiler.java.BytecodeParser.genInvokeStatic(BytecodeParser.java:1543)
at org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:5125)
at org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3267)
at org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:3074)
at org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:976)
at org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:870)
at org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:84)
at org.graalvm.compiler.phases.Phase.run(Phase.java:49)
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at org.graalvm.compiler.phases.Phase.apply(Phase.java:42)
at org.graalvm.compiler.phases.Phase.apply(Phase.java:38)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:221)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:340)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:310)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureParsed(MethodTypeFlow.java:300)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:107)
at com.oracle.graal.pointsto.flow.StaticInvokeTypeFlow.update(InvokeTypeFlow.java:346)
at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:510)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:171)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
... 4 more
Error: Image build request failed with exit status 1
Build on Server(pid: 21392, port: 55263)
[MLPMnist-1.0.0-bin:21392] classlist: 178,806.13 ms
[MLPMnist-1.0.0-bin:21392] (cap): 68,261.08 ms
[MLPMnist-1.0.0-bin:21392] setup: 91,047.07 ms
[MLPMnist-1.0.0-bin:21392] analysis: 96,698.62 ms
Error: Error loading a referenced type: java.lang.IllegalAccessError: tried to access class org.bytedeco.javacpp.indexer.Raw from class org.bytedeco.javacpp.indexer.BooleanIndexer
Detailed message:
Trace:
at parsing org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:88)
Call path from entry point to org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanPointer, long[], long[], boolean):
at org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:87)
at com.oracle.svm.reflect.BooleanIndexer_create_fbefc57cf8c0e6f1c0b19d7394ef3dc181599717_1360.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.beust.jcommander.Parameterized.get(Parameterized.java:175)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:717)
at com.beust.jcommander.JCommander.parse(JCommander.java:340)
at com.beust.jcommander.JCommander.parse(JCommander.java:319)
at org.deeplearning4j.feedforward.mnist.MLPMnistSingleLayerRunner.main(MLPMnistSingleLayerRunner.java:70)
at com.oracle.svm.core.JavaMainWrapper.runCore(JavaMainWrapper.java:151)
at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:186)
at com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(generated:0)
com.oracle.svm.core.util.UserError$UserException: Error loading a referenced type: java.lang.IllegalAccessError: tried to access class org.bytedeco.javacpp.indexer.Raw from class org.bytedeco.javacpp.indexer.BooleanIndexer
Detailed message:
Trace:
at parsing org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:88)
Call path from entry point to org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanPointer, long[], long[], boolean):
at org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:87)
at com.oracle.svm.reflect.BooleanIndexer_create_fbefc57cf8c0e6f1c0b19d7394ef3dc181599717_1360.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.beust.jcommander.Parameterized.get(Parameterized.java:175)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:717)
at com.beust.jcommander.JCommander.parse(JCommander.java:340)
at com.beust.jcommander.JCommander.parse(JCommander.java:319)
at org.deeplearning4j.feedforward.mnist.MLPMnistSingleLayerRunner.main(MLPMnistSingleLayerRunner.java:70)
at com.oracle.svm.core.JavaMainWrapper.runCore(JavaMainWrapper.java:151)
at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:186)
at com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(generated:0)
at com.oracle.svm.core.util.UserError.abort(UserError.java:75)
at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:223)
at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:737)
at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:526)
at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:444)
at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1386)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Error loading a referenced type: java.lang.IllegalAccessError: tried to access class org.bytedeco.javacpp.indexer.Raw from class org.bytedeco.javacpp.indexer.BooleanIndexer
Detailed message:
Trace:
at parsing org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:88)
Call path from entry point to org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanPointer, long[], long[], boolean):
at org.bytedeco.javacpp.indexer.BooleanIndexer.create(BooleanIndexer.java:87)
at com.oracle.svm.reflect.BooleanIndexer_create_fbefc57cf8c0e6f1c0b19d7394ef3dc181599717_1360.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.beust.jcommander.Parameterized.get(Parameterized.java:175)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:717)
at com.beust.jcommander.JCommander.parse(JCommander.java:340)
at com.beust.jcommander.JCommander.parse(JCommander.java:319)
at org.deeplearning4j.feedforward.mnist.MLPMnistSingleLayerRunner.main(MLPMnistSingleLayerRunner.java:70)
at com.oracle.svm.core.JavaMainWrapper.runCore(JavaMainWrapper.java:151)
at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:186)
at com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(generated:0)
at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:130)
at com.oracle.graal.pointsto.BigBang.finish(BigBang.java:565)
at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:688)
... 7 more
Caused by: java.lang.IllegalAccessError: tried to access class org.bytedeco.javacpp.indexer.Raw from class org.bytedeco.javacpp.indexer.BooleanIndexer
at jdk.vm.ci.hotspot.CompilerToVM.resolveTypeInPool(Native Method)
at jdk.vm.ci.hotspot.HotSpotConstantPool.loadReferencedType(HotSpotConstantPool.java:728)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.oracle.graal.pointsto.infrastructure.WrappedConstantPool.loadReferencedType(WrappedConstantPool.java:88)
at com.oracle.graal.pointsto.infrastructure.WrappedConstantPool.loadReferencedType(WrappedConstantPool.java:105)
at com.oracle.svm.hosted.phases.SubstrateClassInitializationPlugin.loadReferencedType(SubstrateClassInitializationPlugin.java:71)
at org.graalvm.compiler.java.BytecodeParser.maybeEagerlyResolve(BytecodeParser.java:4170)
at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.maybeEagerlyResolve(SharedGraphBuilderPhase.java:106)
at org.graalvm.compiler.java.BytecodeParser.lookupMethod(BytecodeParser.java:4122)
at org.graalvm.compiler.java.BytecodeParser.genInvokeStatic(BytecodeParser.java:1543)
at org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:5125)
at org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3267)
at org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:3074)
at org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:976)
at org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:870)
at org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:84)
at org.graalvm.compiler.phases.Phase.run(Phase.java:49)
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at org.graalvm.compiler.phases.Phase.apply(Phase.java:42)
at org.graalvm.compiler.phases.Phase.apply(Phase.java:38)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:221)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:340)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:310)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureParsed(MethodTypeFlow.java:300)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:107)
at com.oracle.graal.pointsto.flow.StaticInvokeTypeFlow.update(InvokeTypeFlow.java:346)
at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:510)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:171)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
... 4 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment