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)

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 craig_copeland
, 1 year ago
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.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)

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.