java.lang.StackOverflowError

Atlassian JIRA | Robin Fernandes [back 12th Sept] | 6 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

    In some tests, we're seeing intermittent stack overflows in HTML unit seemingly caused by cyclical redirects. The affects the CI build, on trunk and the 103 branch. Examples: https://bamboo.extranet.atlassian.com/browse/JST-JST103-56 https://bamboo.extranet.atlassian.com/browse/JST-JST103-61 https://bamboo.extranet.atlassian.com/browse/JST-AOD-124 Some of the tests that have failed in this way: TestStudioProjectUpdate.setUp TestStudioTabs.testAdminTabsChange TestStudioTabs.testNavbarTabsChange SimpleGroupSetup.setUpAllAndAddBMW TestRestSecurity.setUp TestStreams.testFeedAvailable TestTrustedAppsSetup.setUp TestConfluenceHistory.beforeMethod TestCrowdNotifier.setUp TestCustomTabs.setUp TestProjectKeyTranslation.setUp TestRepositoryManager.setUp TestQuickNav.setUp Typical stacktrace: {noformat} java.lang.StackOverflowError at java.lang.Exception.<init>(Exception.java:41) at java.io.IOException.<init>(IOException.java:41) at java.io.InterruptedIOException.<init>(InterruptedIOException.java:45) at java.net.SocketTimeoutException.<init>(SocketTimeoutException.java:24) at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.commons.httpclient.HttpConnection.isStale(HttpConnection.java:505) at org.apache.commons.httpclient.HttpConnection.closeIfStale(HttpConnection.java:430) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.closeIfStale(MultiThreadedHttpConnectionManager.java:1273) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:381) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:97) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1430) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1388) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1482) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1388) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1482) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1388) [...] {noformat} Some people have seen this happen occasionally in their browser, as well, so it looks like a legitimate bug (probably a timing issue) and not just a test failure.

    Atlassian JIRA | 6 years ago | Robin Fernandes [back 12th Sept]
    java.lang.StackOverflowError
  2. 0

    mongo-java: StackOverflowError when fetching a tailable cursor

    Google Groups | 7 years ago | Sergey Shinderuk
    java.lang.StackOverflowError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error after 1.2.0 upgrade

    Google Groups | 4 years ago | Alain RODRIGUEZ
    java.lang.StackOverflowError
  5. 0

    FYI: Java 7u4 on Linux requires higher stack size

    Google Groups | 5 years ago | Viktor Jevdokimov
    java.lang.StackOverflowError

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

      No message provided

      at java.lang.Exception.<init>()
    2. Java RT
      BufferedInputStream.read
      1. java.lang.Exception.<init>(Exception.java:41)
      2. java.io.IOException.<init>(IOException.java:41)
      3. java.io.InterruptedIOException.<init>(InterruptedIOException.java:45)
      4. java.net.SocketTimeoutException.<init>(SocketTimeoutException.java:24)
      5. java.net.SocketInputStream.socketRead0(Native Method)
      6. java.net.SocketInputStream.read(SocketInputStream.java:129)
      7. java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      8. java.io.BufferedInputStream.read(BufferedInputStream.java:237)
      8 frames
    3. HttpClient
      HttpClient.executeMethod
      1. org.apache.commons.httpclient.HttpConnection.isStale(HttpConnection.java:505)
      2. org.apache.commons.httpclient.HttpConnection.closeIfStale(HttpConnection.java:430)
      3. org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.closeIfStale(MultiThreadedHttpConnectionManager.java:1273)
      4. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:381)
      5. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
      6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
      7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
      7 frames
    4. HtmlUnit
      WebClient.loadWebResponse
      1. com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:97)
      2. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1430)
      3. com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1388)
      4. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1482)
      5. com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1388)
      6. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1482)
      7. com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1388)
      7 frames