cancel
Showing results for 
Search instead for 
Did you mean: 

getSiteConfigService().getInt(PAGINATION_NUMBER_OF_RESULTS_COUNT, 5) it is throwing error "BaseSite should not be null"

former_member681869
Discoverer
0 Kudos
311

SEVERE: Servlet.service() for servlet [DispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.IllegalArgumentException: BaseSite should not be null] with root cause INFO | jvm 1 | main | 2017/10/28 03:46:49.940 | java.lang.IllegalArgumentException: BaseSite should not be null INFO | jvm 1 | main | 2017/10/28 03:46:49.940 | at org.springframework.util.Assert.notNull(Assert.java:112) INFO | jvm 1 | main | 2017/10/28 03:46:49.940 | at

Accepted Solutions (1)

Accepted Solutions (1)

Base site is not activated in session,

There are lot of ways to do it in hybris.

if in storefront it should be done in CMSSiteFilter if in back end services it can be done using ImpersonationService

Answers (0)