java.sql.SQLException

Invalid argument value, message from server: "Duplicate entry '0' for key 1"

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11940

  • via Atlassian JIRA by Ross Mason, 11 months ago
    Invalid argument value, message from server: "Duplicate entry '0' for key 1"
  • via Atlassian JIRA by Ross Mason, 1 year ago
    Invalid argument value, message from server: "Duplicate entry '0' for key 1"
  • via Oracle Community by 3004, 1 year ago
    Invalid argument value, message from server: "Duplicate entry '0' for key 1"
  • Stack trace

    • java.sql.SQLException: Invalid argument value, message from server: "Duplicate entry '0' for key 1" at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1905) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1109) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1203) at com.mysql.jdbc.Connection.execSQL(Connection.java:2090) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1680) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1527) at com.opensymphony.user.provider.jdbc.JDBCCredentialsProvider.create(JDBCCredentialsProvider.java:98) at bucket.user.providers.ChainedUserProvider.create(ChainedUserProvider.java:115) at bucket.user.providers.CachingCredentialsProvider.create(CachingCredentialsProvider.java:62) at com.opensymphony.user.UserManager.createEntity(UserManager.java:370) at com.opensymphony.user.UserManager.createUser(UserManager.java:242) at bucket.user.DefaultUserAccessor.addUser(DefaultUserAccessor.java:21) at com.atlassian.confluence.user.DefaultUserAccessor.addUser(DefaultUserAccessor.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 3 weeks ago
    Once, 1 month ago
    Once, 1 month ago
    2 times, 2 months ago
    4 times, 2 months ago
    42 more bugmates