java.lang.ClassCircularityError: a/b/c/c/MyClass

GitHub | brucetrask | 8 months 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

    java.lang.ClassCircularityError when doing callpoints

    GitHub | 8 months ago | brucetrask
    java.lang.ClassCircularityError: a/b/c/c/MyClass
  2. 0

    Jmockit java.lang.ClassCircularityError: mockit/Invocation

    Stack Overflow | 1 year ago | allon2
    java.lang.ClassCircularityError: mockit/Invocation
  3. 0

    Inject JMockit mocks into Spring context

    codegur.com | 1 year ago
    java.lang.ClassCircularityError: mockit/Invocation
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    runtime weaver with java 8: java.lang.ClassCircularityError

    GitHub | 1 year ago | nqzero
    java.lang.ClassCircularityError: kilim/examples/Tree

    Root Cause Analysis

    1. java.lang.ClassCircularityError

      a/b/c/c/MyClass

      at java.lang.Class.getDeclaredMethods0()
    2. Java RT
      Class.getDeclaredMethods
      1. java.lang.Class.getDeclaredMethods0(Native Method)
      2. java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
      3. java.lang.Class.getDeclaredMethods(Class.java:1975)
      3 frames
    3. mockit.coverage
      TestRun.lineExecuted
      1. mockit.coverage.CallPoint.findMethod(CallPoint.java:169)
      2. mockit.coverage.CallPoint.isTestMethod(CallPoint.java:140)
      3. mockit.coverage.CallPoint.create(CallPoint.java:105)
      4. mockit.coverage.TestRun.lineExecuted(TestRun.java:30)
      4 frames
    4. a.b.c
      AnotherClass.<clinit>
      1. a.b.c.d.OtherClass.<init>(ObjectPool.java:8)
      2. a.b.c.d.AnotherClass.<clinit>(SingleOrder.java:971)
      2 frames
    5. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:348)
      2 frames
    6. Main
      ClassReader.accept
      1. mockit.internal.util.ClassLoad.loadClass(ClassLoad.java:102)
      2. mockit.internal.util.ClassLoad.loadClass(ClassLoad.java:54)
      3. mockit.internal.util.ClassLoad.loadByInternalName(ClassLoad.java:31)
      4. mockit.internal.util.ClassLoad.getSuperClass(ClassLoad.java:146)
      5. mockit.internal.util.ClassLoad.actualSuperClass(ClassLoad.java:177)
      6. mockit.internal.util.ClassLoad.whichIsSuperClass(ClassLoad.java:161)
      7. mockit.external.asm.ClassWriter.getCommonSuperClass(ClassWriter.java:1694)
      8. mockit.external.asm.ClassWriter.getMergedType(ClassWriter.java:1661)
      9. mockit.external.asm.Frame.merge(Frame.java:1428)
      10. mockit.external.asm.Frame.merge(Frame.java:1327)
      11. mockit.external.asm.MethodWriter.visitMaxs(MethodWriter.java:1475)
      12. mockit.external.asm.MethodVisitor.visitMaxs(MethodVisitor.java:785)
      13. mockit.external.asm.ClassReader.readCode(ClassReader.java:1546)
      14. mockit.external.asm.ClassReader.readMethod(ClassReader.java:1009)
      15. mockit.external.asm.ClassReader.accept(ClassReader.java:687)
      16. mockit.external.asm.ClassReader.accept(ClassReader.java:501)
      16 frames
    7. mockit.coverage.modification
      ClassModification.modifyClass
      1. mockit.coverage.modification.ClassModification.modifyClassForCoverage(ClassModification.java:142)
      2. mockit.coverage.modification.ClassModification.modifyClassForCoverage(ClassModification.java:217)
      3. mockit.coverage.modification.ClassModification.modifyClass(ClassModification.java:192)
      3 frames
    8. mockit.coverage
      CodeCoverage.transform
      1. mockit.coverage.CodeCoverage.transform(CodeCoverage.java:130)
      1 frame