Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
3.0.10, 3.1.4
-
None
-
Application A:
- Spring Boot 2.7.12
- MariaDB Connector 3.1.4 (connection string: jdbc:mariadb://{my-db-host}:3306/app_a?useMysqlMetadata=true)
- AWS RDS MariaDB 10.5.21 with RDS Proxy
- Docker base image: adoptopenjdk/openjdk11-openj9:jre
Application B:
- Spring Boot 2.7.12
- MariaDB Connector 3.0.10 (connection string: jdbc:mariadb://{my-db-host}:3306/app_b?useMysqlMetadata=true)
- AWS RDS MariaDB 10.5.21 with RDS Proxy
- Docker base image: adoptopenjdk/openjdk11-openj9:jreApplication A: - Spring Boot 2.7.12 - MariaDB Connector 3.1.4 (connection string: jdbc:mariadb://{my-db-host}:3306/app_a?useMysqlMetadata=true) - AWS RDS MariaDB 10.5.21 with RDS Proxy - Docker base image: adoptopenjdk/openjdk11-openj9:jre Application B: - Spring Boot 2.7.12 - MariaDB Connector 3.0.10 (connection string: jdbc:mariadb://{my-db-host}:3306/app_b?useMysqlMetadata=true) - AWS RDS MariaDB 10.5.21 with RDS Proxy - Docker base image: adoptopenjdk/openjdk11-openj9:jre
Description
Our two spring boot applications sometimes received StringIndexOutOfBoundsException in OkPacket when creating transaction. May I know is there any scenario that the buffer will be null and cause the issue?
For your reference, we have some other applications using Spring Boot 2.4.9 with MariaDB Connector 2.7.3. We didn't see any exception throw by MariaDB Connector so far when creating transaction. I checked that 2.7.3 didn't contain OkPacket class so I am not sure are they related.