Skip to content

Instantly share code, notes, and snippets.

@watermint
Created August 6, 2012 12:07
Show Gist options
  • Save watermint/3273976 to your computer and use it in GitHub Desktop.
Save watermint/3273976 to your computer and use it in GitHub Desktop.
ByteCodeMachine fails (JRuby 1.7.0preview1)
It's not reproducible with option --1.8.
ByteCodeMachine.java:561:in `opExactMB3N': java.lang.ArrayIndexOutOfBoundsException: 20
from ByteCodeMachine.java:205:in `matchAt'
from Matcher.java:293:in `matchCheck'
from Matcher.java:438:in `search'
from RubyString.java:2799:in `subBangNoIter19'
from RubyString.java:2755:in `sub_bang19'
from RubyString$INVOKER$i$sub_bang19.gen:-1:in `call'
from JavaMethod.java:343:in `call'
from CachingCallSite.java:332:in `cacheAndCall'
from CachingCallSite.java:203:in `call'
from CallTwoArgNode.java:59:in `interpret'
from IfNode.java:110:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:233:in `call'
from DefaultMethod.java:215:in `call'
from CachingCallSite.java:332:in `cacheAndCall'
from CachingCallSite.java:203:in `call'
from FCallTwoArgNode.java:38:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:233:in `call'
from DefaultMethod.java:215:in `call'
from CachingCallSite.java:332:in `cacheAndCall'
from CachingCallSite.java:203:in `call'
from CallTwoArgNode.java:59:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from CallOneArgNode.java:57:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:233:in `call'
from DefaultMethod.java:215:in `call'
from CachingCallSite.java:332:in `cacheAndCall'
from CachingCallSite.java:203:in `call'
from CallTwoArgNode.java:59:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:199:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from adhoc_integration.rb:21:in `method__2$RUBY$scan_file'
from adhoc_integration$method__2$RUBY$scan_file:-1:in `call'
from adhoc_integration$method__2$RUBY$scan_file:-1:in `call'
from CachingCallSite.java:352:in `cacheAndCall'
from CachingCallSite.java:237:in `call'
from adhoc_integration.rb:58:in `block_4$RUBY$scan_path'
from adhoc_integration$block_4$RUBY$scan_path:-1:in `call'
from CompiledBlock19.java:139:in `yield'
from Block.java:130:in `yield'
from RubyArray.java:1604:in `eachCommon'
from RubyArray.java:1611:in `each'
from RubyArray$INVOKER$i$0$0$each.gen:-1:in `call'
from CachingCallSite.java:142:in `callBlock'
from CachingCallSite.java:153:in `callIter'
from adhoc_integration.rb:53:in `method__4$RUBY$scan_path'
from adhoc_integration$method__4$RUBY$scan_path:-1:in `call'
from DynamicMethod.java:224:in `call'
from CompiledMethod.java:265:in `call'
from CachingCallSite.java:201:in `call'
from adhoc_integration.rb:56:in `block_4$RUBY$scan_path'
from adhoc_integration$block_4$RUBY$scan_path:-1:in `call'
from CompiledBlock19.java:139:in `yield'
from Block.java:130:in `yield'
from RubyArray.java:1604:in `eachCommon'
from RubyArray.java:1611:in `each'
from RubyArray$INVOKER$i$0$0$each.gen:-1:in `call'
from CachingCallSite.java:142:in `callBlock'
from CachingCallSite.java:153:in `callIter'
from adhoc_integration.rb:53:in `method__4$RUBY$scan_path'
from adhoc_integration$method__4$RUBY$scan_path:-1:in `call'
from DynamicMethod.java:224:in `call'
from CompiledMethod.java:265:in `call'
from CachingCallSite.java:201:in `call'
from adhoc_integration.rb:56:in `block_4$RUBY$scan_path'
from adhoc_integration$block_4$RUBY$scan_path:-1:in `call'
from CompiledBlock19.java:139:in `yield'
from Block.java:130:in `yield'
from RubyArray.java:1604:in `eachCommon'
from RubyArray.java:1611:in `each'
from RubyArray$INVOKER$i$0$0$each.gen:-1:in `call'
from CachingCallSite.java:142:in `callBlock'
from CachingCallSite.java:153:in `callIter'
from adhoc_integration.rb:53:in `method__4$RUBY$scan_path'
from adhoc_integration$method__4$RUBY$scan_path:-1:in `call'
from DynamicMethod.java:224:in `call'
from CompiledMethod.java:265:in `call'
from CachingCallSite.java:332:in `cacheAndCall'
from CachingCallSite.java:203:in `call'
from adhoc_integration.rb:56:in `block_4$RUBY$scan_path'
from adhoc_integration$block_4$RUBY$scan_path:-1:in `call'
from CompiledBlock19.java:139:in `yield'
from Block.java:130:in `yield'
from RubyArray.java:1604:in `eachCommon'
from RubyArray.java:1611:in `each'
from RubyArray$INVOKER$i$0$0$each.gen:-1:in `call'
from CachingCallSite.java:302:in `cacheAndCall'
from CachingCallSite.java:144:in `callBlock'
from CachingCallSite.java:153:in `callIter'
from adhoc_integration.rb:53:in `method__4$RUBY$scan_path'
from adhoc_integration$method__4$RUBY$scan_path:-1:in `call'
from DynamicMethod.java:216:in `call'
from CompiledMethod.java:260:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from adhoc_integration.rb:64:in `method__5$RUBY$scan_lang_dir'
from adhoc_integration$method__5$RUBY$scan_lang_dir:-1:in `call'
from adhoc_integration$method__5$RUBY$scan_lang_dir:-1:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from adhoc_integration.rb:69:in `block_6$RUBY$run'
from adhoc_integration$block_6$RUBY$run:-1:in `call'
from CompiledBlock19.java:139:in `yield'
from Block.java:130:in `yield'
from RubyArray.java:1604:in `eachCommon'
from RubyArray.java:1611:in `each'
from RubyArray$INVOKER$i$0$0$each.gen:-1:in `call'
from CachingCallSite.java:302:in `cacheAndCall'
from CachingCallSite.java:144:in `callBlock'
from CachingCallSite.java:153:in `callIter'
from adhoc_integration.rb:68:in `method__6$RUBY$run'
from adhoc_integration$method__6$RUBY$run:-1:in `call'
from adhoc_integration$method__6$RUBY$run:-1:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from adhoc_integration.rb:74:in `__file__'
from adhoc_integration.rb:-1:in `load'
from Ruby.java:778:in `runScript'
from Ruby.java:771:in `runScript'
from Ruby.java:648:in `runNormally'
from Ruby.java:497:in `runFromMain'
from Main.java:375:in `doRunFromMain'
from Main.java:264:in `internalRun'
from Main.java:230:in `run'
from Main.java:214:in `run'
from Main.java:194:in `main'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment