java.lang.StackOverflowError

Oracle Community | 843793 | 2 decades 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

    Singleton instatiation

    Oracle Community | 2 decades ago | 843793
    java.lang.StackOverflowError

    Root Cause Analysis

    1. java.lang.StackOverflowError

      No message provided

      at ClassB.<init>()
    2. Unknown
      ClassA.methodA
      1. ClassB.<init>(StaticTest.java:21)
      2. ClassB.getInstance(StaticTest.java:19)
      3. ClassA.methodA(StaticTest.java:9)
      4. ClassB.methodB(StaticTest.java:23)
      5. ClassA.methodA(StaticTest.java:9)
      6. ClassB.methodB(StaticTest.java:23)
      7. ClassA.methodA(StaticTest.java:9)
      8. ClassB.methodB(StaticTest.java:23)
      9. ClassA.methodA(StaticTest.java:9)
      10. ClassB.methodB(StaticTest.java:23)
      11. ClassA.methodA(StaticTest.java:9)
      11 frames