Http Status must not be null 错误如何解决该错误

Http Status must not be null error how to solve that error

提问人:Avinash Avi 提问时间:10/27/2023 更新时间:10/27/2023 访问量:21

问:

{“@timestamp”:“2023-10-25 10:15:45.946”,“@version”:“1”,“logger”:“za.co.mtn.aggregator.controllers.subscription.SubscriptionServiceController”,“thread_name”:“http-nio-8080-exec-6”,“level”:“INFO”,“transactionid”:“22434353edghf32”,“message”:{“responseObject”:{“httpStatus”:null,“status”:null,“description”:null,“subscriptionId”:null,“subscriptionProviderId”:null,“subscriptionPaymentSource”:null,“customerId”:“27780347403”,“subscriptionType”:null,“subscription”:{“subscriptionId”:“790”,“subscriptionProviderId”:“SOA”,“subscriptionName”:“8/1 天 75MB (R8)/1 天”,“registrationChannel”:“Facebook-MADAPI”,“sendSMSNotification”:false,“autoRenew”:false,“amountBefore”:0.0,“amountAfter”:0.0,“nonGSM”:true,“cvmoffer”:false,“links”:[]},“error”:null,“subscriptionName”:null,“frequency”:null,“subscriptionStatus”:null,“subscriptionLength”:null,“timestamp”:null,“partnerName”:null,“links”:[],“statusCode”:”6001“,”statusMessage“:”资金不足“,”supportMessage“:”资金不足,无法完成迁移“,”transactionId“:null,”sequenceNo“:null}}} {”@timestamp“:”2023-10-25 10:15:45.946“,”@version“:”1“,”logger“:”za.co.mtn.aggregator.controllers.subscription.SubscriptionServiceController“,”thread_name“:”http-nio-8080-exec-6“,”level“:”INFO“,”transactionid“:”22434353edghf32“,”message“:{”responseObject“:{”subscriptionProviderId“:”SOA“,”subscriptionName“:”8/1天 75MB (R8)/1 天“,”registrationChannel“:”Facebook-MADAPI“,”sendSMSNotification“:false,”autoRenew“:false,”amountBefore“:0.0,”amountAfter“:0.0,”nonGSM“:true,”cvmoffer“:false,”links“:[],”statusCode“:”6001“,”statusMessage“:”资金不足“,”supportMessage“:”资金不足,无法完成迁移“}}} {”@timestamp“:”2023-10-25 10:15:45.947“,”@version“:”1“,”logger“:”za.co.mtn.aggregator.exception.GlobalExceptionHandler“,”thread_name“:”http-nio-8080-exec-6“,”level“:”INFO“,”transactionid“:”22434353edghf32“,”message“:”抛出的Exeption :: IllegalArgumentException,本地化 Message :: HttpStatus must not be null message :: HttpStatus must not be null“} {”@timestamp“:”2023-10-25 10:15:45.947“,”@version“:”1“,”logger“:”za.co.mtn.aggregator.exception.GlobalExceptionHandler“,”thread_name“:”http-nio-8080-exec-6“,”level“:”ERROR“,”transactionid“:”22434353edghf32“,”message“:”全局异常捕获异常处理程序。{“@timestamp”:“2023-10-25 10:15:45.948”,“@version”:“1”,“logger”:“za.co.mtn.aggregator.exception.GlobalExceptionHandler”,“thread_name”:“http-nio-8080-exec-6”,“level”:“INFO”,“transactionid”:“22434353edghf32”,“message”:{“responseObject”:{“httpStatus”:“INTERNAL_SERVER_ERROR”,“error”:“内部服务器错误”,“description”:“发生内部服务器错误,无法完成处理。 {”@timestamp“:”2023-10-25 10:15:45.948“,”@version“:”1“,”logger“:”za.co.mtn.aggregator.exception.GlobalExceptionHandler“,”thread_name“:”http-nio-8080-exec-6“,

Http 状态不能为 null,因此它的打印 httpstatus = null 我应该做什么特定的修复。

https http-status-codes notnull

评论


答: 暂无答案