We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug DefaultGatewayRouter has the possibility of reporting a NPE
[org.springframework.cloud.gateway.filter.GlobalFilter]: Factory method 'authorizationFilter' threw exception; nested exception is java.lang.NullPointerException
Expected behavior It is recommended to make a null judgment
class DefaultGatewayRouter(var gatewayRouters: Array[GatewayRouter]) extends AbstractGatewayRouter{ gatewayRouters = gatewayRouters.sortWith((left, right) => { left.order() < right.order() })
The text was updated successfully, but these errors were encountered:
本人已解决,请参考 #1086
Sorry, something went wrong.
Thank you, but NPE still needs to be checked
fix: DefaultGatewayRouter init NPE (apache#1235)
a3ffc51
fix: make a non-empty judgment on the notNullRouters collection (apac…
83487ca
…he#1235)
fix: Keep Only notNullRouters (apache#1235)
cdd3174
fix: DefaultGatewayRouter init NPE (#1235) (#3609)
d58d966
* fix: DefaultGatewayRouter init NPE (#1235)
No branches or pull requests
Describe the bug
DefaultGatewayRouter has the possibility of reporting a NPE
Expected behavior
It is recommended to make a null judgment
The text was updated successfully, but these errors were encountered: