java.sql.SQLException: Unable to run insert stmt on object me.confuser.banmanager.data.PlayerReportData@1f7f710d: INSERT INTO `bm_player_reports` (`player_id` ,`reason` ,`actor_id` ,`state_id` ,`assignee_id` ,`created` ,`updated` ) VALUES (?,?,?,?,?,?,?)

GitHub | Janunez | 4 months ago
  1. 0

    /report does not work for me

    GitHub | 4 months ago | Janunez
    java.sql.SQLException: Unable to run insert stmt on object me.confuser.banmanager.data.PlayerReportData@1f7f710d: INSERT INTO `bm_player_reports` (`player_id` ,`reason` ,`actor_id` ,`state_id` ,`assignee_id` ,`created` ,`updated` ) VALUES (?,?,?,?,?,?,?)
  2. 0

    How to re-run a job? - Spring Forum

    spring.io | 5 months ago
    org.springframework.dao.DuplicateKeyException: PreparedStatementCallback; SQL [INSERT into BATCH_JOB_INSTANCE(JOB_INSTANCE_ID, JOB_NAME, JOB_KEY, VERSION) values (?, ?, ?, ?)]; Duplicate entry '0' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '0' for key 'PRIMARY'
  3. 0

    Unable to synchronize data

    GitHub | 2 years ago | qiuDar
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '1' for key 'PRIMARY'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 388#138369445

    GitHub | 1 year ago | Legoman99573
    java.sql.SQLException: Unable to run insert stmt on object me.confuser.banmanager.data.PlayerData@1af3899: INSERT INTO `bm_players` (`id` ,`name` ,`ip` ,`lastSeen` ) VALUES (?,?,?,?)
  6. 0

    Error in Console

    GitHub | 10 months ago | Nico180902
    java.sql.SQLException: Unable to run insert stmt on object me.confuser.banmanager.data.PlayerBanData@4984ae10: INSERT INTO`bm_player_bans`(`player_id`,`reason`,`actor_id`,`created`,`updated`,`expires`) VALUES (?,?,?,?,?,?)

  1. DoktorDoener666 6 times, last 3 weeks ago
  2. mauritius 1 times, last 3 weeks ago
  3. mauritius 2 times, last 2 months ago
  4. dafman 6 times, last 2 months ago
  5. davidvanlaatum 4 times, last 2 months ago
11 more registered users
45 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException

    Column 'assignee_id' cannot be null

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  3. MySQL jdbc
    PreparedStatement.executeUpdate
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2. com.mysql.jdbc.Util.getInstance(Util.java:382)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    9. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    10. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
    11. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
    12. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
    12 frames
  4. me.confuser.banmanager
    ReportCommand$1.run
    1. me.confuser.banmanager.internal.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)
    2. me.confuser.banmanager.internal.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)
    3. me.confuser.banmanager.internal.ormlite.jdbc.JdbcDatabaseConnection.insert(JdbcDatabaseConnection.java:170)
    4. me.confuser.banmanager.internal.ormlite.stmt.mapped.MappedCreate.insert(MappedCreate.java:91)
    5. me.confuser.banmanager.internal.ormlite.stmt.StatementExecutor.create(StatementExecutor.java:450)
    6. me.confuser.banmanager.internal.ormlite.dao.BaseDaoImpl.create(BaseDaoImpl.java:310)
    7. me.confuser.banmanager.storage.PlayerReportStorage.report(PlayerReportStorage.java:55)
    8. me.confuser.banmanager.commands.ReportCommand$1.run(ReportCommand.java:126)
    8 frames
  5. org.bukkit.craftbukkit
    CraftAsyncTask.run
    1. org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
    2. org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    2 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames