bug in Hpricot/Jruby
--------------------

                 Key: JRUBY-2468
                 URL: http://jira.codehaus.org/browse/JRUBY-2468
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1RC3
         Environment: ubuntu
            Reporter: Irfan Baig
            Assignee: Thomas E Enebo


echo "<html><body>hello<div>world</div></body></html>"| html2haml -s
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:87)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:256)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:662)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at 
org.jruby.evaluator.ASTInterpreter.localAsgnNode(ASTInterpreter.java:1256)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:387)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:102)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:243)
        at 
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1100)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:354)
        at 
org.jruby.evaluator.ASTInterpreter.setupArgs(ASTInterpreter.java:2155)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:649)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:102)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:243)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:657)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at org.jruby.RubyMethod.call(RubyMethod.java:110)
        at org.jruby.RubyMethodInvoker$call_method_0_0.call(Unknown Source)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:102)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:243)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:657)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
        at 
org.jruby.evaluator.ASTInterpreter.instAsgnNode(ASTInterpreter.java:1236)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:381)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at org.jruby.RubyClass.invoke(RubyClass.java:236)
        at 
org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:314)
        at org.jruby.RubyObject.callMethod(RubyObject.java:475)
        at org.jruby.RubyClass.newInstance(RubyClass.java:271)
        at org.jruby.RubyClassInvoker$newInstance_method_0_0.call(Unknown 
Source)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:102)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:243)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:657)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:648)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
        at 
org.jruby.evaluator.ASTInterpreter.setupArgs(ASTInterpreter.java:2155)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:649)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:70)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:117)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:275)
        at 
org.jruby.evaluator.ASTInterpreter.vcallNode(ASTInterpreter.java:1748)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:484)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at 
org.jruby.evaluator.ASTInterpreter.rescueNode(ASTInterpreter.java:1517)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:452)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:102)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:243)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:657)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at org.jruby.evaluator.ASTInterpreter.rootNode(ASTInterpreter.java:1615)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:458)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at org.jruby.Ruby.loadFile(Ruby.java:1854)
        at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:58)
        at org.jruby.runtime.load.LoadService.load(LoadService.java:211)
        at org.jruby.RubyKernel.load(RubyKernel.java:684)
        at org.jruby.RubyKernelInvoker$load_s_method_1_1.call(Unknown Source)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:78)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:147)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:307)
        at 
ruby.usr.local.jruby_minus_1_dot_1RC3.bin.html2haml.__file__(/usr/local/jruby/bin/html2haml:19)
        at 
ruby.usr.local.jruby_minus_1_dot_1RC3.bin.html2haml.load(/usr/local/jruby/bin/html2haml)
        at org.jruby.Ruby.runScript(Ruby.java:510)
        at org.jruby.Ruby.runNormally(Ruby.java:430)
        at org.jruby.Ruby.runFromMain(Ruby.java:310)
        at org.jruby.Main.run(Main.java:141)
        at org.jruby.Main.run(Main.java:88)
        at org.jruby.Main.main(Main.java:79)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to