org.springframework.data.redis.serializer.SerializationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 56#299734877
    via GitHub by atif92
    ,
  • java.lang.ClassCastException | Jaspersoft Community
    via by Unknown author,
  • Configuring Jasper Reports on Sugar CRM
    via Stack Overflow by algorhythm
    ,
  • GitHub comment 120#71448940
    via GitHub by security08
    ,
    • 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.lang.ClassCastException: cannot assign instance of org.springframework.beans.factory.support.StaticListableBeanFactory to field org.springframework.aop.scope.DefaultScopedObject.beanFactory of type org.springframework.beans.factory.config.ConfigurableBeanFactory in instance of org.springframework.aop.scope.DefaultScopedObject at org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.deserialize(JdkSerializationRedisSerializer.java:81)[spring-data-redis-1.7.2.RELEASE.jar:na] at org.springframework.data.redis.core.AbstractOperations.deserializeHashValue(AbstractOperations.java:335)[spring-data-redis-1.7.2.RELEASE.jar:na] at org.springframework.data.redis.core.AbstractOperations.deserializeHashMap(AbstractOperations.java:279)[spring-data-redis-1.7.2.RELEASE.jar:na] at org.springframework.data.redis.core.DefaultHashOperations.entries(DefaultHashOperations.java:227)[spring-data-redis-1.7.2.RELEASE.jar:na] at org.springframework.data.redis.core.DefaultBoundHashOperations.entries(DefaultBoundHashOperations.java:102)[spring-data-redis-1.7.2.RELEASE.jar:na] at org.springframework.session.data.redis.RedisOperationsSessionRepository.getSession(RedisOperationsSessionRepository.java:432)[spring-session-1.2.1.RELEASE.jar:na] at org.springframework.session.data.redis.RedisOperationsSessionRepository.onMessage(RedisOperationsSessionRepository.java:519)[spring-session-1.2.1.RELEASE.jar:na] at org.springframework.data.redis.listener.RedisMessageListenerContainer.executeListener(RedisMessageListenerContainer.java:249)[spring-data-redis-1.7.2.RELEASE.jar:na] at org.springframework.data.redis.listener.RedisMessageListenerContainer.processMessage(RedisMessageListenerContainer.java:239)[spring-data-redis-1.7.2.RELEASE.jar:na] at org.springframework.data.redis.listener.RedisMessageListenerContainer$1.run(RedisMessageListenerContainer.java:967)[spring-data-redis-1.7.2.RELEASE.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_74] Caused by: 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.lang.ClassCastException: cannot assign instance of org.springframework.beans.factory.support.StaticListableBeanFactory to field org.springframework.aop.scope.DefaultScopedObject.beanFactory of type org.springframework.beans.factory.config.ConfigurableBeanFactory in instance of org.springframework.aop.scope.DefaultScopedObject at org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:78)[spring-core-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:36)[spring-core-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.deserialize(JdkSerializationRedisSerializer.java:79)[spring-data-redis-1.7.2.RELEASE.jar:na] ... 10 more Caused by: java.lang.ClassCastException: cannot assign instance of org.springframework.beans.factory.support.StaticListableBeanFactory to field org.springframework.aop.scope.DefaultScopedObject.beanFactory of type org.springframework.beans.factory.config.ConfigurableBeanFactory in instance of org.springframework.aop.scope.DefaultScopedObject at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2133)[na:1.8.0_74] at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1305)[na:1.8.0_74] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2006)[na:1.8.0_74] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)[na:1.8.0_74] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)[na:1.8.0_74] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)[na:1.8.0_74] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)[na:1.8.0_74] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)[na:1.8.0_74] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74] at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1707)[na:1.8.0_74] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1345)[na:1.8.0_74] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)[na:1.8.0_74] at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:501)[na:1.8.0_74] at org.springframework.aop.framework.AdvisedSupport.readObject(AdvisedSupport.java:557)[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_74] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_74] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_74] at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_74] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)[na:1.8.0_74] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1900)[na:1.8.0_74] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)[na:1.8.0_74] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)[na:1.8.0_74] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)[na:1.8.0_74] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)[na:1.8.0_74] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)[na:1.8.0_74] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)[na:1.8.0_74] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)[na:1.8.0_74] at org.springframework.core.serializer.DefaultDeserializer.deserialize(DefaultDeserializer.java:70)[spring-core-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:73)[spring-core-4.3.2.RELEASE.jar:4.3.2.RELEASE] ... 12 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    8 more bugmates