com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'player' at row 1

GitHub | oloflarsson | 4 months ago
  1. 0

    Data truncation: Data too long for column 'player' at row 1

    GitHub | 4 months ago | oloflarsson
    com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'player' at row 1
  2. 0
    Change the column encoding from utf8 to utf8mb4. This encoding allows storage of characters that occupy 4 bytes in UTF-8.
  3. 0

    Java- com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column

    Stack Overflow | 4 months ago | bramhaag
    com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'uuid' at row 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jpa error on production logs

    GitHub | 11 months ago | arnaudruffin
    org.springframework.orm.jpa.JpaSystemException: org.hibernate.exception.DataException: could not execute statement; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.DataException: could not execute statement
  6. 0

    MyPet Premium 2.1.4 MySQL error

    GitHub | 6 months ago | andris155
    com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect string value: '\xC5\x90rsze...' for column 'name' at row 1
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.MysqlDataTruncation

    Data truncation: Data too long for column 'player' at row 1

    at com.mysql.jdbc.MysqlIO.checkErrorPacket()
  2. MySQL jdbc
    PreparedStatement.executeUpdate
    1. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3868)
    2. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3806)
    3. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2470)
    4. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2617)
    5. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2550)
    6. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)
    7. com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2073)
    8. com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2009)
    9. com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5094)
    10. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1994)
    10 frames
  3. HikariCP-java6
    HikariProxyPreparedStatement.executeUpdate
    1. com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)
    2. com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)
    2 frames
  4. uk.co.oliwali
    Consumer.run
    1. uk.co.oliwali.HawkEye.database.DataManager.getKeyId(DataManager.java:150)
    2. uk.co.oliwali.HawkEye.database.Consumer.run(Consumer.java:83)
    2 frames
  5. org.bukkit.craftbukkit
    CraftAsyncTask.run
    1. org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:58)
    2. org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    2 frames
  6. com.destroystokyo.paper
    ServerSchedulerReportingWrapper.run
    1. com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames