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
  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)
  2. 0

    java.htmlunit.general - error JavaScript execute - msg#00012 - Recent Discussion OSDir.com

    osdir.com | 1 year ago
    com.gargoylesoftware.htmlunit.ScriptException: syntax error (Embedded script in ) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:253) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:698) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:209) at com.gargoylesoftware.htmlunit.html.HtmlScript.appendChild(HtmlScript.java:168) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.handleCharacters(HTMLParser.java:407) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:368) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:249) at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:367) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1015) at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:888) at org.cyberneko.html.HTMLScanner$SpecialScanner.scan(HTMLScanner.java:2831) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:809) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:311) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:226) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:112) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:85) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:431) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:335) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389) at com.asf.ptrack.test.UserTest.showUsersList(UserTest.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  3. 0

    HtmlUnit / Mailing Lists

    sourceforge.net | 1 year ago
    com.gargoylesoftware.htmlunit.ScriptException: syntax error (Embedded script in ) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:253) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:698) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:209) at com.gargoylesoftware.htmlunit.html.HtmlScript.appendChild(HtmlScript.java:168) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.handleCharacters(HTMLParser.java:407) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:368) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:249) at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:367) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1015) at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:888) at org.cyberneko.html.HTMLScanner$SpecialScanner.scan(HTMLScanner.java:2831) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:809) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:311) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:226) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:112) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:85) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:431) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:335) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389) at com.asf.ptrack.test.UserTest.showUsersList(UserTest.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HtmlUnit / Mailing Lists

    sourceforge.net | 7 months ago
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot set property "onmousemove" o f undefined to "org.mozilla.javascript.InterpretedFunction@..." (script in file:/home/ven kita/tryout/test4.html from (8, 77) to (9, 10)#11) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.ru n(JavaScriptEngine.java:528)
  6. 0

    Conditional compilation of JavaScript in IE

    htmlunit | 6 years ago | alexeypopov
    com.gargoylesoftware.htmlunit.ScriptException: syntax error (script in http://localhost:8080/test.html from (3, 39) to (7, 18)#6)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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