Sign in to follow this  

Players Permissions Histories Error

Recommended Posts

Dev's.   Might be something you want to look at.    A bit of cleanup needed here. 


[09:47:42 AM] WARNING com.wurmonline.server.players.PermissionsHistories: Failed to add permissions history for object (16617855237380)
java.sql.SQLException: [SQLITE_CONSTRAINT]  Abort due to constraint violation (NOT NULL constraint failed: PERMISSIONSHISTORY.PK)
    at org.sqlite.core.DB.newSQLException(
    at org.sqlite.core.DB.newSQLException(
    at org.sqlite.core.DB.execute(
    at org.sqlite.core.DB.executeUpdate(
    at org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(
    at com.wurmonline.server.players.PermissionsHistories.dbAddHistoryEvent(
    at com.wurmonline.server.players.PermissionsHistories.addHistoryEntry(
    at com.wurmonline.server.questions.ManagePermissions.answer(
    at com.wurmonline.server.creatures.Communicator.reallyHandle_CMD_PERMISSIONS(
    at com.wurmonline.server.creatures.Communicator.reallyHandle(
    at com.wurmonline.communication.SocketConnection.tick(
    at com.wurmonline.communication.SocketServer.tick(
    at java.util.TimerThread.mainLoop(Unknown Source)
    at Source)

Share this post

Link to post
Share on other sites


Added: Looks like it was fixed in adventure database template, but still borked in creative.


@devs - PERMISSIONSHISTORY.PK should set as a primary key, it's current'y isn't.

Edited by bdew
  • Like 1

Share this post

Link to post
Share on other sites

Fix still works.   Thanks bdew.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this