You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2020/01/16 09:58:00 UTC

[jira] [Created] (ISIS-2265) on-the-fly-introspection may occur even though MM was eagerly loaded

Andi Huber created ISIS-2265:
--------------------------------

             Summary: on-the-fly-introspection may occur even though MM was eagerly loaded
                 Key: ISIS-2265
                 URL: https://issues.apache.org/jira/browse/ISIS-2265
             Project: Isis
          Issue Type: Bug
            Reporter: Andi Huber
             Fix For: 2.0.0


+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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)