java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'jiveUserProp_pk'. Cannot insert duplicate key in object 'jiveUserProp'.

JIRA | Gaston Dombiak | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    2005.05.04 21:43:55 [org.jivesoftware.messenger.user.User.insertProperty(User.java:400) ] java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'jiveUserProp_pk'. Cannot insert duplicate key in object 'jiveUserProp'. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source) at com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source) at com.microsoft.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source) at org.jivesoftware.messenger.user.User.insertProperty(User.java:397) at org.jivesoftware.messenger.user.User.access$300(User.java:39) at org.jivesoftware.messenger.user.User$PropertiesMap.put(User.java:306) at org.jivesoftware.messenger.spi.PresenceManagerImpl.saveLastUnavailablePresence(PresenceManagerImpl.java:191) at org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:117) at org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:150) at org.jivesoftware.messenger.PresenceRouter.handle(PresenceRouter.java:86) at org.jivesoftware.messenger.PresenceRouter.route(PresenceRouter.java:59) at org.jivesoftware.messenger.PacketRouter.route(PacketRouter.java:73) at org.jivesoftware.messenger.net.SocketReadThread.run(SocketReadThread.java:128)

    JIRA | 1 decade ago | Gaston Dombiak
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'jiveUserProp_pk'. Cannot insert duplicate key in object 'jiveUserProp'.
  2. 0

    2005.05.04 21:43:55 [org.jivesoftware.messenger.user.User.insertProperty(User.java:400) ] java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'jiveUserProp_pk'. Cannot insert duplicate key in object 'jiveUserProp'. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source) at com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source) at com.microsoft.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source) at org.jivesoftware.messenger.user.User.insertProperty(User.java:397) at org.jivesoftware.messenger.user.User.access$300(User.java:39) at org.jivesoftware.messenger.user.User$PropertiesMap.put(User.java:306) at org.jivesoftware.messenger.spi.PresenceManagerImpl.saveLastUnavailablePresence(PresenceManagerImpl.java:191) at org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:117) at org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:150) at org.jivesoftware.messenger.PresenceRouter.handle(PresenceRouter.java:86) at org.jivesoftware.messenger.PresenceRouter.route(PresenceRouter.java:59) at org.jivesoftware.messenger.PacketRouter.route(PacketRouter.java:73) at org.jivesoftware.messenger.net.SocketReadThread.run(SocketReadThread.java:128)

    Jive Software Open Source | 1 decade ago | Gaston Dombiak
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'jiveUserProp_pk'. Cannot insert duplicate key in object 'jiveUserProp'.
  3. 0

    2005.05.04 21:43:55 [org.jivesoftware.messenger.user.User.insertProperty(User.java:400) ] java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'jiveUserProp_pk'. Cannot insert duplicate key in object 'jiveUserProp'. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source) at com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source) at com.microsoft.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source) at org.jivesoftware.messenger.user.User.insertProperty(User.java:397) at org.jivesoftware.messenger.user.User.access$300(User.java:39) at org.jivesoftware.messenger.user.User$PropertiesMap.put(User.java:306) at org.jivesoftware.messenger.spi.PresenceManagerImpl.saveLastUnavailablePresence(PresenceManagerImpl.java:191) at org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:117) at org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:150) at org.jivesoftware.messenger.PresenceRouter.handle(PresenceRouter.java:86) at org.jivesoftware.messenger.PresenceRouter.route(PresenceRouter.java:59) at org.jivesoftware.messenger.PacketRouter.route(PacketRouter.java:73) at org.jivesoftware.messenger.net.SocketReadThread.run(SocketReadThread.java:128)

    JIRA | 1 decade ago | Gaston Dombiak
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'jiveUserProp_pk'. Cannot insert duplicate key in object 'jiveUserProp'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Read and store user info using PUMA

    Google Groups | 1 decade ago | karin.bj...@intentia.se
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cannot insert duplicate key row in object 'WMMLAATR' with unique index 'WMMI067'.
  6. 0

    Hibernate Community • View topic - Deadlocks with Optimistic Locking

    hibernate.org | 11 months ago
    javax.persistence.PersistenceException: org.hibernate.exception.LockAcquisitionException: could not update: [hibernatejpatest.Account#Acct 2]

    1 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. java.sql.SQLException

      [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'jiveUserProp_pk'. Cannot insert duplicate key in object 'jiveUserProp'.

      at com.microsoft.jdbc.base.BaseExceptions.createException()
    2. com.microsoft.jdbc
      BasePreparedStatement.executeUpdate
      1. com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
      2. com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
      3. com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
      4. com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
      5. com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
      6. com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
      7. com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
      8. com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
      9. com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
      10. com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
      11. com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
      12. com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
      13. com.microsoft.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
      13 frames
    3. org.jivesoftware.messenger
      SocketReadThread.run
      1. org.jivesoftware.messenger.user.User.insertProperty(User.java:397)
      2. org.jivesoftware.messenger.user.User.access$300(User.java:39)
      3. org.jivesoftware.messenger.user.User$PropertiesMap.put(User.java:306)
      4. org.jivesoftware.messenger.spi.PresenceManagerImpl.saveLastUnavailablePresence(PresenceManagerImpl.java:191)
      5. org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:117)
      6. org.jivesoftware.messenger.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:150)
      7. org.jivesoftware.messenger.PresenceRouter.handle(PresenceRouter.java:86)
      8. org.jivesoftware.messenger.PresenceRouter.route(PresenceRouter.java:59)
      9. org.jivesoftware.messenger.PacketRouter.route(PacketRouter.java:73)
      10. org.jivesoftware.messenger.net.SocketReadThread.run(SocketReadThread.java:128)
      10 frames