SAP Knowledge Base Article - Public

2404547 - Error in Import Data: java null pointer exception - LMS


Admin is experiencing following error message when trying to import data into LMS by using import tool:

" Error in importData()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke("


Learning Management System (LMS)

Reproducing the Issue

  1. Navigate to System Admin ->Tools -> ImportData
  2. Select "Registrations" as a record type
  3. Select "Add" as import option
  4. Import file with few users in order to enroll them to SO
  5. Submit
  6. Run background job by clicking on Finish button
  7. Job finished with status FAILED
  8. Once you check in DB in table PA_SCHEDULED_JOB, you can see the error mentioned above


The issue is caused by the fact that admin notification email was not set up in systemAdmin


  1. Go to System Admin -> Configuration -> Global Variables -> Mail tab
  2. Setup Admin Notification Email. For example:


  3. Click on Apply Changes
  4. Error won't appear anymore

See Also

  • 2420708 - Cannot Add/Import User
  • 2361911 - Error generated when importing learning history data
  • 2387756 - How Import data functionality works on custom column entities - SuccessFactors LMS
  • 2282369 - LMS: Importing admin roles via the Import Data Tool with domain restrictions
  • 2285788 - How to avoid date/time issues when importing via the Import Data Tool


import data for registrations, java null pointer expection when importing data, at, at framework.ReflectiveMethodInvocation.invokeJoinpoint(, proceed(,  com.plateausystems.elms.framework.usagestatistics.impl.UsageStatisticsInterceptor.invoke(,proceed(, authorization.impl.ServiceAuthorizationInterceptor.invoke(,localization.DataLocalizationInterceptor.invoke(
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(,org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(, at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(,at $Proxy1286.importData(Unknown Source)
at com.plateausystems.elms.framework.jobscheduling.impl.EntityImportBackgroundJob.execute(,
at java.util.concurrent.ThreadPoolExecutor.runWorker(, at java.util.concurrent.ThreadPoolExecutor$,at, Caused by: java.lang.NullPointerException,at java.util.Arrays$ArrayList.<init>,, at java.util.Arrays.asList(, at com.plateau.common.core.api.ValidationErrorVOX.<init>(,at com.plateau.common.core.api.ValidationResultVOX.addError(, at, at DefaultEntityImportServiceHandlerImpl.importEntity(, at DefaultDataImportRowProcessor.processImportDataRow(
at sun.reflect.GeneratedMethodAccessor2888.invoke(Unknown Source),at sun.reflect.DelegatingMethodAccessorImpl.invoke(, at java.lang.reflect.Method.invoke(, at, at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
at $Proxy1284.processImportDataRow(Unknown Source), at, ... 22 more" , KBA , LOD-SF-LMS-ADM , Admin Tools , LOD-SF-LMS-BCJ , LMS Background Jobs , Problem


SAP SuccessFactors Learning all versions