java.util.concurrent.ExecutionException: java.lang.StackOverflowError

ForgeRock JIRA | Kajetan Hemzaczek | 3 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

    [OPENAM-4258] StackOverflowError in RateWindow class - ForgeRock JIRA

    forgerock.org | 9 months ago
    java.util.concurrent.ExecutionException: java.lang.StackOverflowError
  2. 0

    In CoreSystem debug log there are multiple instances of the following StackOverflowError {noformat}amThreadManager:07/29/2014 09:27:37:298 AM BST: Thread[amThreadManager-4,5,main] ERROR: ThreadMonitor: Thread WatchDog detected error, restarting java.util.concurrent.ExecutionException: java.lang.StackOverflowError at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.forgerock.openam.shared.concurrency.ThreadMonitor$WatchDog.run(ThreadMonitor.java:226) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.StackOverflowError at java.util.TreeMap.remove(TreeMap.java:580) at java.util.TreeSet.remove(TreeSet.java:259) at org.forgerock.openam.shared.monitoring.RateWindow.updateMinAndMax(RateWindow.java:125) at org.forgerock.openam.shared.monitoring.RateWindow.addNextSlot(RateWindow.java:138) at org.forgerock.openam.shared.monitoring.RateWindow.recalculate(RateWindow.java:87) at org.forgerock.openam.shared.monitoring.RateWindow.recalculate(RateWindow.java:88) at org.forgerock.openam.shared.monitoring.RateWindow.recalculate(RateWindow.java:88) at org.forgerock.openam.shared.monitoring.RateWindow.recalculate(RateWindow.java:88) at org.forgerock.openam.shared.monitoring.RateWindow.recalculate(RateWindow.java:88){noformat} There is no obvious way to reproduce this error.

    ForgeRock JIRA | 3 years ago | Kajetan Hemzaczek
    java.util.concurrent.ExecutionException: java.lang.StackOverflowError

    Root Cause Analysis

    1. java.lang.StackOverflowError

      No message provided

      at java.util.TreeMap.remove()
    2. Java RT
      TreeSet.remove
      1. java.util.TreeMap.remove(TreeMap.java:580)
      2. java.util.TreeSet.remove(TreeSet.java:259)
      2 frames
    3. org.forgerock.openam
      RateWindow.recalculate
      1. org.forgerock.openam.shared.monitoring.RateWindow.updateMinAndMax(RateWindow.java:125)
      2. org.forgerock.openam.shared.monitoring.RateWindow.addNextSlot(RateWindow.java:138)
      3. org.forgerock.openam.shared.monitoring.RateWindow.recalculate(RateWindow.java:87)
      4. org.forgerock.openam.shared.monitoring.RateWindow.recalculate(RateWindow.java:88)
      5. org.forgerock.openam.shared.monitoring.RateWindow.recalculate(RateWindow.java:88)
      6. org.forgerock.openam.shared.monitoring.RateWindow.recalculate(RateWindow.java:88)
      6 frames