Symptom
After the SAP Commerce Cloud environment upgraded to JDK21 update release versions, "Server Error" is observed when accessing site page. Below errors can be found in Kibana log.
|
{"origin":"access-log","timeMillis":1784353738169,"thread":"hybrisHTTP16","contextMap":{"remoteHost":"<IP>","remoteUser":null,"requestLine":"GET /site/abc/en/login HTTP/1.1","statusCode":500,"bytesSent":165,"processMillis":16942718,"commitMillis":16,"connectionStatus":"-"}} {"origin":"catalina","timeMillis":1784353738184,"thread":"hybrisHTTP16","level":"SEVERE","loggerName":"org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/site].[DispatcherServlet]","threadId":176,"threadPriority":5,"message":"Servlet.service() for servlet [DispatcherServlet] in context with path [/site] threw exception [Request processing failed: de.hybris.platform.jalo.JaloSystemException: Cannot create Jalo instance for item <PK> due to null (defaultClass:class de.hybris.platform.cms2.jalo.contents.components.SimpleCMSComponent,mappedClass:class de.hybris.platform.cms2.jalo.contents.components.SimpleCMSComponent,creator:null)[HY-0]] with root cause","contextMap":{"sourceClassName":"org.apache.catalina.core.StandardWrapperValve","sourceMethodName":"invoke"},"thrown":{"localizedMessage":"","message":"","name":"java.lang.InstantiationException","extendedStackTrace":[{"class":"jdk.internal.reflect.InstantiationExceptionConstructorAccessorImpl","method":"newInstance","file":"InstantiationExceptionConstructorAccessorImpl.java","line":48},{"class":"java.lang.reflect.Constructor","method":"newInstanceWithCaller","file":"Constructor.java","line":502},{"class":"java.lang.reflect.Constructor","method":"newInstance","file":"Constructor.java","line":486},{"class":"de.hybris.platform.jalo.JaloImplementationManager","method":"createJaloObjectFromClassName","file":"JaloImplementationManager.java","line":241},{"class":"de.hybris.platform.jalo.JaloImplementationManager","method":"createJaloObject","file":"JaloImplementationManager.java","line":204},{"class":"de.hybris.platform.core.WrapperFactory$ComputingJaloItemCacheUnit","method":"compute","file":"WrapperFactory.java","line":235},{"class":"de.hybris.platform.cache.AbstractCacheUnit","method":"getOrCompute","file":"AbstractCacheUnit.java","line":297},{"class":"de.hybris.platform.cache.AbstractCacheUnit","method":"privateGetNoLock","file":"AbstractCacheUnit.java","line":283},{"class":"de.hybris.platform.cache.AbstractCacheUnit","method":"privateGet","file":"AbstractCacheUnit.java","line":268},{"class":"de.hybris.platform.cache.AbstractCacheUnit","method":"get","file":"AbstractCacheUnit.java","line":169},{"class":"de.hybris.platform.jalo.JaloItemCacheUnit","method":"getCached","file":"JaloItemCacheUnit.java","line":92},{"class":"de.hybris.platform.core.WrapperFactory","method":"getCachedItems","file":"WrapperFactory.java","line":362},{"class":"de.hybris.platform.core.LazyLoadItemList","method":"loadPage","file":"LazyLoadItemList.java","line":220},{"class":"de.hybris.platform.core.LazyLoadItemList","method":"switchPage","file":"LazyLoadItemList.java","line":209},{"class":"de.hybris.platform.core.LazyLoadItemList","method":"switchBufferedPageNoLock","file":"LazyLoadItemList.java","line":457},{"class":"de.hybris.platform.core.LazyLoadItemList","method":"switchBufferedPageSynchronized","file":"LazyLoadItemList.java","line":449},{"class":"de.hybris.platform.core.LazyLoadItemList","method":"switchBufferedPage","file":"LazyLoadItemList.java","line":444},{"class":"de.hybris.platform.core.LazyLoadItemList","method":"getOrSwitchBufferedPage","file":"LazyLoadItemList.java","line":435},{"class":"de.hybris.platform.core.LazyLoadItemList","method":"getOrSwitchBufferedPage","file":"LazyLoadItemList.java","line":415},{"class":"de.hybris.platform.core.LazyLoadItemList","method":"getBuffered","file":"LazyLoadItemList.java","line":101},{"class":"de.hybris.platform.core.LazyLoadItemList","method":"get","file":"LazyLoadItemList.java","line":88},{"class":"java.util.AbstractList$Itr","method":"next","file":"AbstractList.java","line":373},{"class":"java.util.Collections$UnmodifiableCollection$1","method":"next","file":"Collections.java","line":1079},{"class":"de.hybris.platform.servicelayer.internal.model.impl.AbstractModelService","method":"toModelLayer","file":"AbstractModelService.java","line":59},{"class":"de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter","method":"getModelValue","file":"ItemModelConverter.java","line":2806},{"class":"de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter","method":"convertObjectsToModels","file":"ItemModelConverter.java","line":2744},{"class":"de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter","method":"readSingleAttribute","file":"ItemModelConverter.java","line":1459},{"class":"de.hybris.platform.servicelayer.internal.converter.impl.ItemAttributeProvider","method":"getAttribute","file":"ItemAttributeProvider.java","line":110},{"class":"de.hybris.platform.servicelayer.model.ItemModelContextImpl","method":"loadUnlocalizedAttribute","file":"ItemModelContextImpl.java","line":285},{"class":"de.hybris.platform.servicelayer.model.ItemModelContextImpl","method":"getValue","file":"ItemModelContextImpl.java","line":245},{"class":"de.hybris.platform.servicelayer.model.ItemModelContextImpl","method":"getPropertyValue","file":"ItemModelContextImpl.java","line":261},{"class":"de.hybris.platform.cms2.model.contents.contentslot.ContentSlotModel","method":"getCmsComponents","file":"ContentSlotModel.java","line":134}, ......} |
Read more...
Environment
SAP Commerce Cloud
Product
Keywords
jdk 21, http 500, 500 error, jalosystemexception, cannot create jalo instance, simplecmscomponent, cms component, orphaned types, storefront login, hybris upgrade, commerce cloud, environment management, site accessing , KBA , CEC-SCC-CLA-ENV-EMG , Environment Management , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview