SAP Knowledge Base Article - Preview

3561078 - Error: NullPointerException with "500 - INTERNAL SERVER ERROR" when login to the Backoffice with Single Sign On

Symptom

Try to login to Backoffice by SSO(Single Sign On), the login failed and the page shows "500 - INTERNAL SERVER ERROR" in the front end. 

Meanwhile, check the logs in the Backend/Kibana, could find the below exception with traces: 

SEVERE: Servlet.service() for servlet [zkLoader] in context with path [/backoffice] threw exception
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "encodedPasswordFromDB" is null
at de.hybris.platform.jalo.user.UserManager.checkPassword(UserManager.java:1790)
at de.hybris.platform.jalo.user.User.checkPassword(User.java:668)
at de.hybris.platform.spring.security.CoreAuthenticationProvider.authenticate(CoreAuthenticationProvider.java:172)
at com.hybris.backoffice.spring.security.BackofficeAuthenticationProvider.coreAuthenticate(BackofficeAuthenticationProvider.java:112)
at com.hybris.backoffice.spring.security.BackofficeAuthenticationProvider.authenticate(BackofficeAuthenticationProvider.java:57)
at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:182)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:117)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:101)
.....

** 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
  • SAP Commerce Cloud

Product

SAP Commerce Cloud 2211 ; SAP Commerce all versions

Keywords

Single Sign On, SSO, backoffice, login, 500, INTERNAL SERVER ERROR, encodedPasswordFromDB , KBA , CEC-SCC-PLA-PL , Platform , CEC-SCC-INT-IAS , IAS integration , 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.