tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Broadhead <matthew.broadh...@nbmlaw.co.uk.INVALID>
Subject Re: Johnzon is going to infinite loop on JPA entities with OneToMany relationship
Date Fri, 17 Aug 2018 20:05:53 GMT
no.  i will add those and try again.

i also changed the entry in system.properties to 
org.apache.johnzon.deduplicateObjects = true to match 
org.apache.johnzon.max-string-length = 8192


On 17/08/18 21:56, Romain Manni-Bucau wrote:
> Do you have a valid equals/hashcode?
>
> Le ven. 17 août 2018 21:28, chongma <matthew.broadhead@nbmlaw.co.uk> a
> écrit :
>
>> i was trying to output some JPA objects to json today.  after adding
>> johnzon.deduplicateObjects = true to system.properties and restarting TomEE
>> i still get
>> javax.json.stream.JsonGenerationException: Invalid json
>>          at
>> org.apache.johnzon.core.JsonGeneratorImpl.close(JsonGeneratorImpl.java:454)
>>          at org.apache.johnzon.mapper.Mapper.writeObject(Mapper.java:147)
>>          at
>> uk.me.kissy.sales.dao.LeadScriptDao.marshall(LeadScriptDao.java:435)
>> is there any way to get a deeped debug?
>>
>>
>>
>> --
>> Sent from:
>> http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
>>


Mime
View raw message