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

refreshRow() called on row that has been deleted or had primary key changed (CanaryMod#152) #94

Open
darkdiplomat opened this issue Feb 7, 2015 · 0 comments

Comments

@darkdiplomat
Copy link
Member

In some cases the canary database is modified outside of minecraft (modifying player permissions etc); occasionally when that happens this exception is thrown in the console.

[SERVER] 2014-12-18 20:22:35 [ERROR] refreshRow() called on row that has been deleted or had primary key changed.
[SERVER] java.sql.SQLException: refreshRow() called on row that has been deleted or had primary key changed.
[SERVER]        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1074) ~[CanaryMod-1.7.10-1.1.3-20141119.185316-43-shaded.jar:1.7.10-1.1.3-SNAPSHOT]
[SERVER]        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:988) ~[CanaryMod-1.7.10-1.1.3-20141119.185316-43-shaded.jar:1.7.10-1.1.3-SNAPSHOT]
[SERVER]        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:974) ~[CanaryMod-1.7.10-1.1.3-20141119.185316-43-shaded.jar:1.7.10-1.1.3-SNAPSHOT]
[SERVER]        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919) ~[CanaryMod-1.7.10-1.1.3-20141119.185316-43-shaded.jar:1.7.10-1.1.3-SNAPSHOT]
[SERVER]        at com.mysql.jdbc.UpdatableResultSet.refreshRow(UpdatableResultSet.java:1388) ~[CanaryMod-1.7.10-1.1.3-20141119.185316-43-shaded.jar:1.7.10-1.1.3-SNAPSHOT]
[SERVER]        at com.mysql.jdbc.UpdatableResultSet.refreshRow(UpdatableResultSet.java:1306) ~[CanaryMod-1.7.10-1.1.3-20141119.185316-43-shaded.jar:1.7.10-1.1.3-SNAPSHOT]
[SERVER]        at com.mysql.jdbc.UpdatableResultSet.updateRow(UpdatableResultSet.java:2405) ~[CanaryMod-1.7.10-1.1.3-20141119.185316-43-shaded.jar:1.7.10-1.1.3-SNAPSHOT]
[SERVER]        at com.mchange.v2.c3p0.impl.NewProxyResultSet.updateRow(NewProxyResultSet.java:1958) ~[CanaryMod-1.7.10-1.1.3-20141119.185316-43-shaded.jar:1.7.10-1.1.3-SNAPSHOT]
[SERVER]        at net.canarymod.database.mysql.MySQLDatabase.update(MySQLDatabase.java:118) [CanaryMod-1.7.10-1.1.3-20141119.185316-43-shaded.jar:1.7.10-1.1.3-SNAPSHOT]
[SERVER]        at net.canarymod.backbone.BackbonePermissions.updatePermission(BackbonePermissions.java:370) [CanaryMod-1.7.10-1.1.3-20141119.185316-43-shaded.jar:1.7.10-1.1.3-SNAPSHOT]
[SERVER]        at net.canarymod.backbone.BackbonePermissions.addPermission(BackbonePermissions.java:312) [CanaryMod-1.7.10-1.1.3-20141119.185316-43-shaded.jar:1.7.10-1.1.3-SNAPSHOT]

Originally posted as CanaryModTeam/CanaryMod#152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant