com.gargoylesoftware.htmlunit.ScriptException: Exception invoking evaluate

htmlunit | chuckdumont | 3 years ago
  1. 0

    Exception from XPathEvaluator when using namespaces

    htmlunit | 3 years ago | chuckdumont
    com.gargoylesoftware.htmlunit.ScriptException: Exception invoking evaluate
  2. 0

    Exception from selectSingleNode when using namespaces

    htmlunit | 3 years ago | chuckdumont
    java.lang.RuntimeException: Exception invoking selectSingleNode
  3. 0

    Numerous javascript exceptions

    htmlunit | 8 years ago | zuzum2
    com.gargoylesoftware.htmlunit.ScriptException: Wrapped java.lang.RuntimeException: Could not retrieve XPath >.//null:fb:login-button< on HtmlBody[<body>] (http://static.ak.fbcdn.net/rsrc.php/z9O0N/lpkg/9lb011lo/nu_ll/141/151525/js/connect.js.pkg.php#726)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    kudzu.com generates javascript exceptions

    htmlunit | 8 years ago | zuzum2
    com.gargoylesoftware.htmlunit.ScriptException: Wrapped java.lang.RuntimeException: Could not retrieve XPath >.//null:fb:login-button< on HtmlBody[<body>] (http://static.ak.fbcdn.net/rsrc.php/z9O0N/lpkg/9lb011lo/nu_ll/141/151525/js/connect.js.pkg.php#726)
  6. 0

    namespace and xpath

    Stack Overflow | 4 years ago | chris.shi
    org.apache.xpath.domapi.XPathStylesheetDOM3Exception: Prefix must resolve to a namespace: ff:kk

    1 unregistered visitors
    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. org.apache.xpath.domapi.XPathStylesheetDOM3Exception

      Prefix must resolve to a namespace: soap

      at org.apache.xpath.compiler.XPathParser.errorForDOM3()
    2. Xalan Java
      XPathParser.initXPath
      1. org.apache.xpath.compiler.XPathParser.errorForDOM3(Unknown Source)
      2. org.apache.xpath.compiler.Lexer.mapNSTokens(Unknown Source)
      3. org.apache.xpath.compiler.Lexer.tokenize(Unknown Source)
      4. org.apache.xpath.compiler.Lexer.tokenize(Unknown Source)
      5. org.apache.xpath.compiler.XPathParser.initXPath(Unknown Source)
      6. org.apache.xpath.compiler.XPathParser.initXPath(Unknown Source)
      6 frames
    3. HtmlUnit
      XPathEvaluator.evaluate
      1. com.gargoylesoftware.htmlunit.html.xpath.XPathAdapter.<init>(XPathAdapter.java:83)
      2. com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.evaluateXPath(XPathUtils.java:128)
      3. com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.getByXPath(XPathUtils.java:72)
      4. com.gargoylesoftware.htmlunit.html.DomNode.getByXPath(DomNode.java:1445)
      5. com.gargoylesoftware.htmlunit.javascript.host.XPathEvaluator.evaluate(XPathEvaluator.java:77)
      5 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      4. java.lang.reflect.Method.invoke(Method.java:611)
      4 frames
    5. HtmlUnit Core JS
      ContextFactory.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:120)
      2. net.sourceforge.htmlunit.corejs.javascript.FunctionObject.call(FunctionObject.java:448)
      3. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1531)
      4. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
      5. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
      6. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:405)
      6 frames
    6. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:309)
      1 frame
    7. HtmlUnit Core JS
      InterpretedFunction.call
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3031)
      2. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:103)
      2 frames
    8. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:602)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:662)
      2 frames
    9. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:601)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
      2 frames
    10. HtmlUnit
      DefaultJavaScriptExecutor.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:609)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:584)
      3. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:985)
      4. com.gargoylesoftware.htmlunit.javascript.background.JavaScriptFunctionJob.runJavaScript(JavaScriptFunctionJob.java:53)
      5. com.gargoylesoftware.htmlunit.javascript.background.JavaScriptExecutionJob.run(JavaScriptExecutionJob.java:102)
      6. com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runSingleJob(JavaScriptJobManagerImpl.java:328)
      7. com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor.run(DefaultJavaScriptExecutor.java:162)
      7 frames
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:738)
      1 frame