com.gargoylesoftware.htmlunit.ScriptException: The undefined value has no properties. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:160) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:765) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavascriptIfPossible(HtmlPage.java:718) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeBodyOnLoadHandlerIfNeeded(HtmlPage.java:911) at com.gargoylesoftware.htmlunit.html.HtmlPage.<init>(HtmlPage.java:96) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:45) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:304) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:208) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:150)

htmlunit | bobanoba | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    New JS Error Using Pre4.

    htmlunit | 1 decade ago | bobanoba
    com.gargoylesoftware.htmlunit.ScriptException: The undefined value has no properties. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:160) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:765) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavascriptIfPossible(HtmlPage.java:718) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeBodyOnLoadHandlerIfNeeded(HtmlPage.java:911) at com.gargoylesoftware.htmlunit.html.HtmlPage.<init>(HtmlPage.java:96) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:45) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:304) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:208) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:150)

    Root Cause Analysis

    1. com.gargoylesoftware.htmlunit.ScriptException

      The undefined value has no properties. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:160) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:765) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavascriptIfPossible(HtmlPage.java:718) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeBodyOnLoadHandlerIfNeeded(HtmlPage.java:911) at com.gargoylesoftware.htmlunit.html.HtmlPage.<init>(HtmlPage.java:96) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:45) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:304) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:208) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:150)

      at LoginNew.main()
    2. Unknown
      LoginNew.main
      1. LoginNew.main(LoginNew.java:23)
      1 frame