Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-2265

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M3
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: