SAP Knowledge Base Article - Public

2395701 - LMS - scheduled offering connector error 'Unexpected Error.while trying to invoke the method java.lang.String.indexOf(java.lang.String) of a null object loaded from local variable 'fileName''

Symptom

Customer encountered error while running scheduled offering connector.


Error  Message: 'Unexpected Error.while trying to invoke the method java.lang.String.indexOf(java.lang.String) of a null object loaded from local variable 'fileName''

Environment

SuccessFactors Learning Management System

Reproducing the Issue

1. Prepare the Scheduled Offering Connector feed file.

2. Place the feed file in the SFTP

3. Schedule the connector run. System Admin > Connector > Scheduled Offering Connector

4. Encountered the error in the connector log, as "'Unexpected Error.while trying to invoke the method java.lang.String.indexOf(java.lang.String) of a null object loaded from local variable 'fileName'".

Resolution

In the feed file, for column ACT_CPNT_ID – the data “11” can’t be found in the instance and TIMEZONE_ID is not populated.

Once the feed file is corrected, run the connector and will not encounter the error anymore.

Keywords

KBA , LOD-SF-LMS-CON , Connectors , Problem

Product

SAP SuccessFactors Learning 1605 ; SAP SuccessFactors Learning 1608