SAP Knowledge Base Article - Public

2251414 - User connector sf failed with the following error : java.lang.UnsupportedOperationException: ElmsEncryption does not support CipherOutputStreamProvider, please upgrade to com.plateausystems.elms.util.helper.ElmsJceEncryption

Symptom

You will not able to run the user connector it will keep failing even before processing any records in the file.

If you see in the view error you can see the below error:

java.lang.UnsupportedOperationException: ElmsEncryption does not support CipherOutputStreamProvider, please upgrade to com.plateausystems.elms.util.helper.ElmsJceEncryption
at com.plateausystems.elms.util.helper.ElmsEncryption.getCipherOutputStream(ElmsEncryption.java:179)
at com.plateausystems.connector.importdata.impl.ConnectorOutputStreamFactoryImpl.getOutputStream(ConnectorOutputStreamFactoryImpl.java:194)
at com.plateausystems.connector.importdata.impl.DBInputDataRepositoryImpl.getOutputStream(DBInputDataRepositoryImpl.java:52)
at com.plateausystems.connector.importdata.impl.DBInputDataRepositoryImpl.write(DBInputDataRepositoryImpl.java:65)
at com.plateausystems.connector.importdata.impl.FTPInputLocationImpl.moveFileToDataRepository(FTPInputLocationImpl.java:132)
at com.plateausystems.connector.importdata.impl.AbstractInputLocation.moveFilesToDataRepository(AbstractInputLocation.java:330)
at com.plateausystems.connector.importdata.impl.FTPInputLocationImpl.moveFilesToDataRepository(FTPInputLocationImpl.java:457)
at com.plateausystems.connector.importdata.impl.FileDataImport.fetchInputFiles(FileDataImport.java:139)

complete error which is attached here with.

Environment

This error is not restricted to any environment.

Can Occur in the any LMS version above 6.3.

Reproducing the Issue

This issue occurs while running a user connector sf which runs into a failure.

Cause

There is a encryption property that connector used in the code and the same can be set in LMS admin property file, that property is having a wrong value due to which the error is coming.

Resolution

 

As mentioned in the cause there is a property in the LMS admin Property file which would have a wrong value and because of the same the error is coming.

 

The property is namely - encryption.className=

 

The correct value for the property is : encryption.className=com.plateausystems.elms.util.helper.ElmsJceEncryption

 

connector-KBA.PNG

 

 

 

If the connector is running into the error, please go in the LMS admin property file to check the property and correct the same.

 

In order to navigate to LMS admin property file in the system, please follow the below steps:

 

1) Log in as admin

 

2) Navigate to system admin, then to configuration

 

3) Then to system configuration, in that main content window , you can see the LMS_ADMIN property file.

 

4) Open it in edit mode to correct it, and search for the property mentioned.

 

 

Keywords

Connector Error, Cypher error, encryption error, Connector Failed, java error in connector , KBA , LOD-SF-LMS-CON , Connectors , Problem

Product

SAP SuccessFactors Learning all versions

Attachments

cypher error.txt