Skip to content

Instantly share code, notes, and snippets.

@lance
Created June 3, 2013 15:46
Show Gist options
  • Save lance/e7b859a5bbc7f3646469 to your computer and use it in GitHub Desktop.
Save lance/e7b859a5bbc7f3646469 to your computer and use it in GitHub Desktop.
Running org.projectodd.nodyn.integration.javascript.BufferIntegrationTests
log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Error loading script: node.js. java.lang.LinkageError: loader constraint violation: when resolving method "java.lang.invoke.MethodHandle.invoke(Ljava/lang/Object;Lorg/dynjs/runtime/ExecutionContext;Ljava/lang/String;)Ljava/lang/Object;" the class loader (instance of org/vertx/java/platform/impl/ModuleClassLoader) of the current class, org/dynjs/runtime/linker/InterpretingInvokeDynamicHandler, and the class loader (instance of <bootloader>) for resolved class, java/lang/invoke/MethodHandle, have different Class objects for the type ionContext;Ljava/lang/String;)Ljava/lang/Object; used in the signature
[ERROR] Cannot initialize Nodyn. java.lang.LinkageError: loader constraint violation: when resolving method "java.lang.invoke.MethodHandle.invoke(Ljava/lang/Object;Lorg/dynjs/runtime/ExecutionContext;Ljava/lang/String;)Ljava/lang/Object;" the class loader (instance of org/vertx/java/platform/impl/ModuleClassLoader) of the current class, org/dynjs/runtime/linker/InterpretingInvokeDynamicHandler, and the class loader (instance of <bootloader>) for resolved class, java/lang/invoke/MethodHandle, have different Class objects for the type ionContext;Ljava/lang/String;)Ljava/lang/Object; used in the signature
org.dynjs.exception.ThrowException: java.lang.LinkageError: loader constraint violation: when resolving method "java.lang.invoke.MethodHandle.invoke(Ljava/lang/Object;Lorg/dynjs/runtime/ExecutionContext;Ljava/lang/String;)Ljava/lang/Object;" the class loader (instance of org/vertx/java/platform/impl/ModuleClassLoader) of the current class, org/dynjs/runtime/linker/InterpretingInvokeDynamicHandler, and the class loader (instance of <bootloader>) for resolved class, java/lang/invoke/MethodHandle, have different Class objects for the type ionContext;Ljava/lang/String;)Ljava/lang/Object; used in the signature
at <global>.<eval>(<eval>:1)
at org.dynjs.runtime.interp.InvokeDynamicInterpretingVisitor.getValue(InvokeDynamicInterpretingVisitor.java:145)
at org.dynjs.runtime.interp.InvokeDynamicInterpretingVisitor.visit(InvokeDynamicInterpretingVisitor.java:60)
at org.dynjs.parser.ast.FunctionCallExpression.accept(FunctionCallExpression.java:85)
at org.dynjs.runtime.interp.InvokeDynamicInterpretingVisitor.visit(InvokeDynamicInterpretingVisitor.java:35)
at org.dynjs.parser.ast.AssignmentExpression.accept(AssignmentExpression.java:32)
at org.dynjs.runtime.interp.BasicInterpretingVisitor.visit(BasicInterpretingVisitor.java:461)
at org.dynjs.parser.ast.ExpressionStatement.accept(ExpressionStatement.java:54)
at org.dynjs.runtime.interp.BasicInterpretingVisitor.visit(BasicInterpretingVisitor.java:267)
at org.dynjs.parser.ast.BlockStatement.accept(BlockStatement.java:102)
at org.dynjs.runtime.interp.InterpretedBasicBlock.call(InterpretedBasicBlock.java:28)
at org.dynjs.runtime.BasicBlockDelegate.call(BasicBlockDelegate.java:26)
at org.dynjs.runtime.CompilableBasicBlock.call(CompilableBasicBlock.java:24)
at org.dynjs.runtime.wrapper.JavascriptProgram.execute(JavascriptProgram.java:37)
at org.dynjs.runtime.ExecutionContext.execute(ExecutionContext.java:139)
at org.dynjs.runtime.Runner.execute(Runner.java:82)
at org.dynjs.vertx.DynJSVerticleFactory.loadScript(DynJSVerticleFactory.java:114)
at org.projectodd.nodyn.NodeJSVerticleFactory.access$200(NodeJSVerticleFactory.java:14)
at org.projectodd.nodyn.NodeJSVerticleFactory$NodeJSVerticle$1.initialize(NodeJSVerticleFactory.java:62)
at org.dynjs.runtime.ExecutionContext.createGlobalExecutionContext(ExecutionContext.java:30)
at org.projectodd.nodyn.NodeJSVerticleFactory$NodeJSVerticle.initializeRootContext(NodeJSVerticleFactory.java:57)
at org.dynjs.vertx.DynJSVerticle.start(DynJSVerticle.java:32)
at org.vertx.java.platform.Verticle.start(Verticle.java:80)
at org.vertx.java.platform.impl.DefaultPlatformManager$18.run(DefaultPlatformManager.java:1213)
at org.vertx.java.core.impl.DefaultContext$3.run(DefaultContext.java:169)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:364)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:326)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:114)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "java.lang.invoke.MethodHandle.invoke(Ljava/lang/Object;Lorg/dynjs/runtime/ExecutionContext;Ljava/lang/String;)Ljava/lang/Object;" the class loader (instance of org/vertx/java/platform/impl/ModuleClassLoader) of the current class, org/dynjs/runtime/linker/InterpretingInvokeDynamicHandler, and the class loader (instance of <bootloader>) for resolved class, java/lang/invoke/MethodHandle, have different Class objects for the type ionContext;Ljava/lang/String;)Ljava/lang/Object; used in the signature
at org.dynjs.runtime.linker.InterpretingInvokeDynamicHandler.get(InterpretingInvokeDynamicHandler.java:32)
at org.dynjs.runtime.interp.InvokeDynamicInterpretingVisitor.getValue(InvokeDynamicInterpretingVisitor.java:135)
... 27 more
Error loading script: buffer/buffer_test.js. java.lang.LinkageError: loader constraint violation: when resolving method "java.lang.invoke.MethodHandle.invoke(Ljava/lang/Object;Lorg/dynjs/runtime/ExecutionContext;Ljava/lang/String;)Ljava/lang/Object;" the class loader (instance of org/vertx/java/platform/impl/ModuleClassLoader) of the current class, org/dynjs/runtime/linker/InterpretingInvokeDynamicHandler, and the class loader (instance of <bootloader>) for resolved class, java/lang/invoke/MethodHandle, have different Class objects for the type ionContext;Ljava/lang/String;)Ljava/lang/Object; used in the signature
^C% ~/t/nodyn git:master ❯❯❯ ⏎ ✱
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment