java.lang.NoSuchMethodError

com.gargoylesoftware.htmlunit.html.HtmlPage.getDocumentHtmlElement()Lcom/gargoylesoftware/htmlunit/html/HtmlElement;

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2559

  • com.gargoylesoftware.htmlunit.html.HtmlPage.getDocumentHtmlElement()Lcom/gargoylesoftware/htmlunit/html/HtmlElement;
  • com.sun.tools.doclets.formats.html.HtmlDocletWriter.<init>(Lcom/sun/tools/doclets/formats/html/ConfigurationImpl;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
  • com.mongodb.DB.command(Lcom/mongodb/DBObject;Lcom/mongodb/ReadPreference;)Lcom/mongodb/CommandResult;
  • Stack trace

    • java.lang.NoSuchMethodError: com.gargoylesoftware.htmlunit.html.HtmlPage.getDocumentHtmlElement()Lcom/gargoylesoftware/htmlunit/html/HtmlElement; at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:115) at org.apache.tools.ant.Task.perform(Task.java:348) at com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence.java:43) at com.canoo.webtest.ant.TestStepSequence.doExecute(TestStepSequence.java:31) at com.canoo.webtest.steps.Step.execute(Step.java:101) Caused by: java.lang.NoSuchMethodError: com.gargoylesoftware.htmlunit.html.HtmlPage.getDocumentHtmlElement()Lcom/gargoylesoftware/htmlunit/html/HtmlElement; at com.canoo.webtest.engine.WebClientContext$CurrentWindowTracker.webWindowContentChanged(WebClientContext.java:111) at com.gargoylesoftware.htmlunit.WebClient.fireWindowContentChanged(WebClient.java:914) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:453) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:332) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:405) at com.canoo.webtest.steps.request.TargetHelper.getResponse(TargetHelper.java:69) at com.canoo.webtest.steps.request.AbstractTargetAction.getResponse(AbstractTargetAction.java:66) at com.canoo.webtest.steps.request.InvokePage.findTarget(InvokePage.java:160) at com.canoo.webtest.steps.request.AbstractTargetAction.doExecute(AbstractTargetAction.java:72) at com.canoo.webtest.steps.Step.execute(Step.java:101) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) ... 5 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.