[
https://issues.apache.org/jira/browse/JOHNZON-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Manni-Bucau resolved JOHNZON-49.
---------------------------------------
Resolution: Fixed
> ciruclar exceptions ends in StackOverflowException in JAXRS provider
> --------------------------------------------------------------------
>
> Key: JOHNZON-49
> URL: https://issues.apache.org/jira/browse/JOHNZON-49
> Project: Johnzon
> Issue Type: Bug
> Affects Versions: 0.8-incubating
> Reporter: Romain Manni-Bucau
> Fix For: 0.9-incubating
>
>
> It is ok to fil for circular objects when the user can handle it but it is
> not the case for exception
> Solution: removing cause and suppressedException seems acceptable. If you
> really want it just customize the mapper (through the builder as usual)
> overriding this config:
> {code}
> builder.setIgnoreFieldsForType(Throwable.class);
> // or to still ignore suppressedException
> builder.setIgnoreFieldsForType(Throwable.class, "suppressedException");
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)