Skip to content

Instantly share code, notes, and snippets.

@iconara
Created January 4, 2015 12:11
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 iconara/56f97bcd9a9ea3f37a40 to your computer and use it in GitHub Desktop.
Save iconara/56f97bcd9a9ea3f37a40 to your computer and use it in GitHub Desktop.
IllegalBlockingModeException stack trace
Java::JavaNioChannels::IllegalBlockingModeException:
# java.nio.channels.spi.AbstractSelectableChannel.configureBlocking(AbstractSelectableChannel.java:293)
# org.jruby.util.io.OpenFile.setBlocking(OpenFile.java:2340)
# org.jruby.util.io.OpenFile.setBlock(OpenFile.java:2324)
# org.jruby.RubyIO.ioWriteNonblock(RubyIO.java:1358)
# org.jruby.RubyIO.write_nonblock(RubyIO.java:1332)
# org.jruby.RubyIO$INVOKER$i$0$1$write_nonblock.call(RubyIO$INVOKER$i$0$1$write_nonblock.gen)
# org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:679)
# org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:165)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:287)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:627)
# org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)
# org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:137)
# org.jruby.runtime.BlockBody.yield(BlockBody.java:82)
# org.jruby.runtime.Block.yield(Block.java:147)
# org.jruby.RubyArray.each(RubyArray.java:1567)
# org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
# org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
# org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:81)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
# org.jruby.ir.instructions.CallBase.interpret(CallBase.java:441)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:319)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:627)
# org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)
# org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:137)
# org.jruby.runtime.BlockBody.yield(BlockBody.java:82)
# org.jruby.runtime.Block.yield(Block.java:147)
# org.jruby.ext.thread.Mutex.synchronize(Mutex.java:151)
# org.jruby.ext.thread.Mutex$INVOKER$i$0$0$synchronize.call(Mutex$INVOKER$i$0$0$synchronize.gen)
# org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
# org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:81)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
# org.jruby.ir.instructions.CallBase.interpret(CallBase.java:441)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:319)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:642)
# org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:146)
# org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)
# org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:317)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:311)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:627)
# org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)
# org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:146)
# org.jruby.runtime.BlockBody.yield(BlockBody.java:88)
# org.jruby.runtime.Block.yieldNonArray(Block.java:151)
# org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1741)
# org.jruby.RubyBasicObject.specificEval(RubyBasicObject.java:1767)
# org.jruby.RubyBasicObject.instance_eval19(RubyBasicObject.java:1641)
# org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(RubyBasicObject$INVOKER$i$instance_eval19.gen)
# org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrThreeBlock.call(JavaMethod.java:529)
# org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:277)
# org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:83)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
# org.jruby.ir.instructions.CallBase.interpret(CallBase.java:441)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:319)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:627)
# org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)
# org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:76)
# org.jruby.runtime.Block.yieldSpecific(Block.java:116)
# org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:449)
# org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:91)
# org.jruby.ir.interpreter.Interpreter.processOtherOp(Interpreter.java:488)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:563)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:642)
# org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:116)
# org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:81)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
# org.jruby.ir.instructions.CallBase.interpret(CallBase.java:441)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:319)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:642)
# org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:116)
# org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:81)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
# org.jruby.ir.instructions.CallBase.interpret(CallBase.java:441)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:319)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:627)
# org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)
# org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:137)
# org.jruby.runtime.BlockBody.yield(BlockBody.java:82)
# org.jruby.runtime.Block.yield(Block.java:147)
# org.jruby.RubyArray.collect(RubyArray.java:2291)
# org.jruby.RubyArray.map19(RubyArray.java:2304)
# org.jruby.RubyArray$INVOKER$i$0$0$map19.call(RubyArray$INVOKER$i$0$0$map19.gen)
# org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
# org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:277)
# org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:83)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
# org.jruby.ir.instructions.CallBase.interpret(CallBase.java:441)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:319)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:642)
# org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:146)
# org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)
# org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:317)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:287)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:642)
# org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:146)
# org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)
# org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:317)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:287)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:627)
# org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)
# org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:137)
# org.jruby.runtime.BlockBody.yield(BlockBody.java:82)
# org.jruby.runtime.Block.yield(Block.java:147)
# org.jruby.RubyArray.collect(RubyArray.java:2291)
# org.jruby.RubyArray.map19(RubyArray.java:2304)
# org.jruby.RubyArray$INVOKER$i$0$0$map19.call(RubyArray$INVOKER$i$0$0$map19.gen)
# org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
# org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:277)
# org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:83)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
# org.jruby.ir.instructions.CallBase.interpret(CallBase.java:441)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:319)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:642)
# org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:146)
# org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)
# org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:317)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:287)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:627)
# org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)
# org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:137)
# org.jruby.runtime.BlockBody.yield(BlockBody.java:82)
# org.jruby.runtime.Block.yield(Block.java:147)
# org.jruby.RubyArray.collect(RubyArray.java:2291)
# org.jruby.RubyArray.map19(RubyArray.java:2304)
# org.jruby.RubyArray$INVOKER$i$0$0$map19.call(RubyArray$INVOKER$i$0$0$map19.gen)
# org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:472)
# org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:277)
# org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:83)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
# org.jruby.ir.instructions.CallBase.interpret(CallBase.java:441)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:319)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:627)
# org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)
# org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:137)
# org.jruby.runtime.BlockBody.yield(BlockBody.java:82)
# org.jruby.runtime.Block.yield(Block.java:147)
# org.jruby.ir.runtime.IRRuntimeHelpers.yield(IRRuntimeHelpers.java:442)
# org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:94)
# org.jruby.ir.interpreter.Interpreter.processOtherOp(Interpreter.java:488)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:563)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:642)
# org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:116)
# org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:277)
# org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:83)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
# org.jruby.ir.instructions.CallBase.interpret(CallBase.java:441)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:319)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:642)
# org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:116)
# org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:277)
# org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:83)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
# org.jruby.ir.instructions.CallBase.interpret(CallBase.java:441)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:319)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:642)
# org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:116)
# org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:277)
# org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:83)
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
# org.jruby.ir.instructions.CallBase.interpret(CallBase.java:441)
# org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:319)
# org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:541)
# org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:627)
# org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)
# org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:67)
# org.jruby.runtime.Block.call(Block.java:106)
# org.jruby.RubyProc.call(RubyProc.java:301)
# org.jruby.RubyProc.call(RubyProc.java:230)
# org.jruby.Ruby.tearDown(Ruby.java:3184)
# org.jruby.Ruby.tearDown(Ruby.java:3158)
# org.jruby.Main.internalRun(Main.java:304)
# org.jruby.Main.run(Main.java:227)
# org.jruby.Main.main(Main.java:199)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment