SAP Knowledge Base Article - Public

2517584 - Java error displayed when trying to remove a survey from an item

Symptom

Administrators may encounter errors such as the one below when trying to remove an inactive survey from an item record:

  • java.lang.NullPointerException
  • QuestionnaireSurveyComponentVO.getSurveyID() of a null object returned
  • at com.plateausystems.elms.bo.questionnairesurveys.impl.QuestionnaireSurveyServiceImpl.addComponentSurvey(QuestionnaireSurveyServiceImpl.java:712)
  • at com.plateausystems.elms.client.struts.questionnairesurveys.QuestionnaireSurveyUpdateItemEvaluationAction.run(QuestionnaireSurveyUpdateItemEvaluationAction.java:419)

Environment

LMS all versions

Reproducing the Issue

  1. search for an item on which you would like to remove the survey attached
  2. in the item record, navigate to "Related/More" section and click on the "Evaluations" tab
  3. delete the entry in the "Survey" field and click "Apply Changes"

    remoce_survey.PNG

  4. The error is displayed

Cause

The evaluation survey is inactive and it prevents the administrator from removing it from the item record.

Resolution

  1. Navigate to LMS Admin> Learning> Questionnaire Survey
  2. Search for the survey ID in question and click Edit
  3. Activate the survey by selecting the "Active" checkbox and click Apply Changes

    survey_active.PNG
  4. The administrator will now be able to remove the survey from the item record.

Keywords

delete; questionaire, questionnaire, deleting, unable, dis-associate, removing, deleted , KBA , LOD-SF-LMS-ADM , Admin Tools , LOD-SF-LMS , SuccessFactors Learning , LOD-SF-LMS-COR , LMS Core - Items, Catalog, Curricula , How To

Product

SAP SuccessFactors Learning 1511 ; SAP SuccessFactors Learning 1602 ; SAP SuccessFactors Learning 1605 ; SAP SuccessFactors Learning 1608 ; SAP SuccessFactors Learning 1611 ; SAP SuccessFactors Learning 1702 ; SAP SuccessFactors Learning 1705 ; SAP SuccessFactors Learning 1708 ; SAP SuccessFactors Learning 1711 ; SuccessFactors Learning 1207 ; SuccessFactors Learning 1210 ; SuccessFactors Learning 1302 ; SuccessFactors Learning 1305 ; SuccessFactors Learning 1308 ; SuccessFactors Learning 1311 ; SuccessFactors Learning 1402 ; SuccessFactors Learning 1405 ; SuccessFactors Learning 1408 ; SuccessFactors Learning 1411 ; SuccessFactors Learning 1502 ; SuccessFactors Learning 1505 ; SuccessFactors Learning 1508