Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iWiy0-0000sy-Sc for pgsql-jdbc@arkaria.postgresql.org; Mon, 18 Nov 2019 15:29:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iWixz-0006yA-MP for pgsql-jdbc@arkaria.postgresql.org; Mon, 18 Nov 2019 15:29:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iWixz-0006y3-Bh for pgsql-jdbc@lists.postgresql.org; Mon, 18 Nov 2019 15:29:27 +0000 Received: from out-22.smtp.github.com ([192.30.252.205]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iWixw-0002dg-Pb for pgsql-jdbc@lists.postgresql.org; Mon, 18 Nov 2019 15:29:26 +0000 Received: from github-lowworker-cd7bc13.ac4-iad.github.net (github-lowworker-cd7bc13.ac4-iad.github.net [10.52.25.102]) by smtp.github.com (Postfix) with ESMTP id 186D9A0054 for ; Mon, 18 Nov 2019 07:29:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1574090964; bh=EVzN6hX9fmySzV4TlbOw2wEw0jAcLhOgpGNlFcJzmPM=; h=Date:From:To:Subject:From; b=AXQjEPcHxS6ZosTTe3q8jJX3HPjo04CgcRE1yCMlFjJG8AH+FQTb3N79rAj9jJ0YV VP0UK4ju4RfYDT9NOUya4YPEBxTzQ7tTAv4M8+JNppl9yDRNJAnYu4Vtc7R8waL6Wv FB7UL9+ofGYYf92qLYns3decKhYhcau706Pcos0M= Date: Mon, 18 Nov 2019 07:29:24 -0800 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 00fa44: fix: NPE as a result of calling executeQuery twice... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 00fa448587532cc219977679bb8c573a1dcae11c https://github.com/pgjdbc/pgjdbc/commit/00fa448587532cc219977679bb8c573a1dcae11c Author: Dave Cramer Date: 2019-11-18 (Mon, 18 Nov 2019) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java M pgjdbc/src/main/java/org/postgresql/jdbc/PgStatement.java M pgjdbc/src/test/java/org/postgresql/test/jdbc4/jdbc41/CloseOnCompletionTest.java Log Message: ----------- fix: NPE as a result of calling executeQuery twice on a statement fixes issue #684 (#1610)