SAP Knowledge Base Article - Preview

2950959 - jConnect: PROMPT_FOR_NEWPASSWORD causes error java.lang.NullPointerException - SDK for SAP ASE

Symptom

Using PROMPT_FOR_NEWPASSWORD into the connection string causes error:

java.lang.NullPointerException
at com.sybase.jdbc4.utils.Debug.println(Debug.java:285)
at com.sybase.jdbc4.utils.SybInputPassword.<init>(SybInputPassword.java:83)
at com.sybase.jdbc4.jdbc.SybConnection.tryLogin(SybConnection.java:709)
at com.sybase.jdbc4.jdbc.SybConnection.handleHAFailover(SybConnection.java:3726)
at com.sybase.jdbc4.jdbc.SybConnection.<init>(SybConnection.java:368)
at com.sybase.jdbc4.jdbc.SybConnection.<init>(SybConnection.java:268)
at com.sybase.jdbc4.jdbc.SybDriver.connect(SybDriver.java:224)


Read more...

Environment

  • 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)
  • .Net

Product

SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0

Keywords

[Enter your Keywords here...] , KBA , BC-SYB-SDK , SDK , 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.