java.lang.NoSuchMethodError: org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Ljava/lang/Class;)I

Coderanch | Tomasz Wontek | 3 years ago
  1. 0

    Retrieving word lists using htmlunit and xpath (Beginning Java forum at Coderanch)

    coderanch.com | 8 months ago
    java.lang.NoSuchMethodError: org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Ljava/lang/Class;)I
  2. 0

    Retrieving word lists using htmlunit and xpath

    Coderanch | 3 years ago | Tomasz Wontek
    java.lang.NoSuchMethodError: org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Ljava/lang/Class;)I
  3. 0

    Error on HTMLTableElement.insertRow(), NoSuchMethodError?

    htmlunit | 1 year ago | bwesterhaus
    com.gargoylesoftware.htmlunit.ScriptException: Exception invoking insertRow
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error on HTMLTableElement.insertRow(), NoSuchMethodError?

    htmlunit | 1 year ago | bwesterhaus
    java.lang.RuntimeException: Exception invoking insertRow
  6. 0

    HtmlUnit - General - NoClassDefFoundError with WebClient.getPage

    nabble.com | 7 months ago
    java.lang.NoSuchMethodError: org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Ljava/lang/Class;)I

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Ljava/lang/Class;)I

      at com.gargoylesoftware.htmlunit.html.xpath.XPathAdapter.initFunctionTable()
    2. HtmlUnit
      JavaScriptEngine$2.get
      1. com.gargoylesoftware.htmlunit.html.xpath.XPathAdapter.initFunctionTable(XPathAdapter.java:82)
      2. com.gargoylesoftware.htmlunit.html.xpath.XPathAdapter.<init>(XPathAdapter.java:96)
      3. com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.evaluateXPath(XPathUtils.java:130)
      4. com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.getByXPath(XPathUtils.java:86)
      5. com.gargoylesoftware.htmlunit.javascript.host.HTMLCollection.getElements(HTMLCollection.java:263)
      6. com.gargoylesoftware.htmlunit.javascript.host.HTMLCollection.jsxGet_length(HTMLCollection.java:410)
      7. com.gargoylesoftware.htmlunit.javascript.host.Window.getWithFallback(Window.java:881)
      8. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$2.get(JavaScriptEngine.java:191)
      8 frames
    3. Rhino
      ContextFactory.doTopCall
      1. org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1544)
      2. org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1375)
      3. org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1364)
      4. org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:2965)
      5. org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394)
      6. org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
      7. org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
      7 frames
    4. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:192)
      1 frame
    5. Rhino
      InterpretedFunction.exec
      1. org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
      2. org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:173)
      2 frames
    6. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:428)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:550)
      2 frames
    7. Rhino
      ContextFactory.call
      1. org.mozilla.javascript.Context.call(Context.java:577)
      2. org.mozilla.javascript.ContextFactory.call(ContextFactory.java:503)
      2 frames
    8. HtmlUnit
      HTMLParser$HtmlUnitDOMBuilder.endElement
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:437)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:412)
      3. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:918)
      4. com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:285)
      5. com.gargoylesoftware.htmlunit.html.HtmlScript.appendChild(HtmlScript.java:193)
      6. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.handleCharacters(HTMLParser.java:518)
      7. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:480)
      7 frames
    9. Xerces2-j
      AbstractSAXParser.endElement
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      1 frame
    10. Maven
      HTMLConfiguration.parse
      1. org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:210)
      2. org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329)
      3. org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:971)
      4. org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:874)
      5. org.cyberneko.html.HTMLScanner$SpecialScanner.scan(HTMLScanner.java:2906)
      6. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:877)
      7. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:495)
      8. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:448)
      8 frames
    11. Xerces2-j
      XMLParser.parse
      1. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      1 frame
    12. HtmlUnit
      WebClient.getPage
      1. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:263)
      2. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:116)
      3. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:89)
      4. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:456)
      5. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:365)
      6. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:413)
      7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:401)
      7 frames
    13. javaapplication8
      JavaApplication8.main
      1. javaapplication8.JavaApplication8.main(JavaApplication8.java:22)
      1 frame