Hi all. Has anyone had any issues with Hpricot lately? I’m running
on JRuby 1.1.2…
irb(main):001:0> require ‘rubygems’
=> true
irb(main):002:0> require ‘hpricot’
=> true
irb(main):003:0> t = “this is a test google”
=> “this is a test google”
irb(main):004:0> h = Hpricot(t)
Exception in thread “main” java.lang.NoSuchMethodError:
org.jruby.runtime.builtin.IRubyObject.getInstanceVariable(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
at HpricotScanService.hpricot_scan(HpricotScanService.java:931)
at HpricotScanService.__hpricot_scan(HpricotScanService.java:1324)
at HpricotScanServiceCallback$__hpricot_scan_S1.call(Unknown Source)
at
org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:67)
at
org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.call(FullFunctionCallbackMethod.java:69)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:91)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:278)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:675)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:324)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
at
org.jruby.evaluator.ASTInterpreter.localAsgnNode(ASTInterpreter.java:1295)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:403)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:204)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:107)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:264)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1134)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:370)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:648)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:324)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:204)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:107)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:264)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:670)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:324)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:267)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:155)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:332)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1116)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:370)
at
org.jruby.evaluator.ASTInterpreter.dAsgnNode(ASTInterpreter.java:872)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:344)
at
org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1654)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:474)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.evaluator.ASTInterpreter.evalWithBinding(ASTInterpreter.java:224)
at org.jruby.RubyKernel.eval(RubyKernel.java:814)
at org.jruby.RubyKernelInvoker$eval_s_method_0_3.call(Unknown Source)
at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:261)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1134)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:370)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:204)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:261)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:670)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:324)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1115)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:370)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:309)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:363)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:653)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:324)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
at
org.jruby.evaluator.ASTInterpreter.rescueNode(ASTInterpreter.java:1556)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:468)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
at org.jruby.runtime.Block.yield(Block.java:114)
at
org.jruby.evaluator.ASTInterpreter.yieldNode(ASTInterpreter.java:1850)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:509)
at
org.jruby.evaluator.ASTInterpreter.ensureNode(ASTInterpreter.java:1084)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:364)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:150)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:275)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1139)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:370)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
at org.jruby.runtime.Block.yield(Block.java:114)
at
org.jruby.evaluator.ASTInterpreter.yieldNode(ASTInterpreter.java:1850)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:509)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
at
org.jruby.evaluator.ASTInterpreter.rescueNode(ASTInterpreter.java:1556)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:468)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:115)
at org.jruby.runtime.Block.yield(Block.java:109)
at org.jruby.RubyKernel.loop(RubyKernel.java:1001)
at org.jruby.RubyKernelInvoker$loop_s_method_0_0.call(Unknown Source)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:295)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:91)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:278)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1139)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:370)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:115)
at org.jruby.runtime.Block.yield(Block.java:109)
at org.jruby.RubyKernel.rbCatch(RubyKernel.java:842)
at org.jruby.RubyKernelInvoker$rbCatch_s_method_1_0.call(Unknown
Source)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMethod.java:397)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:91)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:278)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1139)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:370)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:150)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:91)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:278)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:675)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:324)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:204)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:107)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:264)
at
org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:670)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:324)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:115)
at org.jruby.runtime.Block.yield(Block.java:109)
at org.jruby.RubyKernel.rbCatch(RubyKernel.java:842)
at org.jruby.RubyKernelInvoker$rbCatch_s_method_1_0.call(Unknown
Source)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMethod.java:397)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:91)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:278)
at
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1139)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:370)
at
org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
at
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:174)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:150)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:267)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:155)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:332)
at
ruby.Users.richmanalang.lib.jruby.bin.jirb.file(/Users/richmanalang/lib/jruby/bin/jirb:19)
at
ruby.Users.richmanalang.lib.jruby.bin.jirb.file(/Users/richmanalang/lib/jruby/bin/jirb)
at
ruby.Users.richmanalang.lib.jruby.bin.jirb.load(/Users/richmanalang/lib/jruby/bin/jirb)
at org.jruby.Ruby.runScript(Ruby.java:512)
at org.jruby.Ruby.runNormally(Ruby.java:432)
at org.jruby.Ruby.runFromMain(Ruby.java:312)
at org.jruby.Main.run(Main.java:144)
at org.jruby.Main.run(Main.java:89)
at org.jruby.Main.main(Main.java:80)
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email