java.lang.RuntimeException: Refresh to http://www.cnn.com/?refresh=1 (1800s) aborted by HtmlUnit: Attempted to refresh a page using an ImmediateRefreshHandler which could have caused an OutOfMemoryError Please use WaitingRefreshHandler or ThreadedRefreshHandler instead.

htmlunit | amitmanjhi | 6 years ago
  1. 0

    Make a NiceRefreshHandler the default

    htmlunit | 6 years ago | amitmanjhi
    java.lang.RuntimeException: Refresh to http://www.cnn.com/?refresh=1 (1800s) aborted by HtmlUnit: Attempted to refresh a page using an ImmediateRefreshHandler which could have caused an OutOfMemoryError Please use WaitingRefreshHandler or ThreadedRefreshHandler instead.
  2. 0

    HTMLUnit error: Attempted to refresh a page using an ImmediateRefreshHandler which

    Stack Overflow | 2 years ago | vap78
    java.lang.RuntimeException: Refresh to https://acme.com:11111/x/y/z aborted by HtmlUnit: Attempted to refresh a page using an ImmediateRefreshHandler which could have caused an OutOfMemoryError Please use WaitingRefreshHandler or ThreadedRefreshHandler instead.
  3. 0

    Java - .jar libraries methods conflict?

    Stack Overflow | 3 years ago | Johnny Greenwood
    java.lang.RuntimeException: java.lang.NoSuchMethodException: org.apache.http.conn.ssl.SSLSocketFactory.createDefaultSSLContext() at com.gargoylesoftware.htmlunit.HtmlUnitSSLSocketFactory.createSSLContext(HtmlUnitSSLSocketFactory.java:119)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HtmlUnitDriver exception

    Google Groups | 9 years ago | cenkcivici
    java.lang.RuntimeException: Refresh Aborted by HtmlUnit: Attempted to refresh a page using an ImmediateRefreshHandler which could have caused an OutOfMemoryError Please use WaitingRefreshHandler or ThreadedRefreshHandler instead.

    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.RuntimeException

      Refresh to http://www.cnn.com/?refresh=1 (1800s) aborted by HtmlUnit: Attempted to refresh a page using an ImmediateRefreshHandler which could have caused an OutOfMemoryError Please use WaitingRefreshHandler or ThreadedRefreshHandler instead.

      at com.gargoylesoftware.htmlunit.ImmediateRefreshHandler.handleRefresh()
    2. HtmlUnit
      WebClient.getPage
      1. com.gargoylesoftware.htmlunit.ImmediateRefreshHandler.handleRefresh(ImmediateRefreshHandler.java:58)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.executeRefreshIfNeeded(HtmlPage.java:1258)
      3. com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:226)
      4. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:436)
      5. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:307)
      6. com.gargoylesoftware.htmlunit.ImmediateRefreshHandler.handleRefresh(ImmediateRefreshHandler.java:60)
      7. com.gargoylesoftware.htmlunit.html.HtmlPage.executeRefreshIfNeeded(HtmlPage.java:1258)
      8. com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:226)
      9. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:436)
      10. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:307)
      11. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:369)
      12. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:354)
      12 frames
    3. com.google.ajaxcrawling
      GreetingServiceImpl.greetServer
      1. com.google.ajaxcrawling.server.GreetingServiceImpl.greetServer(GreetingServiceImpl.java:25)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    5. com.google.appengine
      Runtime.invoke
      1. com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:100)
      1 frame
    6. Jetty Contrib :: jetty-gwt RemoteServiceServlet
      AbstractRemoteServiceServlet.doPost
      1. com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
      2. com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:190)
      3. com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:226)
      4. com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
      4 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      2 frames
    8. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
      2 frames
    9. com.google.appengine
      ServeBlobFilter.doFilter
      1. com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:51)
      1 frame
    10. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      1 frame
    11. Google AppEngine
      TransactionCleanupFilter.doFilter
      1. com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
      1 frame
    12. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      1 frame
    13. AppEngine Testing
      StaticFileFilter.doFilter
      1. com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:121)
      1 frame
    14. Jetty Server
      WebAppContext.handle
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      6 frames
    15. com.google.apphosting
      DevAppEngineWebAppContext.handle
      1. com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
      1 frame
    16. Jetty Server
      HandlerWrapper.handle
      1. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      1 frame
    17. AppEngine Testing
      JettyContainerService$ApiProxyHandler.handle
      1. com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:352)
      1 frame
    18. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      2. org.mortbay.jetty.Server.handle(Server.java:313)
      3. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
      4. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
      5. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
      6. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      7. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
      8. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
      8 frames
    19. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
      1 frame