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 einsteinnjr
, 1 year ago
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)
via sourceforge.net by Unknown author, 2 years ago
TypeError: Cannot read property "elements" from undefined (script in from (10, 9) to (27, 10)#18)
via Coderanch by Prasath Premkumar, 1 year ago
Wrapped com.gargoylesoftware.htmlunit.ScriptException: Inappropriate array length. (https://corporate.ndbbank.com/ibankretail/menuCookie.js#48) (script in https://corporate.ndbbank.com/ibankretail/Home.jsp from (4, 38) to (32, 14)#27)
via htmlunit by ssilvert
, 1 year ago
Wrapped java.lang.RuntimeException: Could not retrieve XPath >//parsererror< on HtmlHtml[<html xmlns="http://www.w3.org/1999/xhtml">] (http://localhost:8080/jboss-jsfunit-examples-ajax4jsf/a4j.res/org.ajax4jsf.framework.ajax.AjaxScript.jsf#18)
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