[
https://issues.apache.org/jira/browse/CAUSEWAY-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood resolved CAUSEWAY-3605.
-------------------------------------------
Resolution: Fixed
> _Exceptions utility method should never itself throw an exception when
> attempting to format its error message.
> --------------------------------------------------------------------------------------------------------------
>
> Key: CAUSEWAY-3605
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3605
> Project: Causeway
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-RC2
> Reporter: Daniel Keir Haywood
> Assignee: Daniel Keir Haywood
> Priority: Major
> Fix For: 2.0.0-RC3
>
>
> Hit a case where this caused a stackoverflow:
> * `DnStateManagerForHollow#getObjectField()
> ** triggered from a toString() of an entity being queried by
> EntityChangeTrackerDefault
> * calls
> _Exceptions.unrecoverable(INVALID_FIELD_ACCESS_MSG, pc);
> *
> which in turn attempts to call toString() on the entity (pc)
>
> The fact that the code was interacting with a DnStateManagerForHollow means
> that theentity that was no longer valid to reference for some reason; but the
> stack overflow that results here means that there's no useful stack trace to
> analyse as to why that might have occurred.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)