com.gargoylesoftware.htmlunit.ScriptException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Cannot Find Function Error
    via htmlunit by kamotlikod
    ,
  • Can't access a certain page with HTMLUnit
    via Stack Overflow by Lelv
    ,
  • getPage() function HTML Unit
    via Stack Overflow by Can Öncel
    ,
  • HtmlUnit not creating HtmlPage object
    via by Unknown author,
  • erreur etrange selenium webdriver
    via by Unknown author,
  • Sheldon Rules
    via by Unknown author,
    • com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function indexOf in object . (http://script.footprintlive.com/?site=vbox.katanatechworks.com#29) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:663) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:559) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:525) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:548) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1073) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:399) at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:266) at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:276) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:626) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:585) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1169) at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1071) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206) at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330) at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3074) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2041) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:918) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:818) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:234) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:180) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:267) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:155) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:483) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:358) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:423) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:408) at com.trackingnet.core.TrackerHandler.execute(TrackerHandler.java:265) at com.trackingnet.core.TagEngineRunnable.run(TagEngineRunnable.java:37) at java.lang.Thread.run(Thread.java:722) Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function indexOf in object . (http://script.footprintlive.com/?site=vbox.katanatechworks.com#29) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3732) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3710) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3738) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3757) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3829) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2277) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2259) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1317) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:815) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:109) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:415) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:274) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3132) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:120) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:539) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:651) ... 32 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    MoYaproMoYapro
    2 times, last one,
    raytestraytest
    4 times, last one,
    mellsonmellson
    1 times, last one,
    DavidDavid
    9 times, last one,
    1 more bugmates