Git Product home page Git Product logo

Comments (7)

mrniko avatar mrniko commented on June 24, 2024

It's a Kryo lib issue.

@theigl

Hi. Can you look at it?

from redisson.

theigl avatar theigl commented on June 24, 2024

This is most likely not a Kryo issue. It looks like the Kryo encoder is given an ArrayList that is modified concurrently by another thread. Kryo always assumes it has exclusive access to the data during serialization. The user of Kryo has to make sure that the data can be safely serialized.

from redisson.

mrniko avatar mrniko commented on June 24, 2024

@theigl

Thank you for review. Let me check that.

from redisson.

mrniko avatar mrniko commented on June 24, 2024

@theigl

map passed into createPutAllMessage isn't changed since it's life scope is createPutAllMessage method. You can check org.redisson.tomcat.RedissonSession.save() method.

from redisson.

theigl avatar theigl commented on June 24, 2024

Kryo does not write/remove data from lists so it can't be responsible for the exception. An other thread must access the list at the same time. If you look closely the stacktrace, the error happens in ArrayList, not in a map. So there must be a list somewhere in the map that gets modified.

from redisson.

mrniko avatar mrniko commented on June 24, 2024

You are right. User stores list as Tomcat Session attribute.

from redisson.

mrniko avatar mrniko commented on June 24, 2024

Fixed. Thanks for report

from redisson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.