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

Database error on 23.0 RC1: table co_skull has no column named skin #653

Open
MoiraPrime opened this issue Oct 3, 2024 · 1 comment
Open

Comments

@MoiraPrime
Copy link

After upgrading to CE 23.0 RC1, my server started spamming the following errors into my console after the server was idle for about 45 minutes. For context, I've only ever used release versions of the server and have never compiled the plugin myself.

org.sqlite.SQLiteException: [SQLITE_ERROR]: SQL error or missing database (table co_skull has no column named skin) at org.sqlite.core.DB.newSQLException(DB.java:1179) at org.sqlite.core.DB.newSQLException(DB.java:1190) at org.sqlite.core.DB.throwex(DB.java:1150) at org.sqlite.core.NativeDB.prepare_utf8(Native Method) at org.sqlite.core.NativeDB.prepare(NativeDB.java:132) at org.sqlite.core.DB.prepare(DB.java:264) at org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:46) at org.sqlite.jdbc3.JDBC3PreparedStatement.<init>(JDBC3PreparedStatement.java:32) at org.sqlite.jdbc4.JDBC4PreparedStatement.<init>(JDBC4PreparedStatement.java:25) at org.sqlite.jdbc4.JDBC4Connection.prepareStatement(JDBC4Connection.java:34) at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:225) at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:205) at CoreProtect-CE-23.0-RC1.jar//net.coreprotect.database.Database.prepareStatement(Database.java:294) at CoreProtect-CE-23.0-RC1.jar//net.coreprotect.database.Database.prepareStatement(Database.java:245) at CoreProtect-CE-23.0-RC1.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:113) at CoreProtect-CE-23.0-RC1.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133) at java.base/java.lang.Thread.run(Thread.java:1583) java.lang.NullPointerException: Cannot invoke "java.sql.PreparedStatement.executeBatch()" because "preparedStmtSkulls" is null at CoreProtect-CE-23.0-RC1.jar//net.coreprotect.consumer.process.Process.commit(Process.java:294) at CoreProtect-CE-23.0-RC1.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:258) at CoreProtect-CE-23.0-RC1.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133) at java.base/java.lang.Thread.run(Thread.java:1583) java.lang.NullPointerException: Cannot invoke "java.sql.PreparedStatement.close()" because "preparedStmtSkulls" is null at CoreProtect-CE-23.0-RC1.jar//net.coreprotect.consumer.process.Process.processConsumer(Process.java:263) at CoreProtect-CE-23.0-RC1.jar//net.coreprotect.consumer.Consumer.run(Consumer.java:133) at java.base/java.lang.Thread.run(Thread.java:1583)

@MoiraPrime MoiraPrime changed the title org.sqlite.SQLiteException: [SQLITE_ERROR]: SQL error or missing database (table co_skull has no column named skin) Database error on 23.0 RC1: table co_skull has no column named skin Oct 3, 2024
@Intelli
Copy link
Contributor

Intelli commented Oct 4, 2024

Fixed here: eaa8c5c

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

No branches or pull requests

2 participants