SAP Knowledge Base Article - Public

2257632 - Connector Error: com.plateausystems.connector.api.ConnectorException: Error while reading content of file :user_data.txt. nameMapper array contains duplicate key "JOB_TITLE" cannot map the list

Symptom

1) Error appears while you run the any connector.

2) Due to this error the connector will fail without processing the record.

3) You can see the error in the view error section on the connector run page.

 

com.plateausystems.connector.api.ConnectorException: Error while reading content of file :user_data_kaspersky.txt. nameMapper array contains duplicate key "JOB_TITLE" cannot map the list
at com.plateausystems.connector.importdata.impl.supercsv.SuperCSVDataImportServiceImpl.processData(SuperCSVDataImportServiceImpl.java:254)
at com.plateausystems.connector.importdata.impl.supercsv.SuperCSVDataImportServiceImpl.importDataProcess(SuperCSVDataImportServiceImpl.java:126)
at com.plateausystems.connector.importdata.impl.AbstractDataImportServiceImpl.importData(AbstractDataImportServiceImpl.java:115)
at sun.reflect.GeneratedMethodAccessor660.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)

 

Environment

This error is not dependannt on any environment.

Cause

The problem is in the feed file.

The file which you are running is having a duplicate header due to which the error comes and the connector failed.

In this particular example the error is :

com.plateausystems.connector.api.ConnectorException: Error while reading content of file :user_data.txt. nameMapper array contains duplicate key "JOB_TITLE" cannot map the list

From checking the header you can see which header is duplicate as the header is pointed out in the error e.g. in this example JOB_TITLE.

Resolution

From the cause it is evident that you need to remove the duplicate header,

After that if you process the file the connector will not give error.

If the error is coming for user connector sf where bizx job places the file in the sftp, please create a case with platform team, we will fix the export.

Keywords

Connector error, connector failed, name mapper array , KBA , LOD-SF-LMS-CON , Connectors , Problem

Product

SAP SuccessFactors Learning 1511 ; SuccessFactors Learning 1207 ; SuccessFactors Learning 1210 ; SuccessFactors Learning 1302 ; SuccessFactors Learning 1305 ; SuccessFactors Learning 1308 ; SuccessFactors Learning 1311 ; SuccessFactors Learning 1405 ; SuccessFactors Learning 1408 ; SuccessFactors Learning 1508