Skip to content

Instantly share code, notes, and snippets.

@monkstone
Created September 19, 2014 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monkstone/1e36feadbd6694cf8c32 to your computer and use it in GitHub Desktop.
Save monkstone/1e36feadbd6694cf8c32 to your computer and use it in GitHub Desktop.
ribiprocessing/examples$ jruby -J-Djruby.backtrace.style=raw grey_circles.rb
Picked up _JAVA_OPTIONS: -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
grey_circles.rb:10 warning: ambiguous Java methods found, using background(int)
Exception in thread "Animation Thread" org.jruby.exceptions.RaiseException: (IOError) closed stream
at java.lang.Thread.getStackTrace(java/lang/Thread.java:1589)
at org.jruby.runtime.backtrace.TraceType$Gather.getBacktraceData(org/jruby/runtime/backtrace/TraceType.java:175)
at org.jruby.runtime.backtrace.TraceType.getBacktrace(org/jruby/runtime/backtrace/TraceType.java:39)
at org.jruby.RubyException.prepareBacktrace(org/jruby/RubyException.java:223)
at org.jruby.exceptions.RaiseException.preRaise(org/jruby/exceptions/RaiseException.java:213)
at org.jruby.exceptions.RaiseException.preRaise(org/jruby/exceptions/RaiseException.java:194)
at org.jruby.exceptions.RaiseException.<init>(org/jruby/exceptions/RaiseException.java:110)
at org.jruby.Ruby.newRaiseException(org/jruby/Ruby.java:3941)
at org.jruby.Ruby.newIOError(org/jruby/Ruby.java:3836)
at org.jruby.util.io.OpenFile.checkClosed(org/jruby/util/io/OpenFile.java:659)
at org.jruby.RubyIO.getOpenFileChecked(org/jruby/RubyIO.java:256)
at org.jruby.RubyIO.write(org/jruby/RubyIO.java:1386)
at org.jruby.RubyIO.write(org/jruby/RubyIO.java:1363)
at org.jruby.RubyClass.finvoke(org/jruby/RubyClass.java:729)
at org.jruby.runtime.Helpers.invoke(org/jruby/runtime/Helpers.java:593)
at org.jruby.RubyBasicObject.callMethod(org/jruby/RubyBasicObject.java:367)
at org.jruby.common.RubyWarnings.warn(org/jruby/common/RubyWarnings.java:87)
at org.jruby.common.RubyWarnings.warn(org/jruby/common/RubyWarnings.java:121)
at org.jruby.common.RubyWarnings.warn(org/jruby/common/RubyWarnings.java:52)
at org.jruby.java.dispatch.CallableSelector.findMatchingCallableForArgs(org/jruby/java/dispatch/CallableSelector.java:133)
at org.jruby.java.dispatch.CallableSelector.matchingCallableArityN(org/jruby/java/dispatch/CallableSelector.java:45)
at org.jruby.java.invokers.RubyToJavaInvoker.findCallable(org/jruby/java/invokers/RubyToJavaInvoker.java:213)
at org.jruby.java.invokers.InstanceMethodInvoker.call(org/jruby/java/invokers/InstanceMethodInvoker.java:30)
at org.jruby.java.invokers.InstanceMethodInvoker.call(org/jruby/java/invokers/InstanceMethodInvoker.java:100)
at org.jruby.RubyClass.finvoke(org/jruby/RubyClass.java:540)
at org.jruby.RubyBasicObject.send19(org/jruby/RubyBasicObject.java:1604)
at org.jruby.RubyKernel.send19(org/jruby/RubyKernel.java:1983)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(org/jruby/runtime/callsite/CachingCallSite.java:286)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(org/jruby/runtime/callsite/CachingCallSite.java:81)
at org.jruby.runtime.callsite.CachingCallSite.call(org/jruby/runtime/callsite/CachingCallSite.java:85)
at org.jruby.ir.instructions.CallBase.interpret(org/jruby/ir/instructions/CallBase.java:413)
at org.jruby.ir.interpreter.Interpreter.processCall(org/jruby/ir/interpreter/Interpreter.java:339)
at org.jruby.ir.interpreter.Interpreter.interpret(org/jruby/ir/interpreter/Interpreter.java:564)
at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(org/jruby/ir/interpreter/Interpreter.java:659)
at org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(org/jruby/runtime/InterpretedIRBlockBody.java:47)
at org.jruby.runtime.IRBlockBody.doYield(org/jruby/runtime/IRBlockBody.java:137)
at org.jruby.runtime.BlockBody.yield(org/jruby/runtime/BlockBody.java:82)
at org.jruby.runtime.Block.yield(org/jruby/runtime/Block.java:147)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1546)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(org/jruby/internal/runtime/methods/JavaMethod.java:474)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(org/jruby/runtime/callsite/CachingCallSite.java:286)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(org/jruby/runtime/callsite/CachingCallSite.java:81)
at org.jruby.runtime.callsite.CachingCallSite.call(org/jruby/runtime/callsite/CachingCallSite.java:85)
at org.jruby.ir.instructions.CallBase.interpret(org/jruby/ir/instructions/CallBase.java:413)
at org.jruby.ir.interpreter.Interpreter.processCall(org/jruby/ir/interpreter/Interpreter.java:339)
at org.jruby.ir.interpreter.Interpreter.interpret(org/jruby/ir/interpreter/Interpreter.java:564)
at org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(org/jruby/ir/interpreter/Interpreter.java:673)
at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(org/jruby/internal/runtime/methods/InterpretedIRMethod.java:99)
at org.jruby.internal.runtime.methods.DynamicMethod.call(org/jruby/internal/runtime/methods/DynamicMethod.java:202)
at org.jruby.internal.runtime.methods.DynamicMethod.call(org/jruby/internal/runtime/methods/DynamicMethod.java:198)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(org/jruby/runtime/callsite/CachingCallSite.java:306)
at org.jruby.runtime.callsite.CachingCallSite.call(org/jruby/runtime/callsite/CachingCallSite.java:136)
at org.jruby.ir.interpreter.Interpreter.processCall(org/jruby/ir/interpreter/Interpreter.java:323)
at org.jruby.ir.interpreter.Interpreter.interpret(org/jruby/ir/interpreter/Interpreter.java:564)
at org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(org/jruby/ir/interpreter/Interpreter.java:673)
at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(org/jruby/internal/runtime/methods/InterpretedIRMethod.java:99)
at org.jruby.internal.runtime.methods.DynamicMethod.call(org/jruby/internal/runtime/methods/DynamicMethod.java:180)
at org.jruby.javasupport.proxy.JavaProxyConstructor$2.invoke(org/jruby/javasupport/proxy/JavaProxyConstructor.java:224)
at processing.core.PApplet.handleDraw(processing/core/PApplet.java:2142)
at processing.core.PGraphicsJava2D.requestDraw(processing/core/PGraphicsJava2D.java:193)
at processing.core.PApplet.run(processing/core/PApplet.java:2020)
at java.lang.Thread.run(java/lang/Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment