Created
April 9, 2020 15:10
-
-
Save pmlopes/bfeeb39a304993501f24394a4760c05b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unhandled exception caused by org.graalvm.polyglot.PolyglotException: java.lang.AssertionError: Invalid libray usage. Cached library must be adopted by a RootNode before it is executed. | |
at org.graalvm.truffle/com.oracle.truffle.api.object.DynamicObjectGen$DynamicDispatchLibraryExports$Cached.dispatch(DynamicObjectGen.java:154) | |
at com.oracle.truffle.js.runtime.builtins.JSClassGen$InteropLibraryExports$Cached.accepts(JSClassGen.java:119) | |
at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibrary$Asserts.accepts(InteropLibrary.java:1594) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.ToHostNodeGen.execute(ToHostNodeGen.java:45) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.TargetMappingNode$SingleMappingNode.doDefault(TargetMappingNode.java:145) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.TargetMappingNodeGen$SingleMappingNodeGen.execute(TargetMappingNodeGen.java:159) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNode$TargetMappingType.execute(HostExecuteNode.java:923) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNode.checkArgTypes(HostExecuteNode.java:376) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNodeGen.executeAndSpecialize(HostExecuteNodeGen.java:220) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNodeGen.execute(HostExecuteNodeGen.java:98) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostFunction.execute(HostFunction.java:82) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostFunctionGen$InteropLibraryExports$Cached.executeAndSpecialize(HostFunctionGen.java:99) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostFunctionGen$InteropLibraryExports$Cached.execute(HostFunctionGen.java:86) | |
at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibrary$Asserts.execute(InteropLibrary.java:1674) | |
at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibraryGen$CachedDispatch.execute(InteropLibraryGen.java:4393) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode$ForeignExecuteNode.executeCall(JSFunctionCallNode.java:1434) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeAndSpecialize(JSFunctionCallNode.java:293) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeCall(JSFunctionCallNode.java:239) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode$CallNode.execute(JSFunctionCallNode.java:509) | |
at com.oracle.truffle.js.nodes.access.JSWriteScopeFrameSlotNodeGen.execute_generic4(JSWriteScopeFrameSlotNodeGen.java:184) | |
at com.oracle.truffle.js.nodes.access.JSWriteScopeFrameSlotNodeGen.execute(JSWriteScopeFrameSlotNodeGen.java:98) | |
at com.oracle.truffle.js.nodes.access.JSWriteScopeFrameSlotNodeGen.executeVoid(JSWriteScopeFrameSlotNodeGen.java:358) | |
at com.oracle.truffle.js.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:150) | |
at com.oracle.truffle.js.nodes.control.IfNode.executeVoid(IfNode.java:163) | |
at com.oracle.truffle.js.nodes.control.AbstractBlockNode.executeVoid(AbstractBlockNode.java:91) | |
at com.oracle.truffle.js.nodes.control.AbstractBlockNode.executeVoid(AbstractBlockNode.java:74) | |
at com.oracle.truffle.js.nodes.function.BlockScopeNode$FrameBlockScopeNode.executeVoid(BlockScopeNode.java:155) | |
at com.oracle.truffle.js.nodes.control.IfNode.executeVoid(IfNode.java:163) | |
at com.oracle.truffle.js.nodes.control.AbstractBlockNode.executeVoid(AbstractBlockNode.java:91) | |
at com.oracle.truffle.js.nodes.control.AbstractBlockNode.execute(AbstractBlockNode.java:84) | |
at com.oracle.truffle.js.nodes.control.ReturnTargetNode$FrameReturnTargetNode.execute(ReturnTargetNode.java:121) | |
at com.oracle.truffle.js.nodes.binary.DualNode.execute(DualNode.java:122) | |
at com.oracle.truffle.js.nodes.function.FunctionBodyNode.execute(FunctionBodyNode.java:73) | |
at com.oracle.truffle.js.nodes.function.FunctionRootNode.executeInRealm(FunctionRootNode.java:147) | |
at com.oracle.truffle.js.runtime.JavaScriptRealmBoundaryRootNode.execute(JavaScriptRealmBoundaryRootNode.java:93) | |
at <js> module.exports(Unknown) | |
at <js> :anonymous(/tmp/vertx-cache/file-cache-a55a41b4-c4a8-413b-ae58-8ff84e4a516d/stacktraces/jserror.js:53:1081-1120) | |
at <js> :anonymous(/home/paulo/Projects/reactiverse/es4x/es4x/target/classes/io/reactiverse/es4x/polyfill/global.js:28:1002-1029) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.FunctionProxyHandler.invoke(HostInteropReflect.java:454) | |
at com.sun.proxy.$Proxy58.handle(Unknown Source) | |
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) | |
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) | |
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) | |
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) | |
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) | |
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) | |
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) | |
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) | |
at java.base/java.lang.Thread.run(Thread.java:834) | |
Original Internal Error: | |
java.lang.AssertionError: Invalid libray usage. Cached library must be adopted by a RootNode before it is executed. | |
at org.graalvm.truffle/com.oracle.truffle.api.object.DynamicObjectGen$DynamicDispatchLibraryExports$Cached.dispatch(DynamicObjectGen.java:154) | |
at com.oracle.truffle.js.runtime.builtins.JSClassGen$InteropLibraryExports$Cached.accepts(JSClassGen.java:119) | |
at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibrary$Asserts.accepts(InteropLibrary.java:1594) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.ToHostNodeGen.execute(ToHostNodeGen.java:45) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.TargetMappingNode$SingleMappingNode.doDefault(TargetMappingNode.java:145) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.TargetMappingNodeGen$SingleMappingNodeGen.execute(TargetMappingNodeGen.java:159) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNode$TargetMappingType.execute(HostExecuteNode.java:923) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNode.checkArgTypes(HostExecuteNode.java:376) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNodeGen.executeAndSpecialize(HostExecuteNodeGen.java:220) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNodeGen.execute(HostExecuteNodeGen.java:98) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostFunction.execute(HostFunction.java:82) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostFunctionGen$InteropLibraryExports$Cached.executeAndSpecialize(HostFunctionGen.java:99) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostFunctionGen$InteropLibraryExports$Cached.execute(HostFunctionGen.java:86) | |
at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibrary$Asserts.execute(InteropLibrary.java:1674) | |
at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibraryGen$CachedDispatch.execute(InteropLibraryGen.java:4393) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode$ForeignExecuteNode.executeCall(JSFunctionCallNode.java:1434) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeAndSpecialize(JSFunctionCallNode.java:293) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeCall(JSFunctionCallNode.java:239) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode$CallNode.execute(JSFunctionCallNode.java:509) | |
at com.oracle.truffle.js.nodes.access.JSWriteScopeFrameSlotNodeGen.execute_generic4(JSWriteScopeFrameSlotNodeGen.java:184) | |
at com.oracle.truffle.js.nodes.access.JSWriteScopeFrameSlotNodeGen.execute(JSWriteScopeFrameSlotNodeGen.java:98) | |
at com.oracle.truffle.js.nodes.access.JSWriteScopeFrameSlotNodeGen.executeVoid(JSWriteScopeFrameSlotNodeGen.java:358) | |
at com.oracle.truffle.js.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:150) | |
at com.oracle.truffle.js.nodes.control.IfNode.executeVoid(IfNode.java:163) | |
at com.oracle.truffle.js.nodes.control.AbstractBlockNode.executeVoid(AbstractBlockNode.java:91) | |
at com.oracle.truffle.js.nodes.control.AbstractBlockNode.executeVoid(AbstractBlockNode.java:74) | |
at com.oracle.truffle.js.nodes.function.BlockScopeNode$FrameBlockScopeNode.executeVoid(BlockScopeNode.java:155) | |
at com.oracle.truffle.js.nodes.control.IfNode.executeVoid(IfNode.java:163) | |
at com.oracle.truffle.js.nodes.control.AbstractBlockNode.executeVoid(AbstractBlockNode.java:91) | |
at com.oracle.truffle.js.nodes.control.AbstractBlockNode.execute(AbstractBlockNode.java:84) | |
at com.oracle.truffle.js.nodes.control.ReturnTargetNode$FrameReturnTargetNode.execute(ReturnTargetNode.java:121) | |
at com.oracle.truffle.js.nodes.binary.DualNode.execute(DualNode.java:122) | |
at com.oracle.truffle.js.nodes.function.FunctionBodyNode.execute(FunctionBodyNode.java:73) | |
at com.oracle.truffle.js.nodes.function.FunctionRootNode.executeInRealm(FunctionRootNode.java:147) | |
at com.oracle.truffle.js.runtime.JavaScriptRealmBoundaryRootNode.execute(JavaScriptRealmBoundaryRootNode.java:93) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:508) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:483) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:449) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:433) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirectOrInlined(OptimizedCallTarget.java:389) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:68) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode$UnboundJSFunctionCacheNode.executeCall(JSFunctionCallNode.java:1254) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeAndSpecialize(JSFunctionCallNode.java:293) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeCall(JSFunctionCallNode.java:239) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode$CallNode.execute(JSFunctionCallNode.java:509) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode$Call1Node.createArguments(JSFunctionCallNode.java:587) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode$CallNode.execute(JSFunctionCallNode.java:509) | |
at com.oracle.truffle.js.nodes.control.DiscardResultNode.execute(DiscardResultNode.java:85) | |
at com.oracle.truffle.js.nodes.function.FunctionBodyNode.execute(FunctionBodyNode.java:73) | |
at com.oracle.truffle.js.nodes.function.FunctionRootNode.executeInRealm(FunctionRootNode.java:147) | |
at com.oracle.truffle.js.runtime.JavaScriptRealmBoundaryRootNode.execute(JavaScriptRealmBoundaryRootNode.java:93) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:508) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:483) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:449) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:433) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirectOrInlined(OptimizedCallTarget.java:389) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:68) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode$UnboundJSFunctionCacheNode.executeCall(JSFunctionCallNode.java:1254) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeAndSpecialize(JSFunctionCallNode.java:293) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeCall(JSFunctionCallNode.java:239) | |
at com.oracle.truffle.js.builtins.FunctionPrototypeBuiltins$JSApplyNode.apply(FunctionPrototypeBuiltins.java:401) | |
at com.oracle.truffle.js.builtins.FunctionPrototypeBuiltins$JSApplyNode.applyFunction(FunctionPrototypeBuiltins.java:388) | |
at com.oracle.truffle.js.builtins.FunctionPrototypeBuiltinsFactory$JSApplyNodeGen.execute(FunctionPrototypeBuiltinsFactory.java:431) | |
at com.oracle.truffle.js.nodes.function.FunctionRootNode.executeInRealm(FunctionRootNode.java:147) | |
at com.oracle.truffle.js.runtime.JavaScriptRealmBoundaryRootNode.execute(JavaScriptRealmBoundaryRootNode.java:93) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:508) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:483) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:449) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:433) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirectOrInlined(OptimizedCallTarget.java:389) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:68) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode$UnboundJSFunctionCacheNode.executeCall(JSFunctionCallNode.java:1254) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeCall(JSFunctionCallNode.java:235) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode$InvokeNode.execute(JSFunctionCallNode.java:711) | |
at com.oracle.truffle.js.nodes.control.DiscardResultNode.execute(DiscardResultNode.java:85) | |
at com.oracle.truffle.js.nodes.binary.DualNode.execute(DualNode.java:122) | |
at com.oracle.truffle.js.nodes.function.FunctionBodyNode.execute(FunctionBodyNode.java:73) | |
at com.oracle.truffle.js.nodes.function.FunctionRootNode.executeInRealm(FunctionRootNode.java:147) | |
at com.oracle.truffle.js.runtime.JavaScriptRealmBoundaryRootNode.execute(JavaScriptRealmBoundaryRootNode.java:93) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:508) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:483) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:449) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:433) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirectOrInlined(OptimizedCallTarget.java:389) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:68) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode$UnboundJSFunctionCacheNode.executeCall(JSFunctionCallNode.java:1254) | |
at com.oracle.truffle.js.nodes.function.JSFunctionCallNode.executeCall(JSFunctionCallNode.java:235) | |
at com.oracle.truffle.js.nodes.interop.JSInteropExecuteNode.doDefault(JSInteropExecuteNode.java:72) | |
at com.oracle.truffle.js.nodes.interop.JSInteropExecuteNodeGen.execute(JSInteropExecuteNodeGen.java:42) | |
at com.oracle.truffle.js.runtime.builtins.JSClass.execute(JSClass.java:734) | |
at com.oracle.truffle.js.runtime.builtins.JSClassGen$InteropLibraryExports$Cached.execute(JSClassGen.java:749) | |
at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibrary$Asserts.execute(InteropLibrary.java:1674) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotExecuteNode.doCached(PolyglotExecuteNode.java:97) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotExecuteNodeGen.executeImpl(PolyglotExecuteNodeGen.java:46) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotExecuteNode.execute(PolyglotExecuteNode.java:76) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.FunctionProxyNode.doCached(HostInteropReflect.java:391) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.FunctionProxyNodeGen.executeImpl(FunctionProxyNodeGen.java:37) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostToGuestRootNode.execute(HostToGuestRootNode.java:99) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:508) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:483) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:449) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:433) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callIndirect(OptimizedCallTarget.java:361) | |
at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.call(OptimizedCallTarget.java:351) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.FunctionProxyHandler.invoke(HostInteropReflect.java:454) | |
at com.sun.proxy.$Proxy58.handle(Unknown Source) | |
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) | |
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) | |
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) | |
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) | |
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) | |
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) | |
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) | |
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) | |
at java.base/java.lang.Thread.run(Thread.java:834) | |
Caused by: Attached Guest Language Frames (5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment