You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the comparator in the constructor is not stored, so it remains NULL upon loading the map. This causes nasty run-time errors (in my case weeks after deployment!), because without the backing comparator, the key is expected to be Comparable:
May closely related or identical to #352.
At first glance the comperator seems not jet being loaded when the binary handler instantiates the ConcurrentSkipListSet / Map in the create method. Thus it instantiates with null instead of an comparator instance.
hrstoyanov
changed the title
ConcurrentSkipListMap (SoretdMap) not stored correctly
ConcurrentSkipListMap (SortedMap) not stored correctly
4B76
Feb 18, 2025
Uh oh!
There was an error while loading. Please reload this page.
Environment Details
Describe the bug
I store an object with this inside:
But the comparator in the constructor is not stored, so it remains NULL upon loading the map. This causes nasty run-time errors (in my case weeks after deployment!), because without the backing comparator, the key is expected to be Comparable:
The text was updated successfully, but these errors were encountered: