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