com.gargoylesoftware.htmlunit.ScriptException: Index or size is negative or greater than the allowed amount (index: 1, 0 rows) (Embedded script in http://localhost/test.html#10), Step: SetCheckbox at C:\canoo-webtest\tests\test1.xml:34: with (taskName="setCheckbox") at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:427) at com.canoo.webtest.steps.AbstractBrowserAction.handleUnexpectedExcepti on(AbstractBrowserAction.java:120) at com.canoo.webtest.steps.Step.execute(Step.java:115) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

htmlunit | craig_copeland | 1 decade 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

    JavaScript error using table.deleteRow() and insertRow()

    htmlunit | 1 decade ago | craig_copeland
    com.gargoylesoftware.htmlunit.ScriptException: Index or size is negative or greater than the allowed amount (index: 1, 0 rows) (Embedded script in http://localhost/test.html#10), Step: SetCheckbox at C:\canoo-webtest\tests\test1.xml:34: with (taskName="setCheckbox") at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:427) at com.canoo.webtest.steps.AbstractBrowserAction.handleUnexpectedExcepti on(AbstractBrowserAction.java:120) at com.canoo.webtest.steps.Step.execute(Step.java:115) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

    Root Cause Analysis

    1. com.gargoylesoftware.htmlunit.ScriptException

      Index or size is negative or greater than the allowed amount (index: 1, 0 rows) (Embedded script in http://localhost/test.html#10), Step: SetCheckbox at C:\canoo-webtest\tests\test1.xml:34: with (taskName="setCheckbox") at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:427) at com.canoo.webtest.steps.AbstractBrowserAction.handleUnexpectedExcepti on(AbstractBrowserAction.java:120) at com.canoo.webtest.steps.Step.execute(Step.java:115) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

      at org.apache.tools.ant.Task.perform()
    2. Ant
      Task.perform
      1. org.apache.tools.ant.Task.perform(Task.java:364)
      1 frame