com.gargoylesoftware.htmlunit.ScriptException: Configuration was not initialized - see log for details

htmlunit | yukoba | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cannot run from Ant

    htmlunit | 8 years ago | yukoba
    com.gargoylesoftware.htmlunit.ScriptException: Configuration was not initialized - see log for details

    Root Cause Analysis

    1. com.gargoylesoftware.htmlunit.ScriptException

      Configuration was not initialized - see log for details

      at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$1.run()
    2. HtmlUnit
      JavaScriptEngine$1.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$1.run(JavaScriptEngine.java:134)
      1 frame
    3. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:515)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
      2 frames
    4. HtmlUnit
      WebClient.getPage
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.initialize(JavaScriptEngine.java:141)
      2. com.gargoylesoftware.htmlunit.WebClient.initialize(WebClient.java:1107)
      3. com.gargoylesoftware.htmlunit.WebWindowImpl.setEnclosedPage(WebWindowImpl.java:99)
      4. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:268)
      5. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127)
      6. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101)
      7. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:442)
      8. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:329)
      9. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:386)
      10. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:371)
      10 frames