Skip to content

Commit 010bbd2

Browse files
committed
Fix NPE
1 parent 9f5a0e6 commit 010bbd2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

flight/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc/ArrowFlightJdbcDriver.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ public Logger getParentLogger() {
7575
public ArrowFlightConnection connect(final String url, final Properties info)
7676
throws SQLException {
7777
final Properties properties = new Properties(info);
78-
properties.putAll(info);
78+
if (info != null) {
79+
properties.putAll(info);
80+
}
7981

8082
if (url != null) {
8183
final Optional<Map<Object, Object>> maybeProperties = getUrlsArgs(url);

0 commit comments

Comments
 (0)