Bug #97757 | NullPointerException with cacheResultSetMetadata=true and executeQuery of "set" | ||
---|---|---|---|
Submitted: | 24 Nov 2019 6:34 | Modified: | 27 Mar 2020 18:27 |
Reporter: | Edmon Luan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 8.0.18 | OS: | Debian |
Assigned to: | CPU Architecture: | x86 |
[24 Nov 2019 6:34]
Edmon Luan
[24 Nov 2019 6:38]
Edmon Luan
Simplified reproduction
Attachment: MySQLCJ8Issue.java (text/x-java), 726 bytes.
[24 Nov 2019 6:42]
Edmon Luan
stack trace
Attachment: trace (application/octet-stream, text), 594 bytes.
[24 Nov 2019 8:34]
MySQL Verification Team
Hello Edmon Luan, Thank you for the report and test case. regards, Umesh
[27 Mar 2020 18:27]
Daniel So
Posted by developer: Added the following entry to the C/J 8.0.20 changelog: "A NullPointerException was returned when the connection had cacheResultSetMetadata=true and a query containing any set statements was executed. This fix corrects the issue by adding the missing variable assignment, and also a null check."