SAP Knowledge Base Article - Preview

3193824 - How-to resolve the "Server Error" issue when accessing Apparel site without cookie in 2105

Symptom

When accessing the Apparel Sample site without cookie in 2105, "Server Error" issue occurs.

In console log, below exceptions are found:

SEVERE: Servlet.service() for servlet [DispatcherServlet] in context with path [/yacceleratorstorefront] threw exception [Error while processing internal filterchain. Exception occurred at chain position: 9 of 22. Current filter: 'de.hybris.platform.yacceleratorstorefront.filters.StorefrontFilter@47d6fd21'!; nested exception is java.lang.IllegalArgumentException: Language to set is not supported.] with root cause

java.lang.IllegalArgumentException: Language to set is not supported.

at org.springframework.util.Assert.notNull(Assert.java:201)

at de.hybris.platform.commerceservices.i18n.impl.CommerceLanguageResolver.getLanguage(CommerceLanguageResolver.java:66)

at de.hybris.platform.commerceservices.storesession.impl.DefaultStoreSessionService.setCurrentLanguage(DefaultStoreSessionService.java:43)

at de.hybris.platform.commercefacades.storesession.impl.DefaultStoreSessionFacade.setCurrentLanguage(DefaultStoreSessionFacade.java:257)

at de.hybris.platform.yacceleratorstorefront.filters.StorefrontFilter.initDefaults(StorefrontFilter.java:105)

at de.hybris.platform.yacceleratorstorefront.filters.StorefrontFilter.doFilterInternal(StorefrontFilter.java:53)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)

at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:308)

at de.hybris.platform.yacceleratorstorefront.filters.cms.CMSSiteFilter.doFilterInternal(CMSSiteFilter.java:93)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • SAP Commerce 2105

Product

SAP Commerce 2105

Keywords

server error, apparel, website cannot access, language, sessionlocale , KBA , CEC-SCC-COM-BCA-ACC , B2C Accelerator , CEC-COM-CPS-WEB , Store frontend, Web CMS, Accelerators , CEC-COM-ACC , B2C/B2B Accelerator , How To

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.