SAP Knowledge Base Article - Public

2739428 - User getting NullPointer Error for settings when trying to access Quiz

Symptom

When a user attempts to access a quiz the following error is thrown

"while trying to invoke the method com.successfactors.lms.eqb.service.quiz.api.QuizSettingsVOXInt.getType() of a null object loaded from local variable 'settings' java.lang.NullPointerException: while trying to invoke the method com.successfactors.lms.eqb.service.quiz.api.QuizSettingsVOXInt.getType() of a null object loaded from local variable 'settings' at com.successfactors.lms.eqb.client.struts.impl.EditQuizObjectAction.run(EditQuizObjectAction.java:93) at com.plateausystems.elms.client.struts.StatefulBaseActionDelegate.invoke(StatefulBaseActionDelegate.java:520) at com.plateausystems.elms.client.struts.TMSDelegatingTilesRequestProcessor.processActionPerform(TMSDelegatingTilesRequestProcessor.java:136) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:275) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) at com.plateau.foundation.struts1.action.PlateauActionServlet.service(PlateauActionServlet.java:820) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.struts.action.ActionServlet.service(ActionServlet.java) at com.plateau.foundation.struts1.action.PlateauActionServlet.service(PlateauActionServlet.java) at com.plateau.common.springweb.api.ServletToBeanProxy.service(ServletToBeanProxy.java:83) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at com.plateau.common.springweb.api.ServletToBeanProxy.service(ServletToBeanProxy.java) at com.plateau.foundation.servlet.TenantAwareDelegatingServlet.service(TenantAwareDelegatingServlet.java:95) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)...."

Environment

SAP Learning Managment System

Cause

This is normally caused by the quiz setting being edited after it has been assgined to the user.

Resolution

Reassign the quiz to the user.

Keywords

SuccessFactors, LMS, Legacy, SF , KBA , LOD-SF-LMS-ITE , Items , Problem

Product

SAP SuccessFactors Learning 1808