[MAGNOLIA-3157] cache: adding key can fail with ClassCastException Created: 19/Mar/10  Updated: 23/Jan/13  Resolved: 19/Mar/10

Status: Closed
Project: Magnolia
Component/s: cache
Affects Version/s: 4.3
Fix Version/s: 4.3.1

Type: Bug Priority: Blocker
Reporter: Philipp Bärfuss Assignee: Boris Kraft
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

stacktrace: http://pastebin.com/vbR2URV5

procedure to reproduce the issue:

1) access a page (cache it)
2) shift reload (recache it)



 Comments   
Comment by Philipp Bärfuss [ 19/Mar/10 ]

As far I understand the ConcurrentSkipListSet can only handle elments wich are comparable. But this fails for the DefaultCacheKey in the moment when the parameter map is not comparable which is the case.

Generated at Mon Feb 12 03:43:44 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.