Skip to content

Instantly share code, notes, and snippets.

@nrk
Created July 18, 2010 15:23
Show Gist options
  • Select an option

  • Save nrk/480477 to your computer and use it in GitHub Desktop.

Select an option

Save nrk/480477 to your computer and use it in GitHub Desktop.
RubyArray.java:771:in `eltInternal': java.lang.ArrayIndexOutOfBoundsException: 1
from Pack.java:1343:in `encode'
from Pack.java:1640:in `pack'
from RubyArray.java:3852:in `pack'
from org/jruby/RubyArray$i_method_1_0$RUBYINVOKER$pack.gen:65535:in `call'
from CachingCallSite.java:309:in `cacheAndCall'
from CachingCallSite.java:148:in `call'
from test.rb:1:in `__file__'
from test.rb:-1:in `load'
from Ruby.java:685:in `runScript'
from Ruby.java:568:in `runNormally'
from Ruby.java:414:in `runFromMain'
from Main.java:286:in `run'
from Main.java:128:in `run'
from Main.java:97:in `main'
test.rb:1:in `pack': too few arguments (ArgumentError)
from test.rb:1
jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-06-06 f3a3480) (Java HotSpot(TM) 64-Bit Server V
M 1.6.0_20) [amd64-java]
[0].pack('CC')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment