java.io.IOException: java.lang.RuntimeException: java.io.StreamCorruptedException: Unknown serialized type

GitHub | eweise | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Does hibernate-redis work with cglib?

    GitHub | 1 year ago | eweise
    java.io.IOException: java.lang.RuntimeException: java.io.StreamCorruptedException: Unknown serialized type

    Root Cause Analysis

    1. java.io.IOException

      java.lang.RuntimeException: java.io.StreamCorruptedException: Unknown serialized type

      at de.ruedigermoeller.serialization.FSTObjectInput.readObject()
    2. de.ruedigermoeller.serialization
      FSTObjectInput.readObject
      1. de.ruedigermoeller.serialization.FSTObjectInput.readObject(FSTObjectInput.java:168)
      1 frame
    3. org.hibernate.cache
      NonStrictReadWriteRedisEntityRegionAccessStrategy.get
      1. org.hibernate.cache.redis.serializer.FstRedisSerializer.deserialize(FstRedisSerializer.java:60)
      2. org.hibernate.cache.redis.serializer.SnappyRedisSerializer.deserialize(SnappyRedisSerializer.java:41)
      3. org.hibernate.cache.redis.jedis.JedisClient.deserializeValue(JedisClient.java:502)
      4. org.hibernate.cache.redis.jedis.JedisClient.get(JedisClient.java:179)
      5. org.hibernate.cache.redis.regions.RedisTransactionalDataRegion.get(RedisTransactionalDataRegion.java:75)
      6. org.hibernate.cache.redis.strategy.NonStrictReadWriteRedisEntityRegionAccessStrategy.get(NonStrictReadWriteRedisEntityRegionAccessStrategy.java:48)
      6 frames
    4. Hibernate
      JavassistLazyInitializer.invoke
      1. org.hibernate.engine.internal.CacheHelper.fromSharedCache(CacheHelper.java:55)
      2. org.hibernate.engine.internal.CacheHelper.fromSharedCache(CacheHelper.java:67)
      3. org.hibernate.event.internal.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:598)
      4. org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:452)
      5. org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:213)
      6. org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:146)
      7. org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1106)
      8. org.hibernate.internal.SessionImpl.immediateLoad(SessionImpl.java:1012)
      9. org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:174)
      10. org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:286)
      11. org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185)
      11 frames
    5. com.compay.domain
      Asset_$$_jvst5c6_44.hashCode
      1. com.compay.domain.portfolio.Asset_$$_jvst5c6_44.hashCode(Asset_$$_jvst5c6_44.java)
      1 frame