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
您好,我在使用Tlog 的过程中,在项目内部使用请求转发时,TLogWebInvokeTimeInterceptor 内部出现了空指针异常,同一个请求进入了2次TLogWebInvokeTimeInterceptor,第二次进入TLogWebInvokeTimeInterceptor 可以从 invokeTimeTL 拿到 StopWatch ,并打印时间,最后remove。随之第一次进入TLogWebInvokeTimeInterceptor 的也会去从 invokeTimeTL 获取stopWatch,因为被线程remove掉了,所以拿到的stopWatch为空,最后调用stopWatch.stop() 方法出现了空指针,堆栈信息如下。 源码这边是否可以判空一下。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
您好,我在使用Tlog 的过程中,在项目内部使用请求转发时,TLogWebInvokeTimeInterceptor 内部出现了空指针异常,同一个请求进入了2次TLogWebInvokeTimeInterceptor,第二次进入TLogWebInvokeTimeInterceptor 可以从 invokeTimeTL 拿到 StopWatch ,并打印时间,最后remove。随之第一次进入TLogWebInvokeTimeInterceptor 的也会去从 invokeTimeTL 获取stopWatch,因为被线程remove掉了,所以拿到的stopWatch为空,最后调用stopWatch.stop() 方法出现了空指针,堆栈信息如下。
源码这边是否可以判空一下。
The text was updated successfully, but these errors were encountered: