vertx-sql-client
vertx-sql-client copied to clipboard
The recent PR #1204 produces error in Hibernate Reactive DB2 test
Version
4.3.2
Context
Our nightly builds run against upcoming Vertx SQL client snapshots, in this case an error occurs in testing with vertx-db2-client 4.3.2-SNAPSHOT
Do you have a reproducer?
See build log for full stack trace
Caused by: java.lang.IllegalStateException: Needed to have 6 in buffer but only had 0. In JDBC we would normally block here but need to find a non-blocking solution
at io.vertx.db2client.impl.drda.DRDAResponse.ensureALayerDataInBuffer(DRDAResponse.java:1462) ~[vertx-db2-client-4.3.2-SNAPSHOT.jar:4.3.2-SNAPSHOT]
at io.vertx.db2client.impl.drda.DRDAResponse.readDssHeader(DRDAResponse.java:878) ~[vertx-db2-client-4.3.2-SNAPSHOT.jar:4.3.2-SNAPSHOT]
at io.vertx.db2client.impl.drda.DRDAResponse.startSameIdChainParse(DRDAResponse.java:52) ~[vertx-db2-client-4.3.2-SNAPSHOT.jar:4.3.2-SNAPSHOT]
at io.vertx.db2client.impl.drda.DRDAQueryResponse.readDescribeInput(DRDAQueryResponse.java:81) ~[vertx-db2-client-4.3.2-SNAPSHOT.jar:4.3.2-SNAPSHOT]
at io.vertx.db2client.impl.drda.DRDAQueryResponse.readPrepareDescribeInputOutput(DRDAQueryResponse.java:53) ~[vertx-db2-client-4.3.2-SNAPSHOT.jar:4.3.2-SNAPSHOT]
at io.vertx.db2client.impl.codec.PrepareStatementCodec.decodePayload(PrepareStatementCodec.java:76) ~[vertx-db2-client-4.3.2-SNAPSHOT.jar:4.3.2-SNAPSHOT]
at io.vertx.db2client.impl.codec.DB2Decoder.decodePayload(DB2Decoder.java:79) ~[vertx-db2-client-4.3.2-SNAPSHOT.jar:4.3.2-SNAPSHOT]
This looks like a duplicate of #899, which is already a known intermittent issue.
Ah interesting.... but it's not intermittent for us. When we launch the build it happens every time
It also reappeared after that specific commit, I don't know if it can help. Anyway, I guess we can close this issue and we can comment on that one
Duplicates #899