karatelabs / karate

Test Automation Made Simple
https://karatelabs.github.io/karate
MIT License
8.11k stars 1.94k forks source link

Upgrade to 1.1.0 ISSUE #1920

Closed kchabaane closed 2 years ago

kchabaane commented 2 years ago

I'm using a feature to generate public/private key

`Feature: Create public/private key pair

Background:

Scenario:

I'am using Karate Netty with jar version 1.1.0

And i got this error:

Caused by: com.intuit.karate.KarateException: js failed:

01: keyPairGen().getPublic().getEncoded() <<<< org.graalvm.polyglot.PolyglotException: java.lang.IllegalStateException: java.lang.IllegalAccessException: access to public member failed: sun.security.x509.X509Key.getEncoded[Ljava.lang.Object;@796d33eb/invokeVirtual, from public Lookup

  • com.oracle.truffle.host.HostMethodDesc$SingleMethod$MethodMHImpl.makeMethodHandle(HostMethodDesc.java:352)
  • com.oracle.truffle.host.HostMethodDesc$SingleMethod$MHBase.invokeGuestToHost(HostMethodDesc.java:311)
  • com.oracle.truffle.host.HostExecuteNode.doInvoke(HostExecuteNode.java:828)
  • com.oracle.truffle.host.HostExecuteNode.doFixed(HostExecuteNode.java:132)
  • com.oracle.truffle.host.HostExecuteNodeGen.executeAndSpecialize(HostExecuteNodeGen.java:140)
  • com.oracle.truffle.host.HostExecuteNodeGen.execute(HostExecuteNodeGen.java:95)
  • com.oracle.truffle.host.HostObject.invokeMember(HostObject.java:441)
ptrthomas commented 2 years ago

@kchabaane please follow these instructions EXACTLY as written to re-open, thanks: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue