Hi Looks like a cyclic reference. Likely a cause of the exception. Johnzon 1 fixed it i think for stacks but here the format looks specific so likely a model issue. Can be linked to swagger model which relies on jackson by default.
That said the error means a cdi bean cant be created so you should be able to fix this root cause instead of the serialization consequence. Le 5 mai 2017 13:55, "COURTAULT Francois" <[email protected]> a écrit : Hello everyone, I have a POJO with several injections (@Inject) in it which runs fine when performing some tests using Swagger UI. Yesterday, in this POJO, I have added a new @Inject and if I test this one with Swagger UI, I got 500 with this payload: { "code": 500, "messages": [ "javax.enterprise.inject.CreationException", "java.lang.StackOverflowError", " - Caused by: null" ] } The issue I have is that, in TomEE log files, I don't see any stacktrace :( Is there any settings to help me to find out what is the real issue ? BTW, have you any idea what could cause this issue ? (I was thinking of circular dependency but according my source code analysis this is not the case) Best Regards. ________________________________ This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited. E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender. Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus.
