Open
Description
使用版本:
1.40.0
报错信息:
java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "cn.dev33.satoken.stp.SaLoginModel.getIsWriteHeader()" is null
at cn.dev33.satoken.stp.StpLogic.setTokenValue(StpLogic.java:207)
at cn.dev33.satoken.stp.StpLogic.setTokenValue(StpLogic.java:172)
at cn.dev33.satoken.stp.StpUtil.setTokenValue(StpUtil.java:103)
希望结果:
正确的手动给当前会话设置Token值
复现步骤:
在SpringBoot的Controller中调用该方法
< 备注:如果复现步骤比较复杂,请将 demo 上传到 gitee 并留下地址 >
Metadata
Assignees
Labels
No labels
Activity