adamjmurray / jruby_for_max Goto Github PK
View Code? Open in Web Editor NEWRuby support for Max/MSP
Ruby support for Max/MSP
Hi Adam,
it would be really nice if this could be wrapped as a package for Max 6.1, that would make installation much simpler.
Thanks,
Trond
It would be nice to have a message to reload the current file.
This is for the scenario in which another Ruby file require
d by the original Ruby file has changed. @autowatch 1
doesn't pick up this case, so I end up just having to specify the filename again using the file
message.
Yes, this is a minor one!
Hey,
I am trying to use a max for live module: Loom, based on jruby. When I load a patch in Live, I got this error message:
I don't really know where to start trouble shoot this problem, does anybody see what might go wrong here? Thanks!
MXJ System CLASSPATH:
/Applications/Max 6.1/Cycling '74/java/lib/jitter.jar
/Applications/Max 6.1/Cycling '74/java/lib/jode-1.1.2-pre-embedded.jar
/Applications/Max 6.1/Cycling '74/java/lib/jruby.jar
/Applications/Max 6.1/Cycling '74/java/lib/jruby4max.jar
/Applications/Max 6.1/Cycling '74/java/lib/max.jar
MXJClassloader CLASSPATH:
/Applications/Max 6.1/Cycling '74/java/classes/
Jitter initialized
Jitter Java support installed
Loaded module Chromatic.
newAtom: default (11)
newAtom: default (11)
newAtom: default (11)
java.lang.NullPointerException
at jruby.eval(jruby.java:372)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1373)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1328)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby4max.rubysupport.MaxRubyAdapter.exec(MaxRubyAdapter.java:126)
at jruby4max.rubysupport.MaxRubyAdapter.init(MaxRubyAdapter.java:206)
at jruby.loadFile(jruby.java:303)
at jruby.initFile(jruby.java:296)
at jruby.file(jruby.java:204)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1250)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby.evalRuby(jruby.java:447)
at jruby.eval(jruby.java:374)
newAtom: default (11)
java.lang.NullPointerException
at jruby.eval(jruby.java:372)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1373)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1328)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby4max.rubysupport.MaxRubyAdapter.exec(MaxRubyAdapter.java:126)
at jruby4max.rubysupport.MaxRubyAdapter.init(MaxRubyAdapter.java:206)
at jruby.loadFile(jruby.java:303)
at jruby.initFile(jruby.java:296)
at jruby.file(jruby.java:204)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1250)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby.evalRuby(jruby.java:447)
at jruby.eval(jruby.java:374)
newAtom: default (11)
java.lang.NullPointerException
at jruby.eval(jruby.java:372)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1373)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1328)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby4max.rubysupport.MaxRubyAdapter.exec(MaxRubyAdapter.java:126)
at jruby4max.rubysupport.MaxRubyAdapter.init(MaxRubyAdapter.java:206)
at jruby.loadFile(jruby.java:303)
at jruby.initFile(jruby.java:296)
at jruby.file(jruby.java:204)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1250)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby.evalRuby(jruby.java:447)
at jruby.eval(jruby.java:374)
newAtom: default (11)
java.lang.NullPointerException
at jruby.eval(jruby.java:372)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1373)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1328)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby4max.rubysupport.MaxRubyAdapter.exec(MaxRubyAdapter.java:126)
at jruby4max.rubysupport.MaxRubyAdapter.init(MaxRubyAdapter.java:206)
at jruby.loadFile(jruby.java:303)
at jruby.initFile(jruby.java:296)
at jruby.file(jruby.java:204)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1250)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby.evalRuby(jruby.java:447)
at jruby.eval(jruby.java:374)
newAtom: default (11)
java.lang.NullPointerException
at jruby.eval(jruby.java:372)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1373)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1328)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby4max.rubysupport.MaxRubyAdapter.exec(MaxRubyAdapter.java:126)
at jruby4max.rubysupport.MaxRubyAdapter.init(MaxRubyAdapter.java:206)
at jruby.loadFile(jruby.java:303)
at jruby.initFile(jruby.java:296)
at jruby.file(jruby.java:204)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1250)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby.evalRuby(jruby.java:447)
at jruby.eval(jruby.java:374)
newAtom: default (11)
java.lang.NullPointerException
at jruby.eval(jruby.java:372)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1373)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1328)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby4max.rubysupport.MaxRubyAdapter.exec(MaxRubyAdapter.java:126)
at jruby4max.rubysupport.MaxRubyAdapter.init(MaxRubyAdapter.java:206)
at jruby.loadFile(jruby.java:303)
at jruby.initFile(jruby.java:296)
at jruby.file(jruby.java:204)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1250)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby.evalRuby(jruby.java:447)
at jruby.eval(jruby.java:374)
newAtom: default (11)
java.lang.NullPointerException
at jruby.eval(jruby.java:372)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1373)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1328)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby4max.rubysupport.MaxRubyAdapter.exec(MaxRubyAdapter.java:126)
at jruby4max.rubysupport.MaxRubyAdapter.init(MaxRubyAdapter.java:206)
at jruby.loadFile(jruby.java:303)
at jruby.initFile(jruby.java:296)
at jruby.file(jruby.java:204)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1250)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby.evalRuby(jruby.java:447)
at jruby.eval(jruby.java:374)
newAtom: default (11)
java.lang.NullPointerException
at jruby.eval(jruby.java:372)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1373)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1328)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby4max.rubysupport.MaxRubyAdapter.exec(MaxRubyAdapter.java:126)
at jruby4max.rubysupport.MaxRubyAdapter.init(MaxRubyAdapter.java:206)
at jruby.loadFile(jruby.java:303)
at jruby.initFile(jruby.java:296)
at jruby.file(jruby.java:204)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1250)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby.evalRuby(jruby.java:447)
at jruby.eval(jruby.java:374)
newAtom: default (11)
java.lang.NullPointerException
at jruby.eval(jruby.java:372)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1373)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1328)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby4max.rubysupport.MaxRubyAdapter.exec(MaxRubyAdapter.java:126)
at jruby4max.rubysupport.MaxRubyAdapter.init(MaxRubyAdapter.java:206)
at jruby.loadFile(jruby.java:303)
at jruby.initFile(jruby.java:296)
at jruby.file(jruby.java:204)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1250)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby.evalRuby(jruby.java:447)
at jruby.eval(jruby.java:374)
newAtom: default (11)
java.lang.NullPointerException
at jruby.eval(jruby.java:372)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1373)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1328)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby4max.rubysupport.MaxRubyAdapter.exec(MaxRubyAdapter.java:126)
at jruby4max.rubysupport.MaxRubyAdapter.init(MaxRubyAdapter.java:206)
at jruby.loadFile(jruby.java:303)
at jruby.initFile(jruby.java:296)
at jruby.file(jruby.java:204)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1250)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby.evalRuby(jruby.java:447)
at jruby.eval(jruby.java:374)
newAtom: default (11)
newAtom: default (11)
java.lang.NullPointerException
at jruby.eval(jruby.java:372)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1373)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1328)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby4max.rubysupport.MaxRubyAdapter.exec(MaxRubyAdapter.java:126)
at jruby4max.rubysupport.MaxRubyAdapter.init(MaxRubyAdapter.java:206)
at jruby.loadFile(jruby.java:303)
at jruby.initFile(jruby.java:296)
at jruby.file(jruby.java:204)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1250)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:119)
at org.jruby.Ruby.runInterpreter(Ruby.java:724)
at org.jruby.Ruby.runInterpreter(Ruby.java:732)
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:120)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256)
at jruby4max.rubysupport.ScriptEvaluator.eval(ScriptEvaluator.java:117)
at jruby4max.rubysupport.MaxRubyAdapter.eval(MaxRubyAdapter.java:145)
at jruby.evalRuby(jruby.java:447)
at jruby.eval(jruby.java:374)
Loaded Loom::Player.
Loaded Loom::Player.
Loaded module Chromatic.
newAtom: default (11)
newAtom: default (11)
newAtom: default (11)
java.lang.NullPointerException
at jruby.eval(jruby.java:372)
at com.cycling74.max.MaxObject.doOutlet(Native Method)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1373)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1328)
at com.cycling74.max.MaxObject.outlet(MaxObject.java:1393)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:542)
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:392)
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.Caching
It's currently very painful working with gems. It should be possible to manage gems from within a Max patcher.
Rubygems API should provide programmatic access to list, install, update, and uninstall gems, see for example http://www.ruby-doc.org/stdlib-1.9.3/libdoc/rubygems/rdoc/Gem/Commands/ListCommand.html
The biggest issue is that gem home is currently set to a folder inside the jruby.jar, so I have to figure out how to work with that. Ideally we could simply change gem home altogether (jruby complete jar only comes with rake and sources gems, not sure if those are required for jruby_for_max), or to support another gem home in conjunction with the one inside the jar.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.