org.springframework.data.redis.serializer.SerializationException

Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is java.io.StreamCorruptedException: invalid stream header: 69736C61

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9

  • via Unknown by qiu,
  • via Unknown by qiu,
  • Stack trace

    • org.springframework.data.redis.serializer.SerializationException: Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is java.io.StreamCorruptedException: invalid stream header: 69736C61 at org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.deserialize(JdkSerializationRedisSerializer.java:44) at org.springframework.data.redis.core.AbstractOperations.deserializeValue(AbstractOperations.java:189) at org.springframework.data.redis.core.AbstractOperations$ValueDeserializingRedisCallback.doInRedis(AbstractOperations.java:50) at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:162) at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:133) at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:75) at org.springframework.data.redis.core.DefaultSetOperations.randomMember(DefaultSetOperations.java:164) at com.anansi.gs.common.db.redis.RedisProxy.srandmember(RedisProxy.java:164) at com.anansi.gs.parking.model.dao.PlayerDAO.getRaceStrangers(PlayerDAO.java:216) at com.anansi.gs.parking.service.PlayerService.getRaceStrangers(PlayerService.java:424) at com.anansi.gs.parking.service.PlayerService$$FastClassByCGLIB$$f64d8f94.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.