spoon.support.reflect.reference.SpoonClassNotFoundException: cannot load class: MimeMessage with class loader sun.misc.Launcher$AppClassLoader@55f96302

GitHub | retuxx | 4 months ago
  1. 0

    CtTypeImpl.getAllFields may throw a SpoonClassNotFoundException

    GitHub | 4 months ago | retuxx
    spoon.support.reflect.reference.SpoonClassNotFoundException: cannot load class: MimeMessage with class loader sun.misc.Launcher$AppClassLoader@55f96302
  2. 0

    SpoonClassNotFoundException in `unbox()` after class rename

    GitHub | 9 months ago | fedorov-s-n
    spoon.support.reflect.reference.SpoonClassNotFoundException: cannot load class: com.my.MyClass.$Inner with class loader sun.misc.Launcher$AppClassLoader@4e25154f

    Root Cause Analysis

    1. spoon.support.reflect.reference.SpoonClassNotFoundException

      cannot load class: MimeMessage with class loader sun.misc.Launcher$AppClassLoader@55f96302

      at spoon.support.reflect.reference.CtTypeReferenceImpl.findClass()
    2. spoon.support.reflect
      CtTypeImpl.getAllFields
      1. spoon.support.reflect.reference.CtTypeReferenceImpl.findClass(CtTypeReferenceImpl.java:141)
      2. spoon.support.reflect.reference.CtTypeReferenceImpl.getActualClass(CtTypeReferenceImpl.java:129)
      3. spoon.support.reflect.reference.CtTypeReferenceImpl.getAllFields(CtTypeReferenceImpl.java:392)
      4. spoon.support.reflect.declaration.CtTypeImpl.getAllFields(CtTypeImpl.java:437)
      5. spoon.support.reflect.declaration.CtTypeImpl.getAllFields(CtTypeImpl.java:62)
      6. spoon.support.reflect.reference.CtTypeReferenceImpl.getAllFields(CtTypeReferenceImpl.java:394)
      7. spoon.support.reflect.declaration.CtTypeImpl.getAllFields(CtTypeImpl.java:437)
      8. spoon.support.reflect.declaration.CtTypeImpl.getAllFields(CtTypeImpl.java:62)
      8 frames