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/17 16:11:00 UTC

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

     [ https://issues.apache.org/jira/browse/ISIS-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber closed ISIS-2265.
----------------------------
    Resolution: Fixed

just a workaround solution: do not fail on-the-fly introspection when MM locked for particular types:

those, that the IsisBeanTypeRegistry regards not being worth eager inspection after doing a quick-classification

> 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
>            Assignee: Andi Huber
>            Priority: Blocker
>             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)