java.lang.StackOverflowError

  1. 0

    ForkJoinPool for RecursiveTask leads to StackOverflowError

    Stack Overflow | 3 months ago | Michael Andreev
    java.lang.StackOverflowError
  2. 0

    Unable to trace the source of a stack overflow error

    Stack Overflow | 5 years ago | David
    java.lang.StackOverflowError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    stackoverflow error while checkout and compare

    Stack Overflow | 4 years ago | user1782807
    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 sun.reflect.GeneratedConstructorAccessor1.newInstance()
    2. Java RT
      ForkJoinTask.join
      1. sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown Source)
      2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      3. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      4. java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:598)
      5. java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677)
      6. java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:720)
      6 frames
    3. test
      ValueSumCounter.compute
      1. test.ValueSumCounter.compute(ValueSumCounter.java:34)
      2. test.ValueSumCounter.compute(ValueSumCounter.java:13)
      2 frames
    4. Java RT
      ForkJoinTask.join
      1. java.util.concurrent.RecursiveTask.exec(RecursiveTask.java:94)
      2. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      3. java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:389)
      4. java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719)
      4 frames
    5. test
      ValueSumCounter.compute
      1. test.ValueSumCounter.compute(ValueSumCounter.java:34)
      2. test.ValueSumCounter.compute(ValueSumCounter.java:13)
      2 frames
    6. Java RT
      ForkJoinTask.join
      1. java.util.concurrent.RecursiveTask.exec(RecursiveTask.java:94)
      2. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      3. java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:389)
      4. java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719)
      4 frames
    7. test
      ValueSumCounter.compute
      1. test.ValueSumCounter.compute(ValueSumCounter.java:34)
      2. test.ValueSumCounter.compute(ValueSumCounter.java:13)
      2 frames
    8. Java RT
      ForkJoinTask.join
      1. java.util.concurrent.RecursiveTask.exec(RecursiveTask.java:94)
      2. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      3. java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:389)
      4. java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719)
      4 frames
    9. test
      ValueSumCounter.compute
      1. test.ValueSumCounter.compute(ValueSumCounter.java:34)
      2. test.ValueSumCounter.compute(ValueSumCounter.java:13)
      2 frames
    10. Java RT
      ForkJoinTask.join
      1. java.util.concurrent.RecursiveTask.exec(RecursiveTask.java:94)
      2. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      3. java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:389)
      4. java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719)
      4 frames
    11. test
      ValueSumCounter.compute
      1. test.ValueSumCounter.compute(ValueSumCounter.java:34)
      2. test.ValueSumCounter.compute(ValueSumCounter.java:13)
      2 frames
    12. Java RT
      ForkJoinTask.join
      1. java.util.concurrent.RecursiveTask.exec(RecursiveTask.java:94)
      2. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      3. java.util.concurrent.ForkJoinPool.helpStealer(ForkJoinPool.java:1958)
      4. java.util.concurrent.ForkJoinPool.awaitJoin(ForkJoinPool.java:2047)
      5. java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:390)
      6. java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719)
      6 frames
    13. test
      ValueSumCounter.compute
      1. test.ValueSumCounter.compute(ValueSumCounter.java:34)
      2. test.ValueSumCounter.compute(ValueSumCounter.java:13)
      2 frames
    14. Java RT
      ForkJoinWorkerThread.run
      1. java.util.concurrent.RecursiveTask.exec(RecursiveTask.java:94)
      2. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      3. java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      4. java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      5. java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      5 frames