SAP Knowledge Base Article - Preview

2788160 - Setuphadr command fails with exception in thread "main" java.lang.NullPointerException - SRS

Symptom

"setuphadr" reports the following error:

"Exception in thread "main" java.lang.NullPointerException: while trying to invoke the method java.sql.Connection.createStatement() of a null object loaded from field com.sap.setuphadr.Isql.conn of an object loaded from local variable 'this'
at com.sap.setuphadr.Isql.exec(Unknown Source)
at com.sap.setuphadr.RMAServer.stopServer(Unknown Source)
at com.sap.setuphadr.RMAServer.configServer(Unknown Source)
at com.sap.setuphadr.ResourceFile.validateProperties(Unknown Source)
at com.sap.setuphadr.SetupHADR.init(Unknown Source)
at com.sap.setuphadr.SetupHADR.main(Unknown Source)"


Read more...

Environment

  • SAP Replication Server (SRS) 16.0
  • SAP Adaptive Server Enterprise (ASE) 16.0 with Always-On Option (HADR)

Product

SAP Adaptive Server Enterprise 16.0 ; SAP Replication Server 16.0

Keywords

HADR,CHADR, BHADR, RS, High Availability Disaster Recovery, removehadr, ASE Always-On , KBA , BC-SYB-REP-SAP , Replication with SAP Suite / SAP BW , BC-SYB-REP , Sybase Replication Server (standalone) , 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.