on 2016 May 31 11:38 AM
Hi,
I have defined a new type in items.xml (SalesOfficeWarehouseConfig) and created a relation of this type with an existing type (B2BUnit). On our single-node environments everything went fine after an update running system. But on the clustered environments, after the update running system we were left with ClassCastExceptions, which did not go away until a new server restart.
The method where the exception was thrown from is B2BUnitModel.getWarehouseConfigs:
java.lang.ClassCastException: de.hybris.platform.core.model.ItemModel cannot be cast to eu.shimano.b2b.hybris.core.model.SalesOfficeWarehouseConfigModel
Anyone has seen these exceptions as well, and/or knows how to prevent them?
Can you please check if the SalesOfficeWarehouseConfigModel is created in database or not?? Check the flexible search result from hac
select * from {SalesOfficeWarehouseConfig} if it is returning rows then let me know. otherwise you have to update your running sytem to fix this issue.
This model would have not created in database.
Thanks Samudrala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
32 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.