You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2023/07/14 12:52:00 UTC

[jira] [Updated] (CAUSEWAY-3529) Error messages originating from incomplete MM should provide an indication.

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

Daniel Keir Haywood updated CAUSEWAY-3529:
------------------------------------------
    Summary: Error messages originating from incomplete MM should provide an indication.  (was: [NOT A PROBLEM] Possibly inconsistent handling of Comparable interface)

> Error messages originating from incomplete MM should provide an indication.
> ---------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3529
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3529
>             Project: Causeway
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-RC2
>            Reporter: Daniel Keir Haywood
>            Assignee: Daniel Keir Haywood
>            Priority: Minor
>             Fix For: 2.0.0-RC3
>
>
> [13:01] ...I'm stuck with this Exception: java.lang.IllegalStateException: framework bug: missing ActionInvocationFacet on action org.incode.module.classification.dom.impl.applicability.Applicability#compareTo(java.lang.Object)
>  
> [13:05] ...It points to a (suspected) runtime generated method called public abstract int compareTo(Object object) method. That is another method than the public compareTo(Applicability other) method in the class.
>  
> [13:14] ...
> It happens during the validation stage of running the fixture script during a @PostConstruct of : fixtureScripts.runFixtureScript(new ApplicabilitySeederScript(ApplicabilityDataForLease.class), null);
>  
> [13:14] ...When I replace the @PostConstruct with a MetamodelEvent variant it seems that there isn't an exception anymore.
>  
>  



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