New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting a "org.springframework.data.mapping.MappingException: Couldn't read column id from Row" exception, caused by "io.netty.util.IllegalReferenceCountException: refCnt: 0" or by "java.lang.IndexOutOfBoundsException: readerIndex(93) + length(1) exceeds writerIndex(93): PooledSlicedByteBuf(ridx: 93, widx: 93, cap: 93/93, unwrapped: PooledUnsafeDirectByteBuf(freed))" when reading a table with more than 32 rows #7
Comments
|
Any update on that? |
|
It seems the filebin link is wrong, Could you repost the project ? |
|
Reading code, I've not seen any issue that can lead to this error. |
|
Hi @rusher thanks for your interest on this bug. I updated my post with the new link. Please check it out |
|
thanks. I imagine you've populated table Information with some data. Could you export the table data and indicate the exact server version? |
|
ok, reproduced now. |
|
I was dumping data, thanks 👍 |
Issue is that connector handle backpressure incorrectly, resulting possibility that data might be release before client has time to use it. Correction is that the rows data are released only when used or error is thrown.
|
thanks for the project that reproduced the issue. and will soon be released |
|
Glad to know! I will test as soon as possible |
|
I was trying to update my dependency but I receive this error: |
|
hm, maybe just bad configuration on pom.xml ? then run |
|
Thanks for your answer. Nothing with that 👍 Just my IntelliJ configuration wrong. I fixed with Preferences > Maven > Work offline |
|
@rusher I'm having similar issue with version I couldn't get to the bottom of this yet but I get It happens in line because reference count of Sadly I'm seeing that it doesn't happen when I slow down the application (using profiler for example). Race condition somewhere? |
Hello, everyone.
I am experiencing an error when I try to read a table in a MySQL database containing more than 32 rows. Up to 32 everything works correctly. Error as in the title.
Expected Behavior
More than 32 rows should be handled correctly
Actual Behavior
I happened to observe these two exceptions (sometimes the first, sometimes the latter):
Steps to Reproduce
I created a minimal reproducible project that can be downloaded:
https://filebin.net/ok553zxmnqnrflbj
MySQL DDL:
Insert 33 rows through:
insert into Information (start, end, description) values (now(), now(), 'Something');an error occurs, remove now a row, no error
Workaround
Set a groupBy followed by a flatMap:
Environment
Spring Boot: 2.4.0
JVM version (
java -version):java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
OS and version (eg.
uname -a):Darwin MyPC 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64
The text was updated successfully, but these errors were encountered: