java.lang.NoSuchMethodError: com.gargoylesoftware.htmlunit.html.HtmlPage.getDocumentHtmlElement()Lcom/gargoylesoftware/htmlunit/html/HtmlElement;

htmlunit | gnark | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    dom style / style rules not fully implemented

    htmlunit | 8 years ago | gnark
    java.lang.NoSuchMethodError: com.gargoylesoftware.htmlunit.html.HtmlPage.getDocumentHtmlElement()Lcom/gargoylesoftware/htmlunit/html/HtmlElement;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

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

      at com.canoo.webtest.engine.WebClientContext$CurrentWindowTracker.webWindowContentChanged()
    2. com.canoo.webtest
      WebClientContext$CurrentWindowTracker.webWindowContentChanged
      1. com.canoo.webtest.engine.WebClientContext$CurrentWindowTracker.webWindowContentChanged(WebClientContext.java:111)
      1 frame
    3. HtmlUnit
      WebClient.getPage
      1. com.gargoylesoftware.htmlunit.WebClient.fireWindowContentChanged(WebClient.java:914)
      2. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:453)
      3. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:332)
      4. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:405)
      4 frames
    4. com.canoo.webtest
      Step.execute
      1. com.canoo.webtest.steps.request.TargetHelper.getResponse(TargetHelper.java:69)
      2. com.canoo.webtest.steps.request.AbstractTargetAction.getResponse(AbstractTargetAction.java:66)
      3. com.canoo.webtest.steps.request.InvokePage.findTarget(InvokePage.java:160)
      4. com.canoo.webtest.steps.request.AbstractTargetAction.doExecute(AbstractTargetAction.java:72)
      5. com.canoo.webtest.steps.Step.execute(Step.java:101)
      5 frames
    5. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    7. Ant
      Task.perform
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      2. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:115)
      3. org.apache.tools.ant.Task.perform(Task.java:348)
      3 frames
    8. com.canoo.webtest
      Step.execute
      1. com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence.java:43)
      2. com.canoo.webtest.ant.TestStepSequence.doExecute(TestStepSequence.java:31)
      3. com.canoo.webtest.steps.Step.execute(Step.java:101)
      3 frames