[
https://issues.apache.org/jira/browse/CAUSEWAY-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber reassigned CAUSEWAY-3075:
------------------------------------
Assignee: Andi Huber
> Throwing an IllegalArgumentException should display ErrorPage
> -------------------------------------------------------------
>
> Key: CAUSEWAY-3075
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3075
> Project: Causeway
> Issue Type: Bug
> Components: Persistence JPA, Viewer Wicket
> Affects Versions: 2.0.0-M7
> Environment: JPA
> Reporter: Martin Hesse
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-RC2
>
> Attachments: image-2022-06-13-23-48-56-870.png,
> image-2022-06-13-23-50-44-870.png
>
>
> This can be reproduced using the demo of the Error Reporting Service in the
> JPA demo app. When clicking on the button "Trigger an Error" a red message is
> shown saying "invalid data access api usage":
> !image-2022-06-13-23-48-56-870.png!
> Instead it should show the viewer error page with the details of the custom
> EmailTicket returned by the ErrorReportingServiceDemoImplementation
> implementation.
> When changing the IllegalArgumentException to a NullPointerException it works
> as expected:
> !image-2022-06-13-23-50-44-870.png!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)