Skip to content
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

missing placeholder of UndoLogManager #1164

Closed
1 task done
leizhiyuan opened this issue Jun 4, 2019 · 0 comments · Fixed by #1165
Closed
1 task done

missing placeholder of UndoLogManager #1164

leizhiyuan opened this issue Jun 4, 2019 · 0 comments · Fixed by #1165
Assignees
Labels
type: bug Category issues or prs related to bug.

Comments

@leizhiyuan
Copy link
Contributor

leizhiyuan commented Jun 4, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

Ⅱ. Describe what happened

If there is an exception, please attach the exception trace:

Caused by: java.sql.SQLException: Parameter index out of range (5 > number of parameters, which is 4).
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1094)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:997)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:983)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:928)
	at com.mysql.jdbc.PreparedStatement.checkBounds(PreparedStatement.java:3688)
	at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:3670)
	at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:3715)
	at com.mysql.jdbc.PreparedStatement.setInt(PreparedStatement.java:3659)
	at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_setInt(FilterChainImpl.java:3251)
	at com.alibaba.druid.filter.FilterAdapter.preparedStatement_setInt(FilterAdapter.java:1259)
	at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_setInt(FilterChainImpl.java:3248)
	at com.alibaba.druid.proxy.jdbc.PreparedStatementProxyImpl.setInt(PreparedStatementProxyImpl.java:386)
	at com.alibaba.druid.pool.DruidPooledPreparedStatement.setInt(DruidPooledPreparedStatement.java:315)
	at io.seata.rm.datasource.undo.UndoLogManager.insertUndoLog(UndoLogManager.java:358)
	at io.seata.rm.datasource.undo.UndoLogManager.insertUndoLogWithNormal(UndoLogManager.java:340)
	at io.seata.rm.datasource.undo.UndoLogManager.flushUndoLogs(UndoLogManager.java:117)
	at io.seata.rm.datasource.ConnectionProxy.processGlobalTransactionCommit(ConnectionProxy.java:184)
	... 46 more

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. xxx
  2. xxx
  3. xxx

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version :
  • OS :
  • Others:
@leizhiyuan leizhiyuan self-assigned this Jun 4, 2019
@leizhiyuan leizhiyuan added the bug label Jun 4, 2019
@wangliang181230 wangliang181230 added type: bug Category issues or prs related to bug. and removed bug labels Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Category issues or prs related to bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants