[CONJ-74] NullPointerException when executeBatch is called, and batch list is empty Created: 2013-11-03  Updated: 2014-09-17  Resolved: 2013-11-13

Status: Closed
Project: MariaDB Connector/J
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1.6

Type: Bug Priority: Major
Reporter: Andy Shulman Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None

Attachments: Text File CONJ-74.patch    

 Description   

See CONJ-62. However, that was filed for org.mariadb.jdbc.MySQLStatement and was fixed in version 1.1.4. The issue still exists in 1.1.5 for org.mariadb.jdbc.MySQLPreparedStatement.



 Comments   
Comment by Andy Shulman [ 2013-11-03 ]

Also I realize it's not technically with the scope of this bug, but CONJ-62 isn't fully fixed. clearBatch will still throw an NPE. I've attached a patch file suitable for patching with `patch -p1` with the changes that need to be made.

Comment by Georg Richter [ 2013-11-13 ]

Fixed in rev. 492

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