SAP Knowledge Base Article - Public

2243912 - Java error thrown while launching a LMS exam

Symptom

The Java error below happens while launching the Exam:

Please report the following error to your system administrator:

com.plateausystems.elms.util.helper.ElmsUpdateException: Error - generateExam() failed
at com.plateausystems.elms.bo.studentexam.impl.StudentExamServiceImpl.generateExam(StudentExamServiceImpl.java:262)
at sun.reflect.GeneratedMethodAccessor6065.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)

Environment

  • SAP SuccessFactors Learning Management System (LMS) - All Supported Versions

Cause

There are 2 active variants for the same question within the Exam. Please check below:


2.jpg

Resolution

Please follow following steps to correct the issue.

  1. Go to Content > Exam and Search for the Exam object which has the issue. Click Edit.
  2. Go to Questions tab of the Exam and find out the questions having more than one variants
  3. Go to Content > Questions and search for the questions in the exam having more than 1 variant.
  • Search for that question in Content > Question
  • Observe that there are two variants present for the questions.
  • Select the checkbox of the question and click select button.
  • Select the active variant, which is not used in the exam.

 3.jpg

  •  Delete this duplicate variant.

Keywords

Exam, Java Error, Error - generateExam() failed, error launching exam, fetch returns more than requested number of rows, SAP DBTech JDBC , KBA , LOD-SF-LMS-PQE , LMS Plateau Question Editor and Evaluation , LOD-SF-LMS-COR , LMS Core - Items, Catalog, Curricula , Problem

Product

SAP SuccessFactors Learning all versions