Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "PRIMARY_KEY_14E ON PUBLIC.DEVICES(ID)"; SQL statement:
- INSERT INTO devices(id,name,last_sync) VALUES ('354781042067451','device',null); [23001-153]
- at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
- at org.h2.message.DbException.get(DbException.java:167)
- at org.h2.message.DbException.get(DbException.java:144)
- at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:80)
- at org.h2.index.PageBtree.find(PageBtree.java:121)
- at org.h2.index.PageBtreeLeaf.addRow(PageBtreeLeaf.java:146)
- at org.h2.index.PageBtreeLeaf.addRowTry(PageBtreeLeaf.java:100)
- at org.h2.index.PageBtreeIndex.addRow(PageBtreeIndex.java:93)
- at org.h2.index.PageBtreeIndex.add(PageBtreeIndex.java:84)
- at org.h2.table.RegularTable.addRow(RegularTable.java:127)
- at org.h2.command.dml.Insert.insertRows(Insert.java:126)
- at org.h2.command.dml.Insert.update(Insert.java:86)
- at org.h2.command.CommandContainer.update(CommandContainer.java:69)
- at org.h2.command.Command.executeUpdate(Command.java:212)
- at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
- at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
- at db.RemoteDataStore.addDeviceToDatabase(RemoteDataStore.java:492)
- at services.Discovery.ConnectedDeviceManager.deviceNegotiationCompletes(ConnectedDeviceManager.java:217)
- at services.Discovery.DeviceDiscoveryServer.fireDeviceNegotiationCompletes(DeviceDiscoveryServer.java:193)
- at services.Discovery.DeviceDiscoveryServer.access$1(DeviceDiscoveryServer.java:190)
- at services.Discovery.DeviceDiscoveryServer$ListeningServer.run(DeviceDiscoveryServer.java:281)
- at java.lang.Thread.run(Unknown Source)
- Exceptions.DatastoreException: Δεν ήταν δυνατή η προσθήκη της συσκευής null
- at db.RemoteDataStore.addDeviceToDatabase(RemoteDataStore.java:499)
- at services.Discovery.ConnectedDeviceManager.deviceNegotiationCompletes(ConnectedDeviceManager.java:217)
- at services.Discovery.DeviceDiscoveryServer.fireDeviceNegotiationCompletes(DeviceDiscoveryServer.java:193)
- at services.Discovery.DeviceDiscoveryServer.access$1(DeviceDiscoveryServer.java:190)
- at services.Discovery.DeviceDiscoveryServer$ListeningServer.run(DeviceDiscoveryServer.java:281)
- at java.lang.Thread.run(Unknown Source)
Add Comment
Please, Sign In to add comment