[ 
https://issues.apache.org/jira/browse/JOHNZON-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936569#comment-16936569
 ] 

Markus Karg commented on JOHNZON-273:
-------------------------------------

[~romain.manni-bucau] Sorry for the long delay. I have run the test (even with 
our more complex application model) and indeed Johnzon works well _within 
JUnit_, but it fails _inside of our application_ (which uses a load of other 
stuff, maybe conflicting). I will debug into it to find out more. Stay tuned, 
it will need a while... :)

> Johnzon Extras Polymorphic.Serializer runs into endless loop
> ------------------------------------------------------------
>
>                 Key: JOHNZON-273
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-273
>             Project: Johnzon
>          Issue Type: Bug
>          Components: JSON-B
>    Affects Versions: 1.2.0
>         Environment: $ mvn -verion
> Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 
> 2019-04-04T21:00:29+02:00)
> Maven home: C:\Program Files\apache-maven-3.6.1
> Java version: 1.8.0_181, vendor: Azul Systems, Inc., runtime: C:\Program 
> Files\zulu8.31.0.1-jdk8.0.181-win_x64\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Markus Karg
>            Priority: Major
>
> Using Johnzon-JSONB + Johnzon-Extras-Polymorphic (tried with 1.1.10, 1.1.13, 
> and 1.2.0-SNAPSHOT), *no* explicit JsonbCofig, *binding just by 
> @JsonbDeserializer annotation*, the Polymorphic.Serializer runs into an 
> endless loop as it again and gain and again tries to serialize the field 
> "_value". It seems it *does not* detect the recursion.
>  
> Continuation of 
> [https://github.com/eclipse-ee4j/jsonb-api/issues/147.|https://github.com/eclipse-ee4j/jsonb-api/issues/147]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to