mybatis version: 3.5.5 mybatis-spring: 2.0.5

This NullPointerException happened two times when parallel query database. Then I restart the service. The query function is OK with same input request.

We got the root case. The DataAuthInterceptor throw NPE when get current user info use Shiro SecurityUtils.getsSubject ().getSession(false).

Comment From: harawata

Hello @zhangpeng492 ,

Please post the entire stack trace as text instead of an image.

Comment From: zhangpeng492

Hello @zhangpeng492 ,

Please post the entire stack trace as text instead of an image.

ok. will post later.

Comment From: hazendaz

@zhangpeng492 Reason to post the actual stack is so others can search it. The image won't help others. But even beyond that, please use the latest as we are a very small team and we will otherwise want you to confirm latest doesn't do the same.

For that,

mybatis 3.5.15 mybatis spring 2.1.2

If you can demonstrate that it is also facing the same issue, it will go a very long way to helping us figure it out. And if we are all lucky, the issue goes away as fixed somewhere in between :)

Comment From: zhangpeng492

We got the root case. The DataAuthInterceptor throw NPE when get current user info use Shiro SecurityUtils.getsSubject ().getSession(false).