Skip to content

Instantly share code, notes, and snippets.

@yawn
Created November 11, 2011 16:30
Show Gist options
  • Save yawn/1358438 to your computer and use it in GitHub Desktop.
Save yawn/1358438 to your computer and use it in GitHub Desktop.
java.lang.NegativeArraySizeException: null
org/jruby/util/ByteList.java:339:in `ensure'
org/jruby/RubyString.java:856:in `modify'
org/jruby/RubyString.java:1255:in `cat'
org/jruby/RubyString.java:1221:in `cat19'
org/jruby/RubyArray.java:1488:in `inspectAry'
org/jruby/RubyArray.java:1509:in `inspect'
org/jruby/RubyArray$i$0$0$inspect.gen:65535:in `call'
org/jruby/RubyClass.java:632:in `finvoke'
org/jruby/javasupport/util/RuntimeHelpers.java:545:in `invoke'
org/jruby/RubyBasicObject.java:353:in `callMethod'
org/jruby/RubyObject.java:408:in `inspect'
org/jruby/RubyHash.java:727:in `visit'
org/jruby/RubyHash.java:594:in `visitAll'
org/jruby/RubyHash.java:721:in `inspectHash'
org/jruby/RubyHash.java:745:in `inspect'
org/jruby/RubyHash$i$0$0$inspect.gen:65535:in `call'
org/jruby/RubyClass.java:632:in `finvoke'
org/jruby/javasupport/util/RuntimeHelpers.java:545:in `invoke'
org/jruby/RubyBasicObject.java:353:in `callMethod'
org/jruby/RubyObject.java:408:in `inspect'
org/jruby/RubyHash.java:727:in `visit'
org/jruby/RubyHash.java:594:in `visitAll'
org/jruby/RubyHash.java:721:in `inspectHash'
org/jruby/RubyHash.java:745:in `inspect'
org/jruby/RubyHash.java:807:in `to_s19'
org/jruby/RubyHash$i$0$0$to_s19.gen:65535:in `call'
org/jruby/RubyClass.java:632:in `finvoke'
org/jruby/javasupport/util/RuntimeHelpers.java:545:in `invoke'
org/jruby/RubyBasicObject.java:688:in `asString'
org/jruby/ast/EvStrNode.java:86:in `interpret'
org/jruby/ast/DNode.java:59:in `appendToString'
org/jruby/ast/DNode.java:70:in `buildDynamicString'
org/jruby/ast/DNode.java:35:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Interpreted19Block.java:127:in `yieldSpecific'
org/jruby/runtime/Block.java:99:in `yieldSpecific'
org/jruby/ast/ZYieldNode.java:25:in `interpret'
org/jruby/ast/LocalAsgnNode.java:123:in `interpret'
org/jruby/ast/IfNode.java:117:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/ast/IfNode.java:119:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:75:in `INTERPRET_METHOD'
org/jruby/internal/runtime/methods/InterpretedMethod.java:169:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:302:in `cacheAndCall'
org/jruby/runtime/callsite/CachingCallSite.java:144:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/IfNode.java:117:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Interpreted19Block.java:132:in `yieldSpecific'
org/jruby/runtime/Block.java:108:in `yieldSpecific'
org/jruby/ast/YieldOneNode.java:35:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Block.java:130:in `yield'
org/jruby/RubyKernel.java:1804:in `tap'
org/jruby/RubyKernel$s$0$0$tap.gen:65535:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:142:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:75:in `INTERPRET_METHOD'
org/jruby/internal/runtime/methods/InterpretedMethod.java:169:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:142:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
org/jruby/ast/ArrayNode.java:94:in `interpretPrimitive'
org/jruby/ast/ArrayNode.java:84:in `interpret'
org/jruby/ast/AttrAssignTwoArgNode.java:36:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/ast/IfNode.java:119:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Block.java:130:in `yield'
org/jruby/RubyArray.java:1605:in `eachCommon'
org/jruby/RubyArray.java:1612:in `each'
org/jruby/RubyArray$i$0$0$each.gen:65535:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:142:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Interpreted19Block.java:132:in `yieldSpecific'
org/jruby/runtime/Block.java:108:in `yieldSpecific'
org/jruby/ast/YieldOneNode.java:35:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Block.java:130:in `yield'
org/jruby/RubyKernel.java:1804:in `tap'
org/jruby/RubyKernel$s$0$0$tap.gen:65535:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:142:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
org/jruby/ast/LocalAsgnNode.java:123:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:75:in `INTERPRET_METHOD'
org/jruby/internal/runtime/methods/InterpretedMethod.java:169:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:142:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/FCallNoArgBlockNode.java:32:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:75:in `INTERPRET_METHOD'
org/jruby/internal/runtime/methods/InterpretedMethod.java:190:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:167:in `call'
org/jruby/ast/FCallOneArgNode.java:36:in `interpret'
org/jruby/ast/HashNode.java:92:in `interpret'
org/jruby/ast/AttrAssignOneArgNode.java:33:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Interpreted19Block.java:132:in `yieldSpecific'
org/jruby/runtime/Block.java:108:in `yieldSpecific'
org/jruby/ast/YieldOneNode.java:35:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Block.java:130:in `yield'
org/jruby/RubyKernel.java:1804:in `tap'
org/jruby/RubyKernel$s$0$0$tap.gen:65535:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:142:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:75:in `INTERPRET_METHOD'
org/jruby/internal/runtime/methods/InterpretedMethod.java:169:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:142:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
org/jruby/ast/CallNoArgNode.java:63:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Interpreted19Block.java:132:in `yieldSpecific'
org/jruby/runtime/Block.java:108:in `yieldSpecific'
org/jruby/ast/YieldOneNode.java:35:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Block.java:130:in `yield'
org/jruby/RubyKernel.java:1804:in `tap'
org/jruby/RubyKernel$s$0$0$tap.gen:65535:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:142:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Block.java:130:in `yield'
org/jruby/RubyArray.java:2318:in `collect'
org/jruby/RubyArray.java:2326:in `collect19'
org/jruby/RubyArray$i$0$0$collect19.gen:65535:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:302:in `cacheAndCall'
org/jruby/runtime/callsite/CachingCallSite.java:144:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
org/jruby/ast/DAsgnNode.java:110:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Interpreted19Block.java:132:in `yieldSpecific'
org/jruby/runtime/Block.java:108:in `yieldSpecific'
org/jruby/ast/YieldOneNode.java:35:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Block.java:130:in `yield'
org/jruby/RubyKernel.java:1804:in `tap'
org/jruby/RubyKernel$s$0$0$tap.gen:65535:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:302:in `cacheAndCall'
org/jruby/runtime/callsite/CachingCallSite.java:144:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
org/jruby/ast/CallNoArgNode.java:63:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:75:in `INTERPRET_METHOD'
org/jruby/internal/runtime/methods/InterpretedMethod.java:169:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:302:in `cacheAndCall'
org/jruby/runtime/callsite/CachingCallSite.java:144:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
org/jruby/ast/DAsgnNode.java:110:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Interpreted19Block.java:132:in `yieldSpecific'
org/jruby/runtime/Block.java:108:in `yieldSpecific'
org/jruby/ast/YieldOneNode.java:35:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:75:in `INTERPRET_METHOD'
org/jruby/internal/runtime/methods/InterpretedMethod.java:169:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:302:in `cacheAndCall'
org/jruby/runtime/callsite/CachingCallSite.java:144:in `callBlock'
org/jruby/runtime/callsite/CachingCallSite.java:153:in `callIter'
org/jruby/ast/CallNoArgBlockNode.java:64:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:154:in `yield'
org/jruby/runtime/Block.java:130:in `yield'
org/jruby/RubyEnumerator.java:290:in `call'
org/jruby/runtime/CallBlock.java:64:in `call'
org/jruby/runtime/Block.java:89:in `call'
org/jruby/RubyProc.java:270:in `call'
org/jruby/RubyProc.java:224:in `call'
org/jruby/RubyYielder.java:85:in `yield'
org/jruby/RubyYielder$i$0$0$yield.gen:65535:in `call'
org/jruby/internal/runtime/methods/JavaMethod.java:630:in `call'
org/jruby/internal/runtime/methods/DynamicMethod.java:207:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:167:in `call'
org/jruby/ast/CallOneArgNode.java:57:in `interpret'
org/jruby/ast/WhileNode.java:131:in `interpret'
org/jruby/ast/NewlineNode.java:104:in `interpret'
org/jruby/ast/BlockNode.java:71:in `interpret'
org/jruby/evaluator/ASTInterpreter.java:112:in `INTERPRET_BLOCK'
org/jruby/runtime/Interpreted19Block.java:203:in `evalBlockBody'
org/jruby/runtime/Interpreted19Block.java:191:in `yield'
org/jruby/runtime/Interpreted19Block.java:122:in `call'
org/jruby/runtime/Block.java:89:in `call'
org/jruby/RubyProc.java:270:in `call'
org/jruby/internal/runtime/methods/ProcMethod.java:64:in `call'
org/jruby/gen/org/jruby/gen/InterfaceImpl747734684.gen:13:in `doInPreparedStatement'
org/springframework/jdbc/core/JdbcTemplate.java:586:in `execute'
org/springframework/jdbc/core/namedparam/NamedParameterJdbcTemplate.java:129:in `execute'
org/springframework/jdbc/core/namedparam/NamedParameterJdbcTemplate.java:135:in `execute'
/opt/application/mig12/lib/mig12/database.rb:65:in `select'
org/jruby/RubyProc.java:258:in `call'
generator_internal:297:in `each'
org/jruby/RubyEnumerator.java:190:in `each'
/opt/application/mig12/lib/mig12/source.rb:34:in `each'
org/jruby/RubyKernel.java:1804:in `tap'
/opt/application/mig12/lib/mig12/source.rb:31:in `each'
/opt/application/mig12/lib/mig12/tasks/images.rb:56:in `run'
/opt/application/mig12/Rakefile:65:in `(root)'
org/jruby/RubyProc.java:258:in `call'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/task.rb:205:in `execute'
org/jruby/RubyArray.java:1612:in `each'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/task.rb:200:in `execute'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
/opt/application/.rvm/rubies/jruby-1.6.5/lib/ruby/1.9/monitor.rb:201:in `mon_synchronize'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/task.rb:144:in `invoke'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/application.rb:112:in `invoke_task'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/application.rb:90:in `top_level'
org/jruby/RubyArray.java:1612:in `each'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/application.rb:90:in `top_level'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/application.rb:84:in `top_level'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/application.rb:62:in `run'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/bin/rake:32:in `(root)'
org/jruby/RubyKernel.java:1073:in `load'
/opt/application/.rvm/gems/jruby-1.6.5/gems/rake-0.9.2/bin/rake:19:in `(root)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment