on 2016 Oct 06 5:57 PM
We faced server error on B2C site. when we checked appserver logs, we found below exception multiple time for one hour.We have 4 B2C app severs for aur application but this issue was seen only on one app server.After sometimes, the issue got recovered as well as the exception.
Can anyone please help us to find why this occured for only one server?
We checked the code base for this ,it is throwing exception for below piece of code.
while (iterator.hasNext()) { stockLevelModelList.add((StockLevelModel) getModelService().get(iterator.next())); } LOGS:
INFO | jvm 1 | main | 2016/09/28 17:54:44.929 | Sep 28, 2016 5:54:44 PM org.apache.catalina.core.StandardWrapperValve invoke INFO | jvm 1 | main | 2016/09/28 17:54:44.930 | SEVERE: Servlet.service() for servlet [DispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is de.hybris.platform.servicelayer.exceptions.ModelLoadingException: No item found for given pk 10294856910807] with root cause INFO | jvm 1 | main | 2016/09/28 17:54:44.930 | de.hybris.platform.jalo.JaloItemNotFoundException: item 10294856910807 not found[HY-0] INFO | jvm 1 | main | 2016/09/28 17:54:44.930 | at de.hybris.platform.core.WrapperFactory$2.compute(WrapperFactory.java:448) INFO | jvm 1 | main | 2016/09/28 17:54:44.930 | at de.hybris.platform.cache.AbstractCacheUnit.privateGetNoLock(AbstractCacheUnit.java:302) INFO | jvm 1 | main | 2016/09/28 17:54:44.930 | at de.hybris.platform.cache.AbstractCacheUnit.privateGet(AbstractCacheUnit.java:275) INFO | jvm 1 | main | 2016/09/28 17:54:44.930 | at de.hybris.platform.cache.AbstractCacheUnit.get(AbstractCacheUnit.java:182) INFO | jvm 1 | main | 2016/09/28 17:54:44.930 | at de.hybris.platform.jalo.JaloItemCacheUnit.getCached(JaloItemCacheUnit.java:113) INFO | jvm 1 | main | 2016/09/28 17:54:44.930 | at de.hybris.platform.core.WrapperFactory.getCachedItem(WrapperFactory.java:459) INFO | jvm 1 | main | 2016/09/28 17:54:44.930 | at de.hybris.platform.jalo.JaloSession.lookupItem(JaloSession.java:1746) INFO | jvm 1 | main | 2016/09/28 17:54:44.930 | at de.hybris.platform.jalo.JaloSession.getItem(JaloSession.java:1832) INFO | jvm 1 | main | 2016/09/28 17:54:44.930 | at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.get(DefaultModelService.java:286) INFO | jvm 1 | main | 2016/09/28 17:54:44.930 | at com.clarks.pangaea.core.daos.impl.DefaultPangaeaStockLevelDao.findStockLevels(DefaultPangaeaStockLevelDao.java:271)
Request clarification before answering.
Just System Update.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same issue and solved with below steps checked its type from PK Analyzer from hac depending on model, check it in db, (my model was category and it wasn't exist in category however it still exists in categorylp) remove it restart server
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sometimes it's about the cache issue. Try to restart your pc. Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
16 | |
5 | |
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.