com.gargoylesoftware.htmlunit.ScriptException: Detected cycle in parent scopes for window: com.gargoylesoftware.htmlunit.javascript.host.Window@7d9a83d

htmlunit | dmatej | 9 months ago
  1. 0

    HtmlUnit hangs when using more windows and javascript

    htmlunit | 9 months ago | dmatej
    com.gargoylesoftware.htmlunit.ScriptException: Detected cycle in parent scopes for window: com.gargoylesoftware.htmlunit.javascript.host.Window@7d9a83d
  2. 0
    samebug tip
    All look like I had something else running on my machine that was interfering with it. Once I rebooted it runs without issue.
  3. 0
    samebug tip
    Update to Grails 3.0.x
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    The solution is to run as root using sudo or to set different port in "application.properties" file, e.g. server.port=${port:8181}
  6. 0
    samebug tip
    JHipster only supports java 7 and 8.
    via GitHub by atomfrede

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Detected cycle in parent scopes for window: com.gargoylesoftware.htmlunit.javascript.host.Window@7d9a83d

      at com.gargoylesoftware.htmlunit.javascript.host.Window.setParentScope()
    2. HtmlUnit
      Window.setParentScope
      1. com.gargoylesoftware.htmlunit.javascript.host.Window.setParentScope(Window.java:226)
      1 frame
    3. HtmlUnit Core JS
      ContextFactory.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.BaseFunction.construct(BaseFunction.java:382)
      2. net.sourceforge.htmlunit.corejs.javascript.NativeObject.execIdCall(NativeObject.java:118)
      3. net.sourceforge.htmlunit.corejs.javascript.IdFunctionObject.call(IdFunctionObject.java:101)
      4. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1479)
      5. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:815)
      6. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:111)
      7. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:429)
      7 frames
    4. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:252)
      1 frame
    5. HtmlUnit Core JS
      ScriptRuntime.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3345)
      1 frame
    6. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:818)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:879)
      2 frames