cancel
Showing results for 
Search instead for 
Did you mean: 

de.hybris.platform.jalo.JaloItemNotFoundException: item 10294856910807 not found[HY-0]

Former Member
6,363

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)

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member762946
Discoverer
0 Kudos

Just System Update.

Former Member
0 Kudos

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

Former Member
0 Kudos

and also deleted related rows in category2prodrel table

Former Member
0 Kudos

Sometimes it's about the cache issue. Try to restart your pc. Cheers!

Former Member
0 Kudos

Ummm, unless he's running windows 95 think a restart is not necessary. In looks like the cache is not consistent with the database so clear the cache from the HAC console.