Bug #100294 Connector/J produces NPE when saving a Date with prepared statements
Submitted: 22 Jul 2020 15:52 Modified: 9 Sep 2020 10:30
Reporter: Björn Voigt (OCA) Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / J Severity:S2 (Serious)
Version:8.0.21 OS:Any
Assigned to: CPU Architecture:Any

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[22 Jul 2020 15:55] Björn Voigt
The patch ensures, that cacheDefaultTimezone and defaultTimeZone are copied

Attachment: clone-cacheDefaultTimezone-and-defaultTimeZone.patch (text/x-patch), 585 bytes.

[22 Jul 2020 21:14] Björn Voigt
This demo shows the bug with Connector/J 8.0.20 and 8.0.21 (works with 8.0.19)

Attachment: ConnectorJBug100294.java (text/x-java), 1.74 KiB.

[22 Jul 2020 21:15] Björn Voigt
The stracktrace for ConnectorJBug100294.java

Attachment: ConnectorJBug100294-stacktrace.log (text/x-log), 2.42 KiB.