Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Access SQL Custom connection string is shown "java.lang.NullPointerException: Cannot invoke "String.replaceAll(String, String)" because "this.password" is null" #1770

Open
Ayanasrallah opened this issue Oct 5, 2024 · 1 comment
Assignees
Labels
bug Something isn't working triage needs to be looked at

Comments

@Ayanasrallah
Copy link
Contributor

Describe the bug

Access SQL Custom connection string is shown "java.lang.NullPointerException: Cannot invoke "String.replaceAll(String, String)" because "this.password" is null"

Environment

  1. SHAFT_Engine 8.3.20240829
  2. Desktop Browser: firefox
  3. Desktop Browser Version: 131.0

To Reproduce
Steps to reproduce the behavior:
1- Declara Variable for the database driver
2- assign the database driver variable
3- initialize using a custom connection string using the Belwo format
"jdbc:sqlserver://[ServerIP] :1433 ;databaseName= [db name ] ;User= [DB UserName] ;Password=[DB Password in plain text not encrypted] ;MultipleActiveResultSets=true;TrustServerCertificate=True;"

Expected behavior

Connection should be successfully established

Screenshots

462143444_1218650659353456_2424386049369299970_n

@Ayanasrallah Ayanasrallah added bug Something isn't working triage needs to be looked at labels Oct 5, 2024
@MohabMohie
Copy link
Contributor

already fixed and enhanced by Aya as per this commit: Ayanasrallah@c76b86a

will not reimplement as Aya may be willing to contribute her changes directly to the main repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage needs to be looked at
Projects
None yet
Development

No branches or pull requests

2 participants