
Bug
个人开发过程的bug记录
cauchy6317
所求不智,万苦之源
展开
-
Bug之java.io.OptionalDataException
产生背景: 在线上的生产环境中,登录时有一个将用户的访问权限写入redis缓存的逻辑,以便后面访问接口时候,快速验证用户是否具有权限。写入的时候,没有报错提示。但是取出来的时候,偶发性的会报Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is java.io.OptionalDataExcept原创 2020-07-13 14:43:12 · 4384 阅读 · 2 评论 -
Bug之反序列化nested exception is org.hibernate.type.SerializationException
异常信息: org.springframework.orm.jpa.JpaSystemException: could not deserialize; nested exception is org.hibernate.type.SerializationException: could not deserialize... Caused by: org.hibernate.type.Ser...原创 2018-11-12 12:00:56 · 1713 阅读 · 0 评论 -
Bug之nested exception is org.postgresql.util.PSQLException: FATAL: sorry, too many clients already
PostgrSQL的连接数过多,修改一下默认的连接数 https://stackoverflow.com/questions/2757549/org-postgresql-util-psqlexception-fatal-sorry-too-many-clients-already First find your postgresql.conf file If you don’t know ...原创 2018-11-12 14:39:41 · 6806 阅读 · 0 评论