We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0669c56 commit 96ae1d5Copy full SHA for 96ae1d5
src/com/xxdb/DBConnection.java
@@ -332,7 +332,7 @@ else if (e.getMessage().contains("sha256 authMode doesn't support scram authMode
332
throw e;
333
}
334
335
- if (!result.isVector() || result.rows() != 3)
+ if (Objects.isNull(result) || !result.isVector() || result.rows() != 3)
336
throw new IOException("SCRAM login failed, server error: get server nonce failed.");
337
338
String saltString = ((Vector) result).get(0).getString();
0 commit comments