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

Stack Overflow | sis31 | 2 months ago
  1. 0

    spring security oauth + spring session ´╝îauthor service error occurs when client logs in

    Stack Overflow | 2 months ago | sis31
    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
  2. 0

    Session replication issue between instances on Glassfish

    Stack Overflow | 3 years ago | Saad Benbouzid
    java.lang.ClassCastException: cannot assign instance of org.jboss.weld.context.conversation.ConversationIdGenerator to field org.springframework.aop.framework.AdvisedSupport.advisorChainFactory of type org.springframework.aop.framework.AdvisorChainFactory in instance of org.springframework.aop.framework.ProxyFactory
  3. 0

    java.lang.ClassCastException | Jaspersoft Community

    jaspersoft.com | 5 months ago
    java.lang.ClassCastException: cannot assign instance of net.sf.jasperreports.engine.base.JRBaseTextField to field net.sf.jasperreports.engine.base.JRBaseParagraph.paragraphContainer of type net.sf.jasperreports.engine.JRParagraphContainer in instance of net.sf.jasperreports.engine.base.JRBaseParagraph
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    readResolve not working ? : an instance of Guava's SerializedForm appears

    Stack Overflow | 5 years ago | Clément Hurlin
    java.lang.ClassCastException: cannot assign instance of com.google.common.collect.ImmutableSet$SerializedForm to field com.blah.ast.Automaton.bodyNodes of type java.util.Set in instance of com.blah.ast.Automaton
  6. 0

    GitHub comment 120#71448940

    GitHub | 2 years ago | security08
    java.io.IOException: java.lang.ClassCastException: cannot assign instance of org.apache.spark.storage.StorageLevel to field org.apache.spark.streaming.receiver.Receiver.storageLevel of type org.apache.spark.storage.StorageLevel in instance of org.apache.spark.streaming.kafka.KafkaReceiver

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Java RT
      ObjectInputStream.defaultReadObject
      1. java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2133)[na:1.8.0_74]
      2. java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1305)[na:1.8.0_74]
      3. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2006)[na:1.8.0_74]
      4. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)[na:1.8.0_74]
      5. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74]
      6. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74]
      7. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)[na:1.8.0_74]
      8. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)[na:1.8.0_74]
      9. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74]
      10. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74]
      11. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)[na:1.8.0_74]
      12. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)[na:1.8.0_74]
      13. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74]
      14. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74]
      15. java.io.ObjectInputStream.readArray(ObjectInputStream.java:1707)[na:1.8.0_74]
      16. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1345)[na:1.8.0_74]
      17. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)[na:1.8.0_74]
      18. java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:501)[na:1.8.0_74]
      18 frames
    3. Spring AOP
      AdvisedSupport.readObject
      1. org.springframework.aop.framework.AdvisedSupport.readObject(AdvisedSupport.java:557)[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      1 frame
    4. Java RT
      ObjectInputStream.readObject
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_74]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_74]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_74]
      4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_74]
      5. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)[na:1.8.0_74]
      6. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1900)[na:1.8.0_74]
      7. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74]
      8. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74]
      9. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)[na:1.8.0_74]
      10. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)[na:1.8.0_74]
      11. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74]
      12. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74]
      13. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)[na:1.8.0_74]
      14. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)[na:1.8.0_74]
      15. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74]
      16. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74]
      17. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)[na:1.8.0_74]
      18. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)[na:1.8.0_74]
      19. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[na:1.8.0_74]
      20. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_74]
      21. java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)[na:1.8.0_74]
      21 frames
    5. Spring Core
      DeserializingConverter.convert
      1. org.springframework.core.serializer.DefaultDeserializer.deserialize(DefaultDeserializer.java:70)[spring-core-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2. org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:73)[spring-core-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      3. org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:36)[spring-core-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      3 frames
    6. Spring Data Redis
      DefaultBoundHashOperations.entries
      1. org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.deserialize(JdkSerializationRedisSerializer.java:79)[spring-data-redis-1.7.2.RELEASE.jar:na]
      2. org.springframework.data.redis.core.AbstractOperations.deserializeHashValue(AbstractOperations.java:335)[spring-data-redis-1.7.2.RELEASE.jar:na]
      3. org.springframework.data.redis.core.AbstractOperations.deserializeHashMap(AbstractOperations.java:279)[spring-data-redis-1.7.2.RELEASE.jar:na]
      4. org.springframework.data.redis.core.DefaultHashOperations.entries(DefaultHashOperations.java:227)[spring-data-redis-1.7.2.RELEASE.jar:na]
      5. org.springframework.data.redis.core.DefaultBoundHashOperations.entries(DefaultBoundHashOperations.java:102)[spring-data-redis-1.7.2.RELEASE.jar:na]
      5 frames
    7. org.springframework.session
      RedisOperationsSessionRepository.onMessage
      1. org.springframework.session.data.redis.RedisOperationsSessionRepository.getSession(RedisOperationsSessionRepository.java:432)[spring-session-1.2.1.RELEASE.jar:na]
      2. org.springframework.session.data.redis.RedisOperationsSessionRepository.onMessage(RedisOperationsSessionRepository.java:519)[spring-session-1.2.1.RELEASE.jar:na]
      2 frames
    8. Spring Data Redis
      RedisMessageListenerContainer$1.run
      1. org.springframework.data.redis.listener.RedisMessageListenerContainer.executeListener(RedisMessageListenerContainer.java:249)[spring-data-redis-1.7.2.RELEASE.jar:na]
      2. org.springframework.data.redis.listener.RedisMessageListenerContainer.processMessage(RedisMessageListenerContainer.java:239)[spring-data-redis-1.7.2.RELEASE.jar:na]
      3. org.springframework.data.redis.listener.RedisMessageListenerContainer$1.run(RedisMessageListenerContainer.java:967)[spring-data-redis-1.7.2.RELEASE.jar:na]
      3 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_74]
      1 frame