-
Notifications
You must be signed in to change notification settings - Fork 26.4k
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
[Bug] org.apache.dubbo.rpc.protocol.tri.rest.mapping.DefaultRequestMappingRegistry restConfig may be null #14923
Comments
Could you please provide the exception stack? |
`
` |
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
dubbo java 3.3.2
spring boot 3.x
jdk 21
Steps to reproduce this issue
restconfig is not initialized until tomcat is started, when the system is ready to receive requests. If there is a request before restconfig is initialized, the exception restconfig is null.
Can you add initialization logic when determining whether to use the triple-rest protocol, or reject the request before the initialization is complete
What you expected to happen
no exception
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: