Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1228

java.lang.ClassCastException: class org.apache.fineract.useradministration.domain.AppUser cannot be cast to class org.apache.fineract.useradministration.domain.AppUser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      While playing with FINERACT-931, I've encountered:

      java.lang.ClassCastException: class org.apache.fineract.useradministration.domain.AppUser cannot be cast to class org.apache.fineract.useradministration.domain.AppUser (org.apache.fineract.useradministration.domain.AppUser is in unnamed module of loader 'app'; org.apache.fineract.useradministration.domain.AppUser is in unnamed module of loader org.springframework.boot.devtools.restart.classloader.RestartClassLoader @7c4ff5b3)

      This seems to be caused by the scheduler somehow "hanging on" to a a domain class.

      It's not blocking FINERACT-931, just means that the Spring Boot DevTools Automatic Restart won't work for the Scheduler. Someone who enjoy a good session of ClassLoader fun could dig into fixing this.

      Affects Dev only, will not happen in production.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: