cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Commerce 2205 Patch 28 Upgrade Running into ClassCastException

pratik_a_soni
Participant
0 Kudos
231

We recently upgraded our on-prem SAP Commerce 2205 from Patch 11 to Patch 28 and are running into a platform issue where the GenericItemEntityStateCacheUnit.getEntityState() method is running into ClassCastException.

The issue won't happen immediately but happens after few hours of the server being UP. We are yet to figure out any root cause, but has someone already faced similar issue? Any pointers will be greatly appreciated.

 

I've attached exception trace in the ticket. Here is the snippet of the final caused by.

Caused by: de.hybris.platform.persistence.hjmp.HJMPException: illegal exception type: java.lang.ClassCastException
at de.hybris.platform.persistence.GenericBMPBean$GenericItemEntityStateCacheUnit.getEntityState(GenericBMPBean.java:2030) ~[coreserver.jar:?]
at de.hybris.platform.persistence.GenericBMPBean.loadData(GenericBMPBean.java:228) ~[coreserver.jar:?]
 
pratik_a_soni
Participant
It looks like we have identified the potential issue. We missed updating the core-cache.xml which introduced two new cache regions as part of patch 24. We are still monitoring it and will update if the issue get resolved with this.
View Entire Topic
pratik_a_soni
Participant
0 Kudos

After we created the two newly created cache regions, we did not face this issue so far. Marking it close for now.