-
Notifications
You must be signed in to change notification settings - Fork 372
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
SQL Error [S1000]: arraycopy: last source index 128 out of bounds for byte[108] #2816
Comments
Hello @linguibin It would be beneficial to include a video demonstrating your actions. |
Hi, @kevinlin299 I wasn't able to reproduce the issue on my end. It might be worth checking if your database data is corrupted, as that could potentially be causing the error. If everything is okay with the database, could you please provide details on which database you are using, along with the driver and its version? What data format do you use in your columns? Additionally, if you try exporting the data in a different format, do you encounter the same issue? |
Hi @kevinlin299 |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here, e.g. error log.
SQL Error [S1000]: arraycopy: last source index 128 out of bounds for byte[108]
org.jkiss.dbeaver.model.sql.DBSQLException: SQL Error [S1000]: arraycopy: last source index 128 out of bounds for byte[108]
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:133)
at org.jkiss.dbeaver.model.sql.data.SQLQueryDataContainer.readData(SQLQueryDataContainer.java:134)
at io.cloudbeaver.service.sql.WebSQLQueryDataContainer.readData(WebSQLQueryDataContainer.java:107)
at org.jkiss.dbeaver.tools.transfer.database.DatabaseTransferProducer.lambda$0(DatabaseTransferProducer.java:270)
at org.jkiss.dbeaver.model.exec.DBExecUtils.tryExecuteRecover(DBExecUtils.java:194)
at org.jkiss.dbeaver.tools.transfer.database.DatabaseTransferProducer.transferData(DatabaseTransferProducer.java:187)
at io.cloudbeaver.service.data.transfer.impl.WebServiceDataTransfer.exportData(WebServiceDataTransfer.java:332)
at io.cloudbeaver.service.data.transfer.impl.WebServiceDataTransfer$1.run(WebServiceDataTransfer.java:186)
at io.cloudbeaver.model.session.WebSession$1.run(WebSession.java:742)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:115)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.sql.SQLException: arraycopy: last source index 128 out of bounds for byte[108]
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:767)
at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:652)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:330)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:131)
... 10 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 128 out of bounds for byte[108]
at java.base/java.lang.System.arraycopy(Native Method)
at com.mysql.cj.protocol.a.NativePacketPayload.readBytes(NativePacketPayload.java:576)
at com.mysql.cj.protocol.a.NativePacketPayload.readBytes(NativePacketPayload.java:525)
at com.mysql.cj.protocol.a.TextRowFactory.createFromMessage(TextRowFactory.java:65)
at com.mysql.cj.protocol.a.TextRowFactory.createFromMessage(TextRowFactory.java:42)
at com.mysql.cj.protocol.a.ResultsetRowReader.read(ResultsetRowReader.java:87)
at com.mysql.cj.protocol.a.ResultsetRowReader.read(ResultsetRowReader.java:42)
at com.mysql.cj.protocol.a.NativeProtocol.read(NativeProtocol.java:1648)
at com.mysql.cj.protocol.a.TextResultsetReader.read(TextResultsetReader.java:86)
at com.mysql.cj.protocol.a.TextResultsetReader.read(TextResultsetReader.java:48)
at com.mysql.cj.protocol.a.NativeProtocol.read(NativeProtocol.java:1661)
at com.mysql.cj.protocol.a.NativeProtocol.readAllResults(NativeProtocol.java:1713)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:1063)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:997)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:658)
at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:727)
... 13 more
The text was updated successfully, but these errors were encountered: