-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
bugSomething isn't workingSomething isn't workingcomponent=SpringCloudServices/GatewayThe Gateway component of SpringCloudServicesThe Gateway component of SpringCloudServices
Description
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()
})
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcomponent=SpringCloudServices/GatewayThe Gateway component of SpringCloudServicesThe Gateway component of SpringCloudServices
