SAP Knowledge Base Article - Preview

3037019 - SFTP messages are failing with "java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable"

Symptom

You have some SFTP scenarios in your SAP Process Integration & Orchestration (PI/PO) system and you notice the messages started to fail with error "java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable".

This started after you performed some update/upgrade in the system, specially for the Security Connectivity Add-on components.

If you capture an XPI Inspector trace while reproducing the issue, the following exception will be visible:

Execution of Runnable [null] throws the following Error [java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable].
[EXCEPTION]
java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable
at com.sap.aii.adapter.sftp.ra.rar.integration.sftp.SSHConnection.<init>(SSHConnection.java:133)
at com.sap.aii.adapter.sftp.ra.rar.jca.SFTP2XI.getConnection(SFTP2XI.java:1422)
at com.sap.aii.adapter.sftp.ra.rar.jca.SFTP2XI.sftpConnection(SFTP2XI.java:309)
at com.sap.aii.adapter.sftp.ra.rar.jca.SFTP2XI.invoke(SFTP2XI.java:234)
at com.sap.aii.af.lib.scheduler.JobBroker$Worker.run(JobBroker.java:529)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:185)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.asn1.DEREncodable


Read more...

Environment

  • SAP Process Integration
  • SAP Process Integration, secure connectivity add-on

Product

SAP NetWeaver Process Integration, secure connectivity add-on 1.0

Keywords

SFTP, PGP, NoClassDefFoundError, DEREncodable, Component, PIB2BGP, PIB2BSFTP, Process Integration 7.31, PI 7.31, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX, PI , KBA , BC-XI-CON-SFT , Secure File Transfer Protocol Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.