New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cycles in Java classes cause infinite loop in ModelAttributeParameterExpander AGAIN #1622
Comments
If you know which classes are giving you a recursive definition, you can remove a setter or two and fix the problem. The outstanding bug right now is that if you have the following definition (in pseudo code) it will cause a recursive loop. class A {
List<B> bees {get;set;}
}
class B {
List<A> as {get;set}
//Or
A {get;set}
} |
Hello @dilipkrish Thanks for the answer.. but I think that kind of recursive thing are very common during the web server programming.. So I have thought SpringFox team is under fix this bug..is it wrong? |
In the near term, until we release 2.7, unfortunately the answer is yes. |
@kimyoon21 A workaround in my case was downgrading from springfox 2.6.1 to 2.5.0 |
Hi, Stack Trace
|
@maisacaceres nothing that you're doing wrong it is a bug that is expected to be fixed. |
I have the same error, is it related ? #2100 |
Hi I saw the bug : Cycles in Java classes cause infinite loop in ModelAttributeParameterExpander #621
Since 2.5.0 that bug should be fixed ,, but mine has same errors with 2.6.1 version.
this is console logs.
Logs and Stacktrace
and then last logs are repeated like 500times and it failed.
I assume it is same bugs that #621 issues.. but I don't know why it happens again. please help me out of this.
I am using spring-4.2.4 and in servlet-context.xml I put
The text was updated successfully, but these errors were encountered: