Skip to content

Instantly share code, notes, and snippets.

@jdm
Created August 24, 2009 18:49
Show Gist options
  • Save jdm/174060 to your computer and use it in GitHub Desktop.
Save jdm/174060 to your computer and use it in GitHub Desktop.
Jarlaxle-2:~ josh$ jruby hpricot-test.rb
RubyBasicObject.java:1058:in `getVariableList': java.lang.ClassCastException: [Lorg.jruby.runtime.builtin.IRubyObject; cannot be cast to org.jruby.runtime.builtin.IRubyObject
from RubyBasicObject.java:727:in `initCopy'
from RubyBasicObject.java:712:in `dup'
from RubyObject.java:734:in `dup'
from org/jruby/RubyObject$i_method_0_0$RUBYINVOKER$dup.gen:-1:in `call'
from CachingCallSite.java:258:in `cacheAndCall'
from CachingCallSite.java:77:in `call'
from hpricot-test.rb:8:in `method__2$RUBY$truncate'
from hpricot_minus_test#truncate:-1:in `call'
from hpricot_minus_test#truncate:-1:in `call'
from CachingCallSite.java:278:in `cacheAndCall'
from CachingCallSite.java:117:in `call'
from hpricot-test.rb:24:in `__file__'
from hpricot-test.rb:-1:in `load'
from Ruby.java:592:in `runScript'
from Ruby.java:514:in `runNormally'
from Ruby.java:360:in `runFromMain'
from Main.java:268:in `run'
from Main.java:113:in `run'
from Main.java:97:in `main'
Jarlaxle-2:~ josh$ jruby --version
jruby 1.3.1 (ruby 1.8.6p287) (2009-06-15 2fd6c3d) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_07) [x86_64-java]
Using hpricot from http://github.com/whymirror/hpricot : 2c961095954d5aaa5c046f4c773c62c3d5902ef4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment