java.lang.RuntimeException: Could not retrieve XPath >//div[contains(@class, 'error')]< on com.gargoylesoftware.htmlunit.xml.XmlPage@4298e

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 jmrzena
, 1 year ago
Could not retrieve XPath >//div[contains(@class, 'error')]< on com.gargoylesoftware.htmlunit.xml.XmlPage@4298e
via sourceforge.net by Unknown author, 1 year ago
Could not retrieve XPath >//div[contains(@class, 'error')]< on com.gargoylesoftware.htmlunit.xml.XmlPage@...
via sourceforge.net by Unknown author, 2 years ago
Could not retrieve XPath >//script< on HtmlPage(
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 htmlunit by renefoobar
, 1 year ago
Could not retrieve XPath >//script< on HtmlPage(https://foobar.com)@21680077
java.lang.RuntimeException: Could not retrieve XPath >//div[contains(@class, 'error')]< on com.gargoylesoftware.htmlunit.xml.XmlPage@4298e
at com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.getByXPath(XPathUtils.java:85)

Users with the same issue

You are the first who have seen this exception.

Write tip

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