New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<java.lang.IllegalStateException> at runtime on using two methods with same cache name but different key #17284
Labels
Milestone
Comments
indeed it looks like a bug. I prepared a fix, let's see what reviewers think of this. once more thanks for reporting it! |
vbekiaris
pushed a commit
to vbekiaris/hazelcast
that referenced
this issue
Aug 3, 2020
Fixes hazelcast#17284 (cherry picked from commit a58cce0)
vbekiaris
added a commit
to vbekiaris/hazelcast
that referenced
this issue
Aug 3, 2020
Fixes hazelcast#17284 on 3.12.z branch Backported from a58cce0
vbekiaris
added a commit
to vbekiaris/hazelcast
that referenced
this issue
Aug 3, 2020
Fixes hazelcast#17284 on 3.12.z branch Backported from a58cce0
vbekiaris
added a commit
to vbekiaris/hazelcast
that referenced
this issue
Aug 3, 2020
Fixes hazelcast#17284 on 3.12.z branch Backported from a58cce0
mmedenjak
added
Module: ICache
Source: Community
PR or issue was opened by a community user
Team: Core
labels
Aug 7, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
We've two services,marked as cacheable with same name but different key as below. When both these are called one by one, Hazelcast throw <java.lang.IllegalStateException> Cannot overwrite a Cache's CacheManager. Tried many options but it is still now working. We are using Hazelcast version 4.0 and spring-context 5.2.7.
Expected behavior
As per the documentation, we can use SPEL expression to distinguish the keys for two methods without params.
Additional context
The text was updated successfully, but these errors were encountered: