avantgardnerio commented on code in PR #13900: URL: https://github.com/apache/arrow/pull/13900#discussion_r947177074
########## java/flight/flight-jdbc-driver/src/main/java/org/apache/arrow/driver/jdbc/ArrowFlightJdbcDriver.java: ########## @@ -245,9 +245,10 @@ private Map<Object, Object> getUrlsArgs(String url) resultMap.put(ArrowFlightConnectionProperty.PORT.camelName(), uri.getPort()); // port final String extraParams = uri.getRawQuery(); // optional params - - final Map<String, String> keyValuePairs = UrlParser.parse(extraParams, "&"); - resultMap.putAll(keyValuePairs); + if(extraParams != null) { Review Comment: This NPEd when there were no extraParams -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org