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.

  • YUI 2.6.0 XHR request not working
    via htmlunit by rjhazelwood
    ,
  • GWT 1.4 and HtmlUnit 2.1
    via by megid,
  • GWT 1.4 and HtmlUnit 2.1
    via by megid,
  • Error on Test JSF
    via by 843844,
    • com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "elements" from undefined (script in http://ged.capes.gov.br/AgProd/silverstream/pages/pgRelBolsistasProdPesq.html from (10, 9) to (27, 10)#18) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:511) at org.mozilla.javascript.Context.call(Context.java:502) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:444) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:899) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:152) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:165) at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:590) at com.gargoylesoftware.htmlunit.html.HtmlElement$2.run(HtmlElement.java:947) at org.mozilla.javascript.Context.call(Context.java:502) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511) at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:952) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1138) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:172) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:451) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:326) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:383) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:368) at test4_htmlunit.Ex_htmlunit.search(Ex_htmlunit.java:33) at test4_htmlunit.Ex_htmlunit.main(Ex_htmlunit.java:119) Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot read property "elements" from undefined (script in http://ged.capes.gov.br/AgProd/silverstream/pages/pgRelBolsistasProdPesq.html from (10, 9) to (27, 10)#18) at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3558) at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3536) at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3564) at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3583) at org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3596) at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1382) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3054) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2484) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:192) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3004) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162) at com.gargoylesoftware.htmlunit.javascript.host.EventHandler.call(EventHandler.java:78) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:472) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$6.doRun(JavaScriptEngine.java:437) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:505) ... 19 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Juraji
    5 times, last one,
    Unknown visitor1 times, last one,