Symptom
Following steps in KBA 1899365 - How to setup self-signed test SSL with ASE and SDK - SAP ASE
in step 8 - Grab ASE private key. Exception and in java.lang.NullPointerException is generated
java com.sap.security.ExportPrivateKey -keystore ASEName.jks -alias ASEname -file ASEname.key -storepass mystorepassword
Exception in thread "main" java.lang.NullPointerException: while trying to invoke the method java.security.KeyPair.getPrivate() of a null object loaded from a local variable at slot 7
at com.sap.security.ExportPrivateKey.export(ExportPrivateKey.java:131)
at com.sap.security.ExportPrivateKey.main(ExportPrivateKey.java:39)
Read more...
Environment
- SAP Adaptive Server Enterprise 16 (ASE)
- SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
- jConnect
- JDBC 7.07
- JDBC 16 ( is version JDBC 7.07 )
Product
Keywords
ExportPrivateKey,Private Key, PrivateKey,java.security.KeyPair.getPrivate,null object,java.lang.NullPointerException,1899365,KBA 1899365,ssl , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To
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.
SAP Knowledge Base Article - Preview