-
-
Notifications
You must be signed in to change notification settings - Fork 523
Program running reported null pointer exception, resulting in stack overflow #2388
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
Comments
Good evening, I was unable to simulate this problem, could you provide an example project of the error? |
This ticket will be closed and can be reopened if the relevant information are provided. |
@marcospds The above error will occur. |
Good evening @Truly-Zheng, I couldn't replicate your issue. I updated my project with the parameter you mentioned, and I also made some changes to make it more similar to your screenshots, but the error still doesn't occur. Another thing I noticed is that your SysUser class doesn't have the @entity and @id annotations, your project must have some other peculiarity causing the problem. Could you provide your project as an example or create a fork of the sample to show how your project is set up so that we can replicate the issue? |
Hello,good morning @Marcos Paulo dos Santos
I have a demo here that you can refer to. Please refer to the attachment for details.
zhengcl
***@***.***
…------------------ 原始邮件 ------------------
发件人: "springdoc/springdoc-openapi" ***@***.***>;
发送时间: 2023年10月12日(星期四) 中午11:23
***@***.***>;
***@***.******@***.***>;
主题: Re: [springdoc/springdoc-openapi] Program running reported null pointer exception, resulting in stack overflow (Issue #2388)
Good evening @Truly-Zheng, I couldn't replicate your issue. I updated my project with the parameter you mentioned, and I also made some changes to make it more similar to your screenshots, but the error still doesn't occur. Another thing I noticed is that your SysUser class doesn't have the @entity and @id annotations, your project must have some other peculiarity causing the problem. Could you provide your project as an example or create a fork of the sample to show how your project is set up so that we can replicate the issue?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hello,good morning @marcospds https://github.com/Truly-Zheng/springdoc-stack-overflow.git Start the program first, then access url: http://localhost:8080/doc.html when i remove the config springdoc.default-flat-param-object=true or change config springdoc.default-flat-param-object=false |
Hello @Truly-Zheng, your project is using springdoc-openapi 1.7 which is no longer supported, @uc4w6c could confirm? Disclaimer:
|
@marcospds @Truly-Zheng |
My entity class extend the com.baomidou.mybatisplus.extension.activerecord.Model class, the runtime found a null pointer exception, this Model class uses generic references.
When I remove the extends class, the program works fine.hope to resolve the problem soon.
thanks a lot.
The text was updated successfully, but these errors were encountered: