Skip to content
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

Listener removal UnsupportedOperationException #5673

Closed
Aurelien30000 opened this issue Mar 9, 2024 · 1 comment
Closed

Listener removal UnsupportedOperationException #5673

Aurelien30000 opened this issue Mar 9, 2024 · 1 comment
Labels
Milestone

Comments

@Aurelien30000
Copy link

Expected behavior
No error.

Actual behavior

java.lang.UnsupportedOperationException: null
        at java.util.AbstractList.add(AbstractList.java:155) ~[?:?]
        at java.util.AbstractList.add(AbstractList.java:113) ~[?:?]
        at java.util.AbstractCollection.addAll(AbstractCollection.java:338) ~[?:?]
        at fr.aurelien30000.domidependencies.lib.redisson.RedissonObject.removeListenerAsync(RedissonObject.java:517) ~[DomiDependencies-bukkit-1.13.4-all.jar:?]
        at fr.aurelien30000.domidependencies.lib.redisson.RedissonBucket.removeListenerAsync(RedissonBucket.java:394) ~[DomiDependencies-bukkit-1.13.4-all.jar:?]
 ...]

Steps to reproduce or test case

  • Add a simple listener to a bucket. RedissonBucket#addListenerAsync
  • Store the listener id.
  • Remove the listener from the bucket and see the error. RedissonBucket#removeListenerAsync

Redis version
7.2.3

Redisson version
3.27.1 (running on openjdk version "21.0.2" 2024-01-16 LTS)

Redisson configuration
Nothing special

Thanks!

@mrniko mrniko added this to the 3.27.2 milestone Mar 10, 2024
@mrniko mrniko added the bug label Mar 11, 2024
@mrniko
Copy link
Member

mrniko commented Mar 11, 2024

Fixed. Thanks for report

@mrniko mrniko closed this as completed Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants