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)

htmlunit | zuzum2 | 8 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

    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)
  2. 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)
  3. 0

    Exception from selectSingleNode when using namespaces

    htmlunit | 4 years ago | chuckdumont
    java.lang.RuntimeException: Exception invoking selectSingleNode
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception from XPathEvaluator when using namespaces

    htmlunit | 4 years ago | chuckdumont
    com.gargoylesoftware.htmlunit.ScriptException: Exception invoking evaluate

    1 unregistered visitors

    Root Cause Analysis

    1. org.apache.xpath.domapi.XPathStylesheetDOM3Exception

      Prefix must resolve to a namespace: null:fb

      at org.apache.xpath.compiler.XPathParser.errorForDOM3()
    2. Xalan Java
      XPathParser.initXPath
      1. org.apache.xpath.compiler.XPathParser.errorForDOM3(XPathParser.java:655)
      2. org.apache.xpath.compiler.Lexer.mapNSTokens(Lexer.java:647)
      3. org.apache.xpath.compiler.Lexer.tokenize(Lexer.java:365)
      4. org.apache.xpath.compiler.Lexer.tokenize(Lexer.java:98)
      5. org.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:112)
      5 frames
    3. HtmlUnit
      HTMLCollection.jsxGet_length
      1. com.gargoylesoftware.htmlunit.html.xpath.XPathAdapter.<init>(XPathAdapter.java:77)
      2. com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.evaluateXPath(XPathUtils.java:129)
      3. com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.getByXPath(XPathUtils.java:73)
      4. com.gargoylesoftware.htmlunit.javascript.host.HTMLCollection.computeElements(HTMLCollection.java:245)
      5. com.gargoylesoftware.htmlunit.javascript.host.HTMLCollection.getElements(HTMLCollection.java:232)
      6. com.gargoylesoftware.htmlunit.javascript.host.HTMLCollection.jsxGet_length(HTMLCollection.java:387)
      6 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. Rhino
      ScriptableObject.get
      1. org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
      2. org.mozilla.javascript.ScriptableObject.getImpl(ScriptableObject.java:2019)
      3. org.mozilla.javascript.ScriptableObject.get(ScriptableObject.java:286)
      3 frames
    6. HtmlUnit
      SimpleScriptable.get
      1. com.gargoylesoftware.htmlunit.javascript.SimpleScriptable.get(SimpleScriptable.java:63)
      1 frame
    7. Rhino
      ContextFactory.doTopCall
      1. org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1616)
      2. org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1437)
      3. org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1423)
      4. org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3027)
      5. org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
      6. org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      7. org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
      7 frames
    8. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:192)
      1 frame
    9. Rhino
      InterpretedFunction.call
      1. org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
      2. org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
      2 frames
    10. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:472)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$6.doRun(JavaScriptEngine.java:437)
      3. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:507)
      3 frames
    11. Rhino
      ContextFactory.call
      1. org.mozilla.javascript.Context.call(Context.java:515)
      2. org.mozilla.javascript.ContextFactory.call(ContextFactory.java:507)
      2 frames
    12. HtmlUnit
      JavaScriptBackgroundJob.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:444)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:961)
      3. com.gargoylesoftware.htmlunit.JavaScriptBackgroundJob.run(JavaScriptBackgroundJob.java:105)
      3 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame
    14. HtmlUnit
      ThreadManager$1.run
      1. com.gargoylesoftware.htmlunit.ThreadManager$1.run(ThreadManager.java:116)
      1 frame