3.3K Star 9.9K Fork 4.5K

iBase4J / iBase4J

 / 详情

session监听销毁 报null指针异常

已完成
创建于  
2017-11-10 17:59

2017-11-10 17:33:44.894 [redisMessageListenerContainer-1602] INFO [SessionListener:32] - 创建了一个Session连接:[d44bb689-1f65-42cf-9de7-ad07ab9c8fef]
2017-11-10 17:33:44.898 [redisMessageListenerContainer-1603] INFO [SessionListener:32] - 创建了一个Session连接:[daadc003-421e-4d97-bfec-e2114963f60a]
2017-11-10 17:43:44.909 [redisMessageListenerContainer-1673] ERROR [RedisOperationsSessionRepository:579] - Error publishing org.springframework.session.events.SessionExpiredEvent[source=org.springframework.session.data.redis.RedisOperationsSessionRepository@60b3076b].
java.lang.NullPointerException: null
at org.springframework.session.web.http.ExpiringSessionHttpSession.getId(ExpiringSessionHttpSession.java:63) ~[spring-session-1.3.1.RELEASE.jar:?]
at org.ibase4j.core.listener.SessionListener.sessionDestroyed(SessionListener.java:47) ~[iBase4J-Common-1.1.0.jar:?]
at org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter.onApplicationEvent(SessionEventHttpSessionListenerAdapter.java:67) ~[spring-session-1.3.1.RELEASE.jar:?]
at org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter.onApplicationEvent(SessionEventHttpSessionListenerAdapter.java:41) ~[spring-session-1.3.1.RELEASE.jar:?]
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393) ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347) ~[spring-context-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at org.springframework.session.data.redis.RedisOperationsSessionRepository.publishEvent(RedisOperationsSessionRepository.java:576) [spring-session-1.3.1.RELEASE.jar:?]
at org.springframework.session.data.redis.RedisOperationsSessionRepository.handleExpired(RedisOperationsSessionRepository.java:567) [spring-session-1.3.1.RELEASE.jar:?]
at org.springframework.session.data.redis.RedisOperationsSessionRepository.onMessage(RedisOperationsSessionRepository.java:531) [spring-session-1.3.1.RELEASE.jar:?]
at org.springframework.data.redis.listener.RedisMessageListenerContainer.executeListener(RedisMessageListenerContainer.java:249) [spring-data-redis-1.8.8.RELEASE.jar:?]
at org.springframework.data.redis.listener.RedisMessageListenerContainer.processMessage(RedisMessageListenerContainer.java:239) [spring-data-redis-1.8.8.RELEASE.jar:?]
at org.springframework.data.redis.listener.RedisMessageListenerContainer$1.run(RedisMessageListenerContainer.java:967) [spring-data-redis-1.8.8.RELEASE.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]

评论 (0)

省略号... 创建了任务
A圣翔 关闭了任务

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
511066 nickeyhi 1578926145
Java
1
https://gitee.com/iBase4J/iBase4J.git
git@gitee.com:iBase4J/iBase4J.git
iBase4J
iBase4J
iBase4J

搜索帮助

344bd9b3 5694891 D2dac590 5694891