SAP Knowledge Base Article - Public

2414671 - While completing an Exam created using PQE, error is generated: "BaseQuestionHandler.isCorrect(BaseQuestionHandler.java:466)"

Symptom

The following error is received while completing an Exam created using PQE

ErrorLogUtil - Ticket=1509422;java.lang.NullPointerException: while trying to get the length of a null array loaded from local variable 'correctAnsArr' at com.plateausystems.elms.bo.question.impl.BaseQuestionHandler.isCorrect(BaseQuestionHandler.java:466).

Environment

SuccessFactors Learning Management System (LMS) - All Supported Versions

Reproducing the Issue

1. The issue is most likely caused by an error in the question import file. But at the moment the exact cause is unknown, so is not reproducible.

Cause

The error is caused by a question that does not have a correct answer selected. 

correctAnswer.jpg

Resolution

To identify the question which does not have any correct answer selected, admin will need to review all questions assoicated to the exam.

Keywords

PQE Error; PQE; correctAnsArr; null array loaded from local variable; java.lang.NullPointerException; local variable 'correctAnsArr'; question.impl.BaseQuestionHandler.isCorrect(BaseQuestionHandler.java:466); , KBA , LOD-SF-LMS-PQE , LMS Plateau Question Editor and Evaluation , LOD-SF-LMS , SuccessFactors Learning , Problem

Product

SAP SuccessFactors Learning all versions