java.lang.RuntimeException: com.oracle.truffle.api.interop.UnknownIdentifierException: Unknown identifier: CONST

GitHub | dougxc | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Truffle interop tests are failing when run with graal-core

    GitHub | 1 year ago | dougxc
    java.lang.RuntimeException: com.oracle.truffle.api.interop.UnknownIdentifierException: Unknown identifier: CONST

    Root Cause Analysis

    1. com.oracle.truffle.api.interop.UnknownIdentifierException

      Unknown identifier: CONST

      at com.oracle.truffle.api.interop.UnknownIdentifierException.raise()
    2. com.oracle.truffle
      InvokeMemberNode.execute
      1. com.oracle.truffle.api.interop.UnknownIdentifierException.raise(UnknownIdentifierException.java:63)
      2. com.oracle.truffle.api.interop.java.InvokeMemberNode.execute(InvokeMemberNode.java:60)
      2 frames
    3. com.oracle.graal
      OptimizedDirectCallNode.call
      1. com.oracle.graal.truffle.OptimizedCallTarget.callProxy(OptimizedCallTarget.java:442)
      2. com.oracle.graal.truffle.OptimizedCallTarget.callRoot(OptimizedCallTarget.java:325)
      3. com.oracle.graal.truffle.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:311)
      4. com.oracle.graal.truffle.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:299)
      5. com.oracle.graal.truffle.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:211)
      6. com.oracle.graal.truffle.OptimizedDirectCallNode.callProxy(OptimizedDirectCallNode.java:82)
      7. com.oracle.graal.truffle.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:64)
      7 frames
    4. com.oracle.truffle
      JavaInterop$TemporaryRoot.execute
      1. com.oracle.truffle.api.interop.CachedObjectAccessNode.doAccess(CachedObjectAccessNode.java:55)
      2. com.oracle.truffle.api.interop.CachedObjectAccessNode.executeWith(CachedObjectAccessNode.java:50)
      3. com.oracle.truffle.api.interop.UnresolvedObjectAccessNode.executeWith(UnresolvedObjectAccessNode.java:45)
      4. com.oracle.truffle.api.interop.ForeignObjectAccessHeadNode.executeForeign(ForeignObjectAccessHeadNode.java:52)
      5. com.oracle.truffle.api.interop.ForeignAccess.execute(ForeignAccess.java:98)
      6. com.oracle.truffle.api.interop.java.JavaInterop$TemporaryRoot.execute(JavaInterop.java:514)
      6 frames
    5. com.oracle.graal
      OptimizedCallTarget.call
      1. com.oracle.graal.truffle.OptimizedCallTarget.callProxy(OptimizedCallTarget.java:442)
      2. com.oracle.graal.truffle.OptimizedCallTarget.callRoot(OptimizedCallTarget.java:325)
      3. com.oracle.graal.truffle.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:311)
      4. com.oracle.graal.truffle.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:299)
      5. com.oracle.graal.truffle.OptimizedCallTarget.call(OptimizedCallTarget.java:204)
      5 frames
    6. com.oracle.truffle
      JavaInterop$TruffleHandler.invoke
      1. com.oracle.truffle.api.interop.java.JavaInterop.message(JavaInterop.java:489)
      2. com.oracle.truffle.api.interop.java.JavaInterop$TruffleHandler.invoke(JavaInterop.java:397)
      2 frames
    7. com.sun.proxy
      $Proxy4.CONST
      1. com.sun.proxy.$Proxy4.CONST(Unknown Source)
      1 frame
    8. com.oracle.truffle
      ClassInteropTest.readCONST
      1. com.oracle.truffle.api.interop.java.test.ClassInteropTest.readCONST(ClassInteropTest.java:74)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    10. JUnit
      JUnitCore.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      15. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      16. org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      17. org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      17 frames
    11. com.oracle.mxtool
      MxJUnitWrapper.main
      1. com.oracle.mxtool.junit.MxJUnitWrapper.main(MxJUnitWrapper.java:167)
      1 frame