I get this error when running the bat file on windows.
2018-02-18 13:49:45 SEVERE: Errors running startup tasks:
org.h2.jdbc.JdbcSQLException: Eindeutiger Index oder Primärschlüssel verletzt: "BLOCK_ID_IDX ON PUBLIC.BLOCK(ID) VALUES ( /* 34 */ 8685496526154093368 )"
Unique index or primary key violation: "BLOCK_ID_IDX ON PUBLIC.BLOCK(ID) VALUES ( /* 34 */ 8685496526154093368 )"; SQL statement:
INSERT INTO block (id, version, timestamp, previous_block_id, total_amount, total_fee, payload_length, previous_block_hash, next_block_id, cumulative_difficulty, base_target, height, generation_signature, block_signature, payload_hash, generator_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23505-196]
java.lang.RuntimeException: Errors running startup tasks:
org.h2.jdbc.JdbcSQLException: Eindeutiger Index oder Primärschlüssel verletzt: "BLOCK_ID_IDX ON PUBLIC.BLOCK(ID) VALUES ( /* 34 */ 8685496526154093368 )"
Unique index or primary key violation: "BLOCK_ID_IDX ON PUBLIC.BLOCK(ID) VALUES ( /* 34 */ 8685496526154093368 )"; SQL statement:
INSERT INTO block (id, version, timestamp, previous_block_id, total_amount, total_fee, payload_length, previous_block_hash, next_block_id, cumulative_difficulty, base_target, height, generation_signature, block_signature, payload_hash, generator_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23505-196]
1) Can you public the nxt.log?
2) Delete DIRA folders in Users/AppData/Roaming and try again