com.gargoylesoftware.htmlunit.ScriptException

TypeError: Cannot read property "one" from undefined (script in http://localhost:8090/TestPage/one.html from (4, 9) to (10, 10)#7)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web326

  • TypeError: Cannot read property "one" from undefined (script in http://localhost:8090/TestPage/one.html from (4, 9) to (10, 10)#7)
  • 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)
  • 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)
  • Stack trace

    • com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "one" from undefined (script in http://localhost:8090/TestPage/one.html from (4, 9) to (10, 10)#7) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:526) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:529) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:536) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:456) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:924) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:182) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:201) at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:655) at com.gargoylesoftware.htmlunit.html.HtmlElement$2.run(HtmlElement.java:887) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:529) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:536) at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:892) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1138) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:189) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:429) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:305) at com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPageIfPossible(BaseFrame.java:136) at com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPage(BaseFrame.java:95) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1778) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:181) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:429) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:305) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:362) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:347) at fm.crawl.CrawlApp$.main(CrawlApp.scala:72) at fm.crawl.CrawlApp.main(CrawlApp.scala) Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot read property "one" from undefined (script in http://localhost:8090/TestPage/one.html from (4, 9) to (10, 10)#7) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3726) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3704) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3732) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3751) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3764) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getObjectPropNoWarn(ScriptRuntime.java:1520) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1379) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:845) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:427) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:261) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3130) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:162) at com.gargoylesoftware.htmlunit.javascript.host.EventHandler.call(EventHandler.java:80) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:484) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:449) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:520) ... 25 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 11 months ago
    4 times, 4 months ago
    2 times, 8 months ago
    Unknown user
    Once, 1 year ago
    9 times, 1 month ago
    1 more bugmates