Guest User

Untitled

a guest
Dec 10th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "PRIMARY_KEY_14E ON PUBLIC.DEVICES(ID)"; SQL statement:
  2. INSERT INTO devices(id,name,last_sync) VALUES ('354781042067451','device',null); [23001-153]
  3. at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
  4. at org.h2.message.DbException.get(DbException.java:167)
  5. at org.h2.message.DbException.get(DbException.java:144)
  6. at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:80)
  7. at org.h2.index.PageBtree.find(PageBtree.java:121)
  8. at org.h2.index.PageBtreeLeaf.addRow(PageBtreeLeaf.java:146)
  9. at org.h2.index.PageBtreeLeaf.addRowTry(PageBtreeLeaf.java:100)
  10. at org.h2.index.PageBtreeIndex.addRow(PageBtreeIndex.java:93)
  11. at org.h2.index.PageBtreeIndex.add(PageBtreeIndex.java:84)
  12. at org.h2.table.RegularTable.addRow(RegularTable.java:127)
  13. at org.h2.command.dml.Insert.insertRows(Insert.java:126)
  14. at org.h2.command.dml.Insert.update(Insert.java:86)
  15. at org.h2.command.CommandContainer.update(CommandContainer.java:69)
  16. at org.h2.command.Command.executeUpdate(Command.java:212)
  17. at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
  18. at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
  19. at db.RemoteDataStore.addDeviceToDatabase(RemoteDataStore.java:492)
  20. at services.Discovery.ConnectedDeviceManager.deviceNegotiationCompletes(ConnectedDeviceManager.java:217)
  21. at services.Discovery.DeviceDiscoveryServer.fireDeviceNegotiationCompletes(DeviceDiscoveryServer.java:193)
  22. at services.Discovery.DeviceDiscoveryServer.access$1(DeviceDiscoveryServer.java:190)
  23. at services.Discovery.DeviceDiscoveryServer$ListeningServer.run(DeviceDiscoveryServer.java:281)
  24. at java.lang.Thread.run(Unknown Source)
  25. Exceptions.DatastoreException: Δεν ήταν δυνατή η προσθήκη της συσκευής null
  26. at db.RemoteDataStore.addDeviceToDatabase(RemoteDataStore.java:499)
  27. at services.Discovery.ConnectedDeviceManager.deviceNegotiationCompletes(ConnectedDeviceManager.java:217)
  28. at services.Discovery.DeviceDiscoveryServer.fireDeviceNegotiationCompletes(DeviceDiscoveryServer.java:193)
  29. at services.Discovery.DeviceDiscoveryServer.access$1(DeviceDiscoveryServer.java:190)
  30. at services.Discovery.DeviceDiscoveryServer$ListeningServer.run(DeviceDiscoveryServer.java:281)
  31. at java.lang.Thread.run(Unknown Source)
Add Comment
Please, Sign In to add comment