Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-640

The driver does not compile with Graal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: N/A
    • Component/s: Other
    • Labels:
      None

      Description

      Create a simple maven project with the connector dependency;
      <dependency>
      <groupId>org.mariadb.jdbc</groupId>
      <artifactId>mariadb-java-client</artifactId>
      <version>2.2.5</version>
      </dependency>

      Then create a simple main:

      public static void main(final String... args) throws ClassNotFoundException, SQLException {
      final Class c = org.mariadb.jdbc.Driver.class;
      try (final Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","")) {
      final ResultSet rs = con.createStatement().executeQuery("SELECT * FROM test");
      while (rs.next())

      { System.out.println(rs.getInt(1)+". "+rs.getString(2)+" "+rs.getString(3)); }

      }
      }

      Next create a shaded archive and compile with GraalVM:

      Build on Server(pid: 314, port: 39039)
      classlist: 321.36 ms
      (cap): 617.09 ms
      setup: 808.08 ms
      analysis: 3,550.59 ms
      error: unsupported features in 4 methods
      Detailed message:
      Error: Bytecode parsing error: java.lang.NoClassDefFoundError: org/mariadb/jdbc/internal/util/PidFactory$CLibrary
      Trace:
      at parsing org.mariadb.jdbc.internal.com.send.SendHandshakeResponsePacket.writeConnectAttributes(SendHandshakeResponsePacket.java:218)
      Call path from entry point to org.mariadb.jdbc.internal.com.send.SendHandshakeResponsePacket.writeConnectAttributes(PacketOutputStream, String, HostAddress):
      at org.mariadb.jdbc.internal.com.send.SendHandshakeResponsePacket.writeConnectAttributes(SendHandshakeResponsePacket.java:204)
      at org.mariadb.jdbc.internal.com.send.SendHandshakeResponsePacket.send(SendHandshakeResponsePacket.java:187)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authentication(AbstractConnectProtocol.java:802)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:777)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:451)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:411)
      at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.cancelCurrentQuery(AbstractQueryProtocol.java:1185)
      at org.mariadb.jdbc.MariaDbStatement.lambda$setTimerTask$0(MariaDbStatement.java:160)
      at org.mariadb.jdbc.MariaDbStatement$$Lambda$687/1355003397.run(Unknown Source)
      at com.oracle.svm.core.jdk.RuntimeSupport.executeHooks(RuntimeSupport.java:137)
      at com.oracle.svm.core.jdk.RuntimeSupport.executeStartupHooks(RuntimeSupport.java:91)
      at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:170)
      at com.oracle.svm.core.code.CEntryPointCallStubs.com_002eoracle_002esvm_002ecore_002eJavaMainWrapper_002erun_0028int_002corg_002egraalvm_002enativeimage_002ec_002etype_002eCCharPointerPointer_0029(generated:0)
      Original exception that caused the problem: java.lang.NoClassDefFoundError: org/mariadb/jdbc/internal/util/PidFactory$CLibrary
      at java.lang.Class.getDeclaringClass0(Native Method)
      at java.lang.Class.getDeclaringClass(Class.java:1235)
      at java.lang.Class.getEnclosingClass(Class.java:1277)
      at jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.getEnclosingType(HotSpotResolvedObjectTypeImpl.java:911)
      at jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.getEnclosingType(HotSpotResolvedObjectTypeImpl.java:60)
      at com.oracle.graal.pointsto.meta.AnalysisType.<init>(AnalysisType.java:174)
      at com.oracle.graal.pointsto.meta.AnalysisUniverse.createType(AnalysisUniverse.java:255)
      at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookupAllowUnresolved(AnalysisUniverse.java:193)
      at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookup(AnalysisUniverse.java:170)
      at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookup(AnalysisUniverse.java:69)
      at com.oracle.graal.pointsto.infrastructure.WrappedSignature.getReturnType(WrappedSignature.java:55)
      at com.oracle.graal.pointsto.flow.MethodFlowsGraph.<init>(MethodFlowsGraph.java:113)
      at com.oracle.graal.pointsto.flow.MethodTypeFlow.<init>(MethodTypeFlow.java:75)
      at com.oracle.graal.pointsto.meta.AnalysisMethod.<init>(AnalysisMethod.java:127)
      at com.oracle.graal.pointsto.meta.AnalysisUniverse.createMethod(AnalysisUniverse.java:399)
      at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookupAllowUnresolved(AnalysisUniverse.java:387)
      at com.oracle.graal.pointsto.infrastructure.WrappedConstantPool.lookupMethod(WrappedConstantPool.java:78)
      at org.graalvm.compiler.java.BytecodeParser.lookupMethod(BytecodeParser.java:3926)
      at org.graalvm.compiler.java.BytecodeParser.genInvokeStatic(BytecodeParser.java:1422)
      at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.genInvokeStatic(SharedGraphBuilderPhase.java:168)
      at org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:4850)
      at org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3135)
      at org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:2944)
      at org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:888)
      at org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:782)
      at org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:95)
      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:196)
      at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:315)
      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:502)
      at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:174)
      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)
      Error: Error loading a referenced type: java.lang.NoClassDefFoundError: Could not initialize class javax.swing.JPasswordField
      Trace:
      at parsing org.mariadb.jdbc.internal.com.send.SendPamAuthPacket.showInputDialog(SendPamAuthPacket.java:156)
      Call path from entry point to org.mariadb.jdbc.internal.com.send.SendPamAuthPacket.showInputDialog(String, boolean):
      at org.mariadb.jdbc.internal.com.send.SendPamAuthPacket.showInputDialog(SendPamAuthPacket.java:155)
      at org.mariadb.jdbc.internal.com.send.SendPamAuthPacket.send(SendPamAuthPacket.java:112)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authentication(AbstractConnectProtocol.java:842)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:777)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:451)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:411)
      at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.cancelCurrentQuery(AbstractQueryProtocol.java:1185)
      at org.mariadb.jdbc.MariaDbStatement.lambda$setTimerTask$0(MariaDbStatement.java:160)
      at org.mariadb.jdbc.MariaDbStatement$$Lambda$687/1355003397.run(Unknown Source)
      at com.oracle.svm.core.jdk.RuntimeSupport.executeHooks(RuntimeSupport.java:137)
      at com.oracle.svm.core.jdk.RuntimeSupport.executeStartupHooks(RuntimeSupport.java:91)
      at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:170)
      at com.oracle.svm.core.code.CEntryPointCallStubs.com_002eoracle_002esvm_002ecore_002eJavaMainWrapper_002erun_0028int_002corg_002egraalvm_002enativeimage_002ec_002etype_002eCCharPointerPointer_0029(generated:0)
      Original exception that caused the problem: java.lang.NoClassDefFoundError: Could not initialize class javax.swing.JPasswordField
      at sun.misc.Unsafe.ensureClassInitialized(Native Method)
      at jdk.vm.ci.hotspot.HotSpotConstantPool.loadReferencedType(HotSpotConstantPool.java:699)
      at com.oracle.graal.pointsto.infrastructure.WrappedConstantPool.loadReferencedType(WrappedConstantPool.java:60)
      at org.graalvm.compiler.java.BytecodeParser.maybeEagerlyResolve(BytecodeParser.java:3971)
      at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.maybeEagerlyResolve(SharedGraphBuilderPhase.java:99)
      at org.graalvm.compiler.java.BytecodeParser.lookupType(BytecodeParser.java:3918)
      at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.lookupType(SharedGraphBuilderPhase.java:218)
      at org.graalvm.compiler.java.BytecodeParser.genNewInstance(BytecodeParser.java:4103)
      at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.genNewInstance(SharedGraphBuilderPhase.java:204)
      at org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:4853)
      at org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3135)
      at org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:2944)
      at org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:888)
      at org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:782)
      at org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:95)
      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:196)
      at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:315)
      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.SpecialInvokeTypeFlow.onObservedUpdate(InvokeTypeFlow.java:421)
      at com.oracle.graal.pointsto.flow.TypeFlow.notifyObservers(TypeFlow.java:347)
      at com.oracle.graal.pointsto.flow.TypeFlow.update(TypeFlow.java:389)
      at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:502)
      at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:174)
      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)
      Error: Error loading a referenced type: java.lang.NoClassDefFoundError: com/sun/jna/Platform
      Trace:
      at parsing org.mariadb.jdbc.internal.com.send.SendGssApiAuthPacket.getAuthenticationMethod(SendGssApiAuthPacket.java:119)
      Call path from entry point to org.mariadb.jdbc.internal.com.send.SendGssApiAuthPacket.getAuthenticationMethod():
      at org.mariadb.jdbc.internal.com.send.SendGssApiAuthPacket.getAuthenticationMethod(SendGssApiAuthPacket.java:119)
      at org.mariadb.jdbc.internal.com.send.SendGssApiAuthPacket.send(SendGssApiAuthPacket.java:91)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authentication(AbstractConnectProtocol.java:842)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:777)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:451)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:411)
      at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.cancelCurrentQuery(AbstractQueryProtocol.java:1185)
      at org.mariadb.jdbc.MariaDbStatement.lambda$setTimerTask$0(MariaDbStatement.java:160)
      at org.mariadb.jdbc.MariaDbStatement$$Lambda$687/1355003397.run(Unknown Source)
      at com.oracle.svm.core.jdk.RuntimeSupport.executeHooks(RuntimeSupport.java:137)
      at com.oracle.svm.core.jdk.RuntimeSupport.executeStartupHooks(RuntimeSupport.java:91)
      at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:170)
      at com.oracle.svm.core.code.CEntryPointCallStubs.com_002eoracle_002esvm_002ecore_002eJavaMainWrapper_002erun_0028int_002corg_002egraalvm_002enativeimage_002ec_002etype_002eCCharPointerPointer_0029(generated:0)
      Original exception that caused the problem: java.lang.NoClassDefFoundError: com/sun/jna/Platform
      at jdk.vm.ci.hotspot.CompilerToVM.resolveTypeInPool(Native Method)
      at jdk.vm.ci.hotspot.HotSpotConstantPool.loadReferencedType(HotSpotConstantPool.java:696)
      at com.oracle.graal.pointsto.infrastructure.WrappedConstantPool.loadReferencedType(WrappedConstantPool.java:60)
      at org.graalvm.compiler.java.BytecodeParser.maybeEagerlyResolve(BytecodeParser.java:3971)
      at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.maybeEagerlyResolve(SharedGraphBuilderPhase.java:99)
      at org.graalvm.compiler.java.BytecodeParser.lookupMethod(BytecodeParser.java:3925)
      at org.graalvm.compiler.java.BytecodeParser.genInvokeStatic(BytecodeParser.java:1422)
      at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.genInvokeStatic(SharedGraphBuilderPhase.java:168)
      at org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:4850)
      at org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3135)
      at org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:2944)
      at org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:888)
      at org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:782)
      at org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:95)
      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:196)
      at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:315)
      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.SpecialInvokeTypeFlow.onObservedUpdate(InvokeTypeFlow.java:421)
      at com.oracle.graal.pointsto.flow.TypeFlow.notifyObservers(TypeFlow.java:347)
      at com.oracle.graal.pointsto.flow.TypeFlow.update(TypeFlow.java:389)
      at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:502)
      at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:174)
      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)
      Caused by: java.lang.ClassNotFoundException: com.sun.jna.Platform
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      ... 33 more
      Error: Error loading a referenced type: java.lang.NoClassDefFoundError: com/sun/jna/Platform
      Trace:
      at parsing org.mariadb.jdbc.internal.util.Utils.createSocket(Utils.java:551)
      Call path from entry point to org.mariadb.jdbc.internal.util.Utils.createSocket(UrlParser, String):
      at org.mariadb.jdbc.internal.util.Utils.createSocket(Utils.java:547)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:430)
      at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:411)
      at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.cancelCurrentQuery(AbstractQueryProtocol.java:1185)
      at org.mariadb.jdbc.MariaDbStatement.lambda$setTimerTask$0(MariaDbStatement.java:160)
      at org.mariadb.jdbc.MariaDbStatement$$Lambda$687/1355003397.run(Unknown Source)
      at com.oracle.svm.core.jdk.RuntimeSupport.executeHooks(RuntimeSupport.java:137)
      at com.oracle.svm.core.jdk.RuntimeSupport.executeStartupHooks(RuntimeSupport.java:91)
      at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:170)
      at com.oracle.svm.core.code.CEntryPointCallStubs.com_002eoracle_002esvm_002ecore_002eJavaMainWrapper_002erun_0028int_002corg_002egraalvm_002enativeimage_002ec_002etype_002eCCharPointerPointer_0029(generated:0)
      Original exception that caused the problem: java.lang.NoClassDefFoundError: com/sun/jna/Platform
      at org.mariadb.jdbc.internal.io.socket.UnixDomainSocket.<clinit>(UnixDomainSocket.java:70)
      at sun.misc.Unsafe.ensureClassInitialized(Native Method)
      at jdk.vm.ci.hotspot.HotSpotConstantPool.loadReferencedType(HotSpotConstantPool.java:699)
      at com.oracle.graal.pointsto.infrastructure.WrappedConstantPool.loadReferencedType(WrappedConstantPool.java:60)
      at org.graalvm.compiler.java.BytecodeParser.maybeEagerlyResolve(BytecodeParser.java:3971)
      at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.maybeEagerlyResolve(SharedGraphBuilderPhase.java:99)
      at org.graalvm.compiler.java.BytecodeParser.lookupType(BytecodeParser.java:3918)
      at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.lookupType(SharedGraphBuilderPhase.java:218)
      at org.graalvm.compiler.java.BytecodeParser.genNewInstance(BytecodeParser.java:4103)
      at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.genNewInstance(SharedGraphBuilderPhase.java:204)
      at org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:4853)
      at org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3135)
      at org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:2944)
      at org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:888)
      at org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:782)
      at org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:95)
      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:196)
      at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:315)
      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:502)
      at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:174)
      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)
      Caused by: java.lang.ClassNotFoundException: com.sun.jna.Platform
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      ... 33 more

      Error: Processing image build request failed

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              diego dupin Diego Dupin
              Reporter:
              codemonstur Jurgen Voorneveld
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: