java.sql.SQLException: Field 'Locked' doesn't have a default value

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via spigotmc.org by Unknown author, 1 year ago
via GitHub by anjia0532
, 11 months ago
Incorrect string value: '\xF0\x9F\x92\x94' for column 'xxx' at row 1
via Stack Overflow by Buffalo
, 2 weeks ago
Incorrect string value: '\xDF\x9A...' for column 'path' at row 1
via wordpress.com by Unknown author, 1 year ago
via Stack Overflow by kris14an
, 2 years ago
Incorrect string value: '\xB3\xF3\xBF\xBC\xE6\xBF...' for column 'content' at row 1
via wordpress.com by Unknown author, 2 years ago
Incorrect string value: '\xCF\x82 \xCE\xBC\xCE...' for column 'body' at row 1
java.sql.SQLException: Field 'Locked' doesn't have a default value
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1662)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1581)
at com.mengcraft.playersql.PUtils.loadPlayer(PUtils.java:150)
at com.mengcraft.playersql.PlayerJoinThread.run(PMain.java:143)

Users with the same issue

Once, 2 days ago
5 times, 3 days ago
Once, 6 days ago
4 times, 1 week ago
77 times, 2 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.