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

Coderanch | Dave Alvarado | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How do I scan my system for this bad class file?

    Coderanch | 7 years ago | Dave Alvarado
    java.lang.NoSuchMethodError: org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Ljava/la ng/Class;)I

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

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

      at com.gargoylesoftware.htmlunit.html.xpath.XPathAdapter.initFunctionTable()
    2. HtmlUnit
      SimpleScriptable.get
      1. com.gargoylesoftware.htmlunit.html.xpath.XPathAdapter.initFunctionTable(XPathAdapter.java:52)
      2. com.gargoylesoftware.htmlunit.html.xpath.XPathAdapter.<init>(XPathAdapter.java:68)
      3. com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.evaluateXPath(XPathUtils.java:128)
      4. com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.getByXPath(XPathUtils.java:72)
      5. com.gargoylesoftware.htmlunit.javascript.host.html.HTMLCollection.computeElements(HTMLCollection.java:249)
      6. com.gargoylesoftware.htmlunit.javascript.host.html.HTMLCollection.getElements(HTMLCollection.java:236)
      7. com.gargoylesoftware.htmlunit.javascript.host.html.HTMLCollection.getWithPreemption(HTMLCollection.java:327)
      8. com.gargoylesoftware.htmlunit.javascript.SimpleScriptable.get(SimpleScriptable.java:80)
      8 frames
    3. HtmlUnit Core JS
      ContextFactory.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getProperty(ScriptableObject.java:1616)
      2. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1390)
      3. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1372)
      4. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:3057)
      5. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:2487)
      6. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      7. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
      7 frames
    4. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:263)
      1 frame
    5. HtmlUnit Core JS
      ScriptRuntime.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
      1 frame