Skip to content

Instantly share code, notes, and snippets.

@monkstone
Created November 16, 2014 08:32
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/ded408a50a7492f071ce to your computer and use it in GitHub Desktop.
Save monkstone/ded408a50a7492f071ce to your computer and use it in GitHub Desktop.
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:215)
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:3935)
at org.jruby.Ruby.newIOError(org/jruby/Ruby.java:3828)
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:734)
at org.jruby.runtime.Helpers.invoke(org/jruby/runtime/Helpers.java:593)
at org.jruby.RubyBasicObject.callMethod(org/jruby/RubyBasicObject.java:368)
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.matchingCallableArityOne(org/jruby/java/dispatch/CallableSelector.java:54)
at org.jruby.java.invokers.RubyToJavaInvoker.findCallableArityOne(org/jruby/java/invokers/RubyToJavaInvoker.java:257)
at org.jruby.java.invokers.InstanceMethodInvoker.call(org/jruby/java/invokers/InstanceMethodInvoker.java:59)
at org.jruby.java.invokers.InstanceMethodInvoker.call(org/jruby/java/invokers/InstanceMethodInvoker.java:127)
at org.jruby.RubyClass.finvoke(org/jruby/RubyClass.java:560)
at org.jruby.RubyBasicObject.send19(org/jruby/RubyBasicObject.java:1584)
at org.jruby.RubyKernel.send19(org/jruby/RubyKernel.java:1974)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrTwoOrNBlock.call(org/jruby/internal/runtime/methods/JavaMethod.java:381)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(org/jruby/runtime/callsite/CachingCallSite.java:315)
at org.jruby.runtime.callsite.CachingCallSite.call(org/jruby/runtime/callsite/CachingCallSite.java:185)
at grey_circles.stroke_setup_CLOSURE_1__stroke_setup_6(grey_circles.rb:21)
at grey_circles.stroke_setup_CLOSURE_1__stroke_setup_6(grey_circles.rb:21)
at org.jruby.runtime.CompiledIRBlockBody.commonYieldPath(org/jruby/runtime/CompiledIRBlockBody.java:66)
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.runtime.callsite.CachingCallSite.cacheAndCall(org/jruby/runtime/callsite/CachingCallSite.java:285)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(org/jruby/runtime/callsite/CachingCallSite.java:137)
at org.jruby.runtime.callsite.CachingCallSite.call(org/jruby/runtime/callsite/CachingCallSite.java:141)
at grey_circles.stroke_setup_4(grey_circles.rb:20)
at grey_circles.stroke_setup_4(grey_circles.rb:20)
at org.jruby.internal.runtime.methods.CompiledIRMethod.call(org/jruby/internal/runtime/methods/CompiledIRMethod.java:122)
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:275)
at org.jruby.runtime.callsite.CachingCallSite.call(org/jruby/runtime/callsite/CachingCallSite.java:129)
at grey_circles.draw_3(grey_circles.rb:14)
at grey_circles.draw_3(grey_circles.rb:14)
at org.jruby.internal.runtime.methods.CompiledIRMethod.call(org/jruby/internal/runtime/methods/CompiledIRMethod.java:106)
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:2386)
at processing.core.PGraphicsJava2D.requestDraw(processing/core/PGraphicsJava2D.java:240)
at processing.core.PApplet.run(processing/core/PApplet.java:2256)
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