java.lang.RuntimeException: Could not retrieve XPath >.//null:fb:login-button< on HtmlBody[<body>]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via htmlunit by zuzum2
, 1 year ago
Could not retrieve XPath >.//null:fb:login-button< on HtmlBody[<body>]
via htmlunit by zuzum2
, 1 year ago
Could not retrieve XPath >.//null:fb:login-button< on HtmlBody[<body>]
via htmlunit by chuckdumont
, 1 year ago
Could not retrieve XPath >/soap:Envelope/soap:Body< on com.gargoylesoftware.htmlunit.html.DomElement@519f519f
via htmlunit by legrass
, 1 year ago
Could not retrieve XPath >child::ol< on
via sourceforge.net by Unknown author, 1 year ago
Could not retrieve XPath >child::ol< on
via sourceforge.net by Unknown author, 2 years ago
Could not retrieve XPath >//script< on HtmlPage(
org.apache.xpath.domapi.XPathStylesheetDOM3Exception: Prefix must resolve to a namespace: null:fb
at org.apache.xpath.compiler.XPathParser.errorForDOM3(XPathParser.java:655)
at org.apache.xpath.compiler.Lexer.mapNSTokens(Lexer.java:647)
at org.apache.xpath.compiler.Lexer.tokenize(Lexer.java:365)
at org.apache.xpath.compiler.Lexer.tokenize(Lexer.java:98)
at com.gargoylesoftware.htmlunit.html.xpath.XPathAdapter.(XPathAdapter.java:77)
at com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.evaluateXPath(XPathUtils.java:129)
at com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.getByXPath(XPathUtils.java:73)
at com.gargoylesoftware.htmlunit.javascript.host.HTMLCollection.computeElements(HTMLCollection.java:245)
at com.gargoylesoftware.htmlunit.javascript.host.HTMLCollection.getElements(HTMLCollection.java:232)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.ScriptableObject.getImpl(ScriptableObject.java:2019)
at org.mozilla.javascript.ScriptableObject.get(ScriptableObject.java:286)
at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1616)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1437)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1423)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3027)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:472)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$6.doRun(JavaScriptEngine.java:437)
at org.mozilla.javascript.Context.call(Context.java:515)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:507)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:444)
at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:961)
at com.gargoylesoftware.htmlunit.JavaScriptBackgroundJob.run(JavaScriptBackgroundJob.java:105)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.