Skip to content

Hazelcast4IndexedSessionRepository not using the CacheErrorHandler #2663

Closed
@joaquinjsb

Description

@joaquinjsb

Describe the bug
when using hazel cast and the sessions, when there's an issue, it's not being handled by the CacheErrorHandler

To Reproduce

  1. have a project with spring boot 2.7 and hazel cast 5.3.2
  2. configure the session with hazel cast
  3. have an exception, for example, InvalidClassException, which is being wrapped in an com.hazelcast.nio.serialization.HazelcastSerializationException

Expected behavior
in my case for example, if the session is not valid because of serialization, it should treat it as a new one

Sample
whatever recent project, for example this
https://github.com/hazelcast-guides/spring-session-hazelcast

then maybe have multiple instances and change the serial UUID version to generate the exception.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions