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.InvalidClassException: org.springframework.security.core.context.SecurityContextImpl; local class incompatible: stream classdesc serialVersionUID = 410, local class serialVersionUID = 400

Stack Overflow | hamid | 4 months ago
  1. 0

    Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload

    Stack Overflow | 4 months ago | hamid
    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.InvalidClassException: org.springframework.security.core.context.SecurityContextImpl; local class incompatible: stream classdesc serialVersionUID = 410, local class serialVersionUID = 400
  2. 0

    error pressing 'Go To User Interface' button.

    GitHub | 9 months ago | Lauris01
    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.InvalidClassException: org.springframework.security.core.context.SecurityContextImpl; local class incompatible: stream classdesc serialVersionUID = 320, local class serialVersionUID = 400
  3. 0

    Use EOFException to end the loop

    Stack Overflow | 2 years ago | Mostafa M Awad
    java.io.InvalidClassException: sheet2_7.students; local class incompatible: stream classdesc serialVersionUID = -4264328281487890061, local class serialVersionUID = 397805898333518525
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 91#133784190

    GitHub | 1 year ago | missedone
    java.io.InvalidClassException: org.testng.remote.strprotocol.TestResultMessage; local class incompatible: stream classdesc serialVersionUID = 4879160978936577182, local class serialVersionUID = -4157150777889117479
  6. 0

    GitHub comment 91#134140814

    GitHub | 1 year ago | deshpandeashu
    java.io.InvalidClassException: org.testng.remote.strprotocol.TestResultMessage; local class incompatible: stream classdesc serialVersionUID = 1237363180433975833, local class serialVersionUID = -4157150777889117479

  1. ajinkya_w 11 times, last 2 months ago
  2. ajinkya_w 11 times, last 2 months ago
  3. ivotje50 5 times, last 4 months ago
  4. bpbhat77 1 times, last 4 months ago
  5. pnaranja 1 times, last 4 months ago
18 more registered users
20 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.io.InvalidClassException

    org.springframework.security.core.context.SecurityContextImpl; local class incompatible: stream classdesc serialVersionUID = 410, local class serialVersionUID = 400

    at java.io.ObjectStreamClass.initNonProxy()
  2. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:621)[na:1.8.0_05]
    2. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1623)[na:1.8.0_05]
    3. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)[na:1.8.0_05]
    4. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)[na:1.8.0_05]
    5. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[na:1.8.0_05]
    6. java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)[na:1.8.0_05]
    6 frames
  3. Spring Core
    DeserializingConverter.convert
    1. org.springframework.core.serializer.DefaultDeserializer.deserialize(DefaultDeserializer.java:70)[spring-core-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2. org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:73)[spring-core-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    3. org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:36)[spring-core-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    3 frames
  4. Spring Data Redis
    DefaultBoundHashOperations.entries
    1. org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.deserialize(JdkSerializationRedisSerializer.java:39)[spring-data-redis-1.6.4.RELEASE.jar:na]
    2. org.springframework.data.redis.core.AbstractOperations.deserializeHashValue(AbstractOperations.java:316)[spring-data-redis-1.6.4.RELEASE.jar:na]
    3. org.springframework.data.redis.core.AbstractOperations.deserializeHashMap(AbstractOperations.java:277)[spring-data-redis-1.6.4.RELEASE.jar:na]
    4. org.springframework.data.redis.core.DefaultHashOperations.entries(DefaultHashOperations.java:227)[spring-data-redis-1.6.4.RELEASE.jar:na]
    5. org.springframework.data.redis.core.DefaultBoundHashOperations.entries(DefaultBoundHashOperations.java:101)[spring-data-redis-1.6.4.RELEASE.jar:na]
    5 frames
  5. org.springframework.session
    SessionRepositoryFilter$SessionRepositoryRequestWrapper.getSession
    1. org.springframework.session.data.redis.RedisOperationsSessionRepository.getSession(RedisOperationsSessionRepository.java:233)[spring-session-1.0.2.RELEASE.jar:na]
    2. org.springframework.session.data.redis.RedisOperationsSessionRepository.getSession(RedisOperationsSessionRepository.java:220)[spring-session-1.0.2.RELEASE.jar:na]
    3. org.springframework.session.data.redis.RedisOperationsSessionRepository.getSession(RedisOperationsSessionRepository.java:141)[spring-session-1.0.2.RELEASE.jar:na]
    4. org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.getSession(SessionRepositoryFilter.java:276)[spring-session-1.0.2.RELEASE.jar:na]
    4 frames
  6. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.context.request.ServletRequestAttributes.updateAccessedSessionAttributes(ServletRequestAttributes.java:255)[spring-web-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2. org.springframework.web.context.request.AbstractRequestAttributes.requestCompleted(AbstractRequestAttributes.java:48)[spring-web-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    3. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:106)[spring-web-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    4. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    4 frames
  7. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-embed-core-8.0.33.jar:8.0.33]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.33.jar:8.0.33]
    2 frames
  8. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87)[spring-web-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2 frames
  9. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-embed-core-8.0.33.jar:8.0.33]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.33.jar:8.0.33]
    2 frames
  10. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)[spring-web-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2 frames
  11. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-embed-core-8.0.33.jar:8.0.33]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.33.jar:8.0.33]
    2 frames
  12. org.springframework.session
    OncePerRequestFilter.doFilter
    1. org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:125)[spring-session-1.0.2.RELEASE.jar:na]
    2. org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:65)[spring-session-1.0.2.RELEASE.jar:na]
    2 frames
  13. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-embed-core-8.0.33.jar:8.0.33]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.33.jar:8.0.33]
    2 frames
  14. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)[spring-web-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2 frames
  15. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[tomcat-embed-core-8.0.33.jar:8.0.33]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[tomcat-embed-core-8.0.33.jar:8.0.33]
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[tomcat-embed-core-8.0.33.jar:8.0.33]
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[tomcat-embed-core-8.0.33.jar:8.0.33]
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)[tomcat-embed-core-8.0.33.jar:8.0.33]
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[tomcat-embed-core-8.0.33.jar:8.0.33]
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[tomcat-embed-core-8.0.33.jar:8.0.33]
    8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[tomcat-embed-core-8.0.33.jar:8.0.33]
    9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)[tomcat-embed-core-8.0.33.jar:8.0.33]
    9 frames
  16. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)[tomcat-embed-core-8.0.33.jar:8.0.33]
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)[tomcat-embed-core-8.0.33.jar:8.0.33]
    3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)[tomcat-embed-core-8.0.33.jar:8.0.33]
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)[tomcat-embed-core-8.0.33.jar:8.0.33]
    4 frames
  17. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_05]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_05]
    2 frames
  18. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-embed-core-8.0.33.jar:8.0.33]
    1 frame
  19. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_05]
    1 frame