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/10/01 14:29:00 UTC

[jira] [Resolved] (CAUSEWAY-3035) [Wish] Log Stacktrace alongside ERROR to Console

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

Daniel Keir Haywood resolved CAUSEWAY-3035.
-------------------------------------------
    Resolution: Fixed

> [Wish] Log Stacktrace alongside ERROR to Console
> ------------------------------------------------
>
>                 Key: CAUSEWAY-3035
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3035
>             Project: Causeway
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M7
>            Reporter: Jörg Rade
>            Assignee: Daniel Keir Haywood
>            Priority: Major
>             Fix For: 2.0.0-RC3
>
>
> I have an issue with a (kind of) swallowed exception. IsisInteraction.executeInternal stumbles over an
> {code:java}
> org.springframework.dao.IncorrectResultSizeDataAccessException: More than one result was returned from Query.getSingleResult(); nested exception is javax.persistence.NonUniqueResultException: More than one result was returned from Query.getSingleResult(){code}
> The (Wicket) UI shows:
> {code:java}
> [object not found]: object not found (incorrect result size data access exception): More than one result was returned from Query.getSingleResult() 
> {code}
> Console shows:
> {code:java}
> 2022-05-03 12:08:07.051 ERROR 22432 — [nio-8080-exec-4] o.a.i.c.i.s.IsisInteraction : failed to execute an interaction
> {code}
>  
> I would prefer to have the stacktrace logged to console as well.
> c.f. https://the-asf.slack.com/archives/CFC42LWBV/p1651573266998419



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