hi, anyone have any idea why i get this error? i j...
# lucee
i
hi, anyone have any idea why i get this error? i just updated lucee to version 5.3.9.141
Copy code
net.sf.ehcache.CacheException Error
java.io.InvalidClassException: lucee.runtime.db.SQLItemImpl; local class incompatible: stream classdesc serialVersionUID = 2329505848848154278, local class serialVersionUID = 5096074495166317863
I solved with
<cfobjectcache type="query" action="clear">
(I could not find the "clear query cache" button in the admin area). Every time I update Lucee it's a lottery... 🙁
b
That probably just means serialized Java objects in a cache aren't compatible across versions of Lucee if Lucee changes the serialized class.
I'd put in a ticket to see if Lucee can handle this more gracefully (like removing the item from the cache), but you'd also need to show just exactly what object you are caching.
g
ive had this issue between versions before, definitely need to clear items from cache after the update