Skip to content

Instantly share code, notes, and snippets.

@purplefox
Created June 4, 2013 19:16
Show Gist options
  • Save purplefox/5708664 to your computer and use it in GitHub Desktop.
Save purplefox/5708664 to your computer and use it in GitHub Desktop.
tim@tim-laptop ~/projects/dynjs-vertx-module $ rm -rf ~/.m2/repository/org/projectodd/rephract ~/.m2/repository/org/dynjs/dynjs
tim@tim-laptop ~/projects/dynjs-vertx-module $ mvn clean install -s support/settings.xml -B -q
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.vertx.lang.dynjs.integration.APIIntegrationTests
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.
Starting test: src/test/resources/deploy|deploy_test.js|testSimpleDeploy
Starting test: src/test/resources/deploy|deploy_test.js|testDeployWithConfig
Starting test: src/test/resources/deploy|deploy_test.js|testDeployWithNumInstances
Starting test: src/test/resources/deploy|deploy_test.js|testDeployWithConfigAndNumInstances
Starting test: src/test/resources/deploy|deploy_test.js|testDeployFail
Error loading script: deploy/notexist.js. Cannot find script: deploy/notexist.js
Cannot load script: deploy/notexist.js
java.io.FileNotFoundException: Cannot find script: deploy/notexist.js
at org.dynjs.vertx.DynJSVerticleFactory.loadScript(DynJSVerticleFactory.java:111)
at org.dynjs.vertx.DynJSVerticle.start(DynJSVerticle.java:35)
at org.vertx.java.platform.Verticle.start(Verticle.java:80)
at org.vertx.java.platform.impl.DefaultPlatformManager$18.run(DefaultPlatformManager.java:1219)
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)
Starting test: src/test/resources/deploy|deploy_test.js|testUndeploy
Starting test: src/test/resources/deploy|deploy_test.js|testUndeployFail
Starting test: src/test/resources/deploy|deploy_test.js|testDeployWorker
Starting test: src/test/resources/filesystem|filesystem_test.js|testCopy
Starting test: src/test/resources/filesystem|filesystem_test.js|testMove
Starting test: src/test/resources/filesystem|filesystem_test.js|testMkDir
Starting test: src/test/resources/filesystem|filesystem_test.js|testMkDirSync
Starting test: src/test/resources/filesystem|filesystem_test.js|testReadDir
Starting test: src/test/resources/filesystem|filesystem_test.js|testProps
Starting test: src/test/resources/filesystem|filesystem_test.js|testPumpFile
Starting test: src/test/resources/timer|timer_test.js|testOneOff
Error loading script: timer_test.js. TypeError: not callable
java.lang.IllegalStateException: Failed to deploy
at org.vertx.testtools.JavaClassRunner.runChild(JavaClassRunner.java:254)
at org.vertx.testtools.JavaClassRunner.runChild(JavaClassRunner.java:54)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
Caused by: org.dynjs.exception.ThrowException: TypeError: not callable
at <global>.testOneOff(<eval>:23)
at <global>.<anonymous>(<eval>:13)
at <global>.<eval>(<eval>:60)
at org.dynjs.runtime.interp.InvokeDynamicInterpretingVisitor.visit(InvokeDynamicInterpretingVisitor.java:97)
at org.dynjs.parser.ast.FunctionCallExpression.accept(FunctionCallExpression.java:85)
at org.dynjs.runtime.interp.BasicInterpretingVisitor.visit(BasicInterpretingVisitor.java:1412)
at org.dynjs.parser.ast.VariableDeclaration.accept(VariableDeclaration.java:43)
at org.dynjs.runtime.interp.BasicInterpretingVisitor.visit(BasicInterpretingVisitor.java:1423)
at org.dynjs.parser.ast.VariableStatement.accept(VariableStatement.java:71)
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.JavascriptFunction.call(JavascriptFunction.java:61)
at org.dynjs.runtime.ExecutionContext.internalCall(ExecutionContext.java:218)
at org.dynjs.runtime.ExecutionContext.call(ExecutionContext.java:167)
at org.dynjs.runtime.linker.InterpretingInvokeDynamicHandler.call(InterpretingInvokeDynamicHandler.java:40)
at org.dynjs.runtime.interp.InvokeDynamicInterpretingVisitor.visit(InvokeDynamicInterpretingVisitor.java:93)
at org.dynjs.parser.ast.FunctionCallExpression.accept(FunctionCallExpression.java:85)
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.JavascriptFunction.call(JavascriptFunction.java:61)
at org.dynjs.runtime.ExecutionContext.internalCall(ExecutionContext.java:218)
at org.dynjs.runtime.ExecutionContext.call(ExecutionContext.java:167)
at org.dynjs.runtime.linker.InterpretingInvokeDynamicHandler.call(InterpretingInvokeDynamicHandler.java:40)
at org.dynjs.runtime.interp.InvokeDynamicInterpretingVisitor.visit(InvokeDynamicInterpretingVisitor.java:93)
at org.dynjs.parser.ast.FunctionCallExpression.accept(FunctionCallExpression.java:85)
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.dynjs.vertx.DynJSVerticle.start(DynJSVerticle.java:35)
at org.vertx.java.platform.Verticle.start(Verticle.java:80)
at org.vertx.java.platform.impl.DefaultPlatformManager$18.run(DefaultPlatformManager.java:1219)
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)
Starting test: src/test/resources/timer|timer_test.js|testPeriodic
Error loading script: timer_test.js. TypeError: not callable
java.lang.IllegalStateException: Failed to deploy
at org.vertx.testtools.JavaClassRunner.runChild(JavaClassRunner.java:254)
at org.vertx.testtools.JavaClassRunner.runChild(JavaClassRunner.java:54)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
Caused by: org.dynjs.exception.ThrowException: TypeError: not callable
at <global>.testPeriodic(<eval>:35)
at <global>.<anonymous>(<eval>:13)
at <global>.<eval>(<eval>:60)
at org.dynjs.runtime.interp.InvokeDynamicInterpretingVisitor.visit(InvokeDynamicInterpretingVisitor.java:97)
at org.dynjs.parser.ast.FunctionCallExpression.accept(FunctionCallExpression.java:85)
at org.dynjs.runtime.interp.BasicInterpretingVisitor.visit(BasicInterpretingVisitor.java:1412)
at org.dynjs.parser.ast.VariableDeclaration.accept(VariableDeclaration.java:43)
at org.dynjs.runtime.interp.BasicInterpretingVisitor.visit(BasicInterpretingVisitor.java:1423)
at org.dynjs.parser.ast.VariableStatement.accept(VariableStatement.java:71)
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.JavascriptFunction.call(JavascriptFunction.java:61)
at org.dynjs.runtime.ExecutionContext.internalCall(ExecutionContext.java:218)
at org.dynjs.runtime.ExecutionContext.call(ExecutionContext.java:167)
at org.dynjs.runtime.linker.InterpretingInvokeDynamicHandler.call(InterpretingInvokeDynamicHandler.java:40)
at org.dynjs.runtime.interp.InvokeDynamicInterpretingVisitor.visit(InvokeDynamicInterpretingVisitor.java:93)
at org.dynjs.parser.ast.FunctionCallExpression.accept(FunctionCallExpression.java:85)
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.JavascriptFunction.call(JavascriptFunction.java:61)
at org.dynjs.runtime.ExecutionContext.internalCall(ExecutionContext.java:218)
at org.dynjs.runtime.ExecutionContext.call(ExecutionContext.java:167)
at org.dynjs.runtime.linker.InterpretingInvokeDynamicHandler.call(InterpretingInvokeDynamicHandler.java:40)
at org.dynjs.runtime.interp.InvokeDynamicInterpretingVisitor.visit(InvokeDynamicInterpretingVisitor.java:93)
at org.dynjs.parser.ast.FunctionCallExpression.accept(FunctionCallExpression.java:85)
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.dynjs.vertx.DynJSVerticle.start(DynJSVerticle.java:35)
at org.vertx.java.platform.Verticle.start(Verticle.java:80)
at org.vertx.java.platform.impl.DefaultPlatformManager$18.run(DefaultPlatformManager.java:1219)
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)
Starting test: src/test/resources/timer|timer_test.js|testRunOnContext
^Ctim@tim-laptop ~/projects/dynjs-vertx-module $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment