[CONJ-237] closing a closed preparedStatement throw nullpointerException Created: 2015-12-26  Updated: 2015-12-26  Resolved: 2015-12-26

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: 1.3.0, 1.3.2, 1.3.1, 1.3.3
Fix Version/s: 1.3.4

Type: Bug Priority: Minor
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Closing an already closed PrepareStatement throw a nullpointer exception.
This exception violates the Java API for the inherited Statement.close() "Calling the method close on a Statement object that is already closed has no effect.".



 Comments   
Comment by Diego Dupin [ 2015-12-26 ]

correction commit : https://github.com/MariaDB/mariadb-connector-j/commit/4a949d2dd0b6df3cda4de26cf52d9ba0b29c3c00.

Generated at Thu Feb 08 03:14:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.