ifeilong / feilong-spring

:gem:focus on spring
Apache License 2.0
4 stars 12 forks source link

SimpleMappingHandlerMethodExceptionResolver 新增访问请求日志 #199

Open venusdrogon opened 5 years ago

venusdrogon commented 5 years ago

SimpleMappingHandlerMethodExceptionResolver 新增访问请求日志


[2019-07-10 15:01:19:683 WIB] ERROR com.feilong.spring.web.servlet.handler.SimpleMappingHandlerMethodExceptionResolver.doResolveHandlerMethodException(SimpleMappingHandlerMethodExceptionResolver.java:111) : [DokuNotifyController.handler()],viewName:[printwrite:STOP]
java.lang.NullPointerException: when keyParamName:[PAYMENTCHANNEL],value:[null],can't find payProvider!There may be no config payProvider,please contact development engineer of the payment team.
        at org.apache.commons.lang3.Validate.notNull(Validate.java:225)
        at com.feilong.psi.controller.RequestParamPayProviderIdentifier.identify(RequestParamPayProviderIdentifier.java:58)
        at com.feilong.psi.doku.controller.notify.DokuNotifyController.handler(DokuNotifyController.java:154)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)