SAP Knowledge Base Article - Preview

1893679 - Jconnect Driver SSL connection generates NullPointerException - SDK for SAP ASE


This error occurs if using Jdbc DataSource classes (SybDataSource) with SSL connect, the underlying proxy socket sample class sample2 
MySSLSocketFactoryASE generate NullPointerException.

Stack trace:
00000020 SystemErr R java.lang.NullPointerException
00000020 SystemErr R at sample2.MySSLSocketFactoryASE.createSocket(Unknown Source)
00000020 SystemErr R at com.sybase.jdbc4.timedio.SocketDbio.doConnect(Unknown Source)
00000020 SystemErr R at com.sybase.jdbc4.timedio.InStreamMgr.<init>(Unknown Source)
00000020 SystemErr R at com.sybase.jdbc4.tds.Tds.login(Unknown Source)
00000020 SystemErr R at com.sybase.jdbc4.jdbc.SybConnection.tryLogin(Unknown Source)
00000020 SystemErr R at com.sybase.jdbc4.jdbc.SybConnection.handleHAFailover(Unknown Source)
00000020 SystemErr R at com.sybase.jdbc4.jdbc.SybConnection.<init>(Unknown Source)
00000020 SystemErr R at com.sybase.jdbc4.jdbc.SybPooledConnection.<init>(Unknown Source)
00000020 SystemErr R at com.sybase.jdbc4.jdbc.SybConnectionPoolDataSource.createConnection(Unknown Source)



  • SAP Sybase Software Developer Kit (SDK) 15.7
  • jConnect
    • JDBC 7.07


Sybase SDK 15.7


SSL sample2 MySSLSocketFactoryASE NullPointerException , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

About this page

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

Search for additional results

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