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)

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, 1 year ago
TypeError: Cannot read property "elements" from undefined (script in from (10, 9) to (27, 10)#18)
via gmane.org by Unknown author, 1 year ago
Wrapped java.lang.IllegalArgumentException: Relative URL must not be null (script in from (10, 9) to (28, 10)#25)
via Coderanch by Prasath Premkumar, 11 months 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)
via htmlunit by netdance
, 1 year ago
TypeError: Cannot call property ajaxRequest in object [JavaPackage javax.faces.Ajax]. It is not a function, it is "object".
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 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.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 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 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 test4_htmlunit.Ex_htmlunit.search(Ex_htmlunit.java:33)
at test4_htmlunit.Ex_htmlunit.main(Ex_htmlunit.java:119)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
5 times, 1 year ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.