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

[jira] [Created] (ISIS-3326) Dependencies in @Types are not being injected

Martin Hesse created ISIS-3326:
----------------------------------

             Summary: Dependencies in @Types are not being injected
                 Key: ISIS-3326
                 URL: https://issues.apache.org/jira/browse/ISIS-3326
             Project: Isis
          Issue Type: Bug
    Affects Versions: 2.0.0-M9
            Reporter: Martin Hesse


when using types, as in

{code:java}
public @interface Name {

    int MAX_LEN = 40;

    class Specification extends AbstractSpecification2<String> {

        @Inject
        private DomainModule.Configuration configuration;
{code}

then the dependencies are not correctly injected into the Specification which will result in a NullPointerException (configuration is null).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)