Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2265

on-the-fly-introspection may occur even though MM was eagerly loaded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.0.0-M3
    • None
    • None

    Description

      steps to reproduce:

      e.g. DemoApp (production mode) -> access menu Trees > File System Tree

      java.lang.IllegalStateException
      Cannot introspect class 'java.util.AbstractSet' because the metamodel has been fully introspected and is now locked. One reason this can happen is if you are attempting to invoke an action through the WrapperFactory on a service class incorrectly annotated with Spring's @Service annotation instead of @DomainService.

      solutions

      • either allow on-the-fly-introspection for certain types
      • or find all types in the first place when eagerly loading

      Attachments

        Activity

          People

            hobrom Andi Huber
            hobrom Andi Huber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: