SAP Knowledge Base Article - Preview

2133743 - ADONET: NullReferenceException: 'Object reference not set to an instance of an object' when calling procedure with rpc call to return row results - SDK for SAP ASE

Symptom

  • RPC call executing a stored procedure throws exception instead of rows
  • Exception e: System.NullReferenceException: Object reference not set to an instance of an object.
    at Sybase.Data.AseClient1.AseDataReader.Perform_RetrieveHasNextRow(Boolean isNeedInit)
    at Sybase.Data.AseClient1.AseDataReader.Peform_Next()
    at Sybase.Data.AseClient1.AseDataReader.Read()
    at Sybase.Data.AseClient.AseDataReader.Read()


Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.7 ESD#5
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • Adaptive Server Enterprise ADO.NET Data Provider
    • 3.5 Provider ( Sybase.AdoNet35.AseClient.dll )
    • 4.0 Provider ( Sybase.AdoNet4.AseClient.dll )
    • 4.5 Provider ( Sybase.AdoNet45.AseClient.dll )

Product

SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0 ; Sybase SDK 15.7 ; Sybase Software Developer Kit 15.7

Keywords

software developer kit , 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 for Me (Login required).

Search for additional results

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