LvChenhui / community

JAVA论坛,web项目,采用传统ssm框架,maven聚合项目,前后端分离,集成redis,非spingboot版本,业务简单适合学习搭建
35 stars 5 forks source link

异常问题 #1

Open dlxzy opened 4 years ago

dlxzy commented 4 years ago

复现方法:当另一个用户在自己帖子下回复后,自身登录查看消息时会出现 [2020-03-10 15:38:57:359] [ERROR] [method:com.wl.lch.exception.GlobalExceptionHandler.handleException(GlobalExceptionHandler.java:24)] Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "null"

org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "null"

dlxzy commented 4 years ago

追加说明,当他人对自身帖子进行评论后,第一次进入我的消息会出现该异常且无数据,第二次进入我的消息后数据出现(评论提醒)