SAP Knowledge Base Article - Public

2243912 - Java error thrown while launching a LMS exam


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 sun.reflect.GeneratedMethodAccessor6065.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(


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


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



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.


  •  Delete this duplicate variant.


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


SAP SuccessFactors Learning all versions