Zitat geschrieben von willow
Der Fehler ist bekannt und trat nur bei Verwendung der Nightly-Builds zusammen mit MySQL (also nicht in der normalen Standalone-Version von Hibiscus mit interner H2-Datenbank) auf. Und das auch nur mit den Nightly-Builds zwischen 26.11. und 09.12.
...
gleiche Meldung übrigens auch Postbank aber anderer Fehler:
Code
error while writing protocol
java.rmi.RemoteException: insert failed, rollback successful; nested exception is:
org.h2.jdbc.JdbcSQLException: Eindeutiger Index oder Primarschlüssel verletzt: PRIMARY_KEY_8 ON PUBLIC.PROTOKOLL(ID)
Unique index or primary key violation: PRIMARY_KEY_8 ON PUBLIC.PROTOKOLL(ID); SQL statement:
insert into PROTOKOLL (KONTO_ID,KOMMENTAR,TYP,DATUM) values (?,?,?,?) [23001-118]
at de.willuhn.datasource.db.AbstractDBObject.insert(AbstractDBObject.java:637)
at de.willuhn.datasource.db.AbstractDBObject.store(AbstractDBObject.java:303)
at de.willuhn.jameica.hbci.server.ProtokollImpl.store(ProtokollImpl.java:65)
at de.willuhn.jameica.hbci.server.KontoImpl.addToProtokoll(KontoImpl.java:585)
at de.willuhn.jameica.hbci.server.hbci.HBCISaldoJob.markExecuted(HBCISaldoJob.java:103)
at de.willuhn.jameica.hbci.server.hbci.AbstractHBCIJob.handleResult(AbstractHBCIJob.java:157)
at de.willuhn.jameica.hbci.server.hbci.HBCIFactory$Worker.run(HBCIFactory.java:565)
at de.willuhn.jameica.gui.GUI$4.run(GUI.java:828)
Caused by: org.h2.jdbc.JdbcSQLException: Eindeutiger Index oder Primarschlüssel verletzt: PRIMARY_KEY_8 ON PUBLIC.PROTOKOLL(ID)
Unique index or primary key violation: PRIMARY_KEY_8 ON PUBLIC.PROTOKOLL(ID); SQL statement:
insert into PROTOKOLL (KONTO_ID,KOMMENTAR,TYP,DATUM) values (?,?,?,?) [23001-118]
at org.h2.message.Message.getSQLException(Message.java:105)
at org.h2.message.Message.getSQLException(Message.java:116)
at org.h2.message.Message.getSQLException(Message.java:75)
at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:154)
at org.h2.index.BtreeLeaf.add(BtreeLeaf.java:65)
at org.h2.index.BtreeNode.add(BtreeNode.java:104)
at org.h2.index.BtreeNode.add(BtreeNode.java:104)
at org.h2.index.BtreeIndex.add(BtreeIndex.java:228)
at org.h2.table.TableData.addRow(TableData.java:125)
at org.h2.command.dml.Insert.update(Insert.java:100)
at org.h2.command.CommandContainer.update(CommandContainer.java:72)
at org.h2.command.Command.executeUpdate(Command.java:208)
at org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:176)
at de.willuhn.datasource.db.AbstractDBObject.insert(AbstractDBObject.java:617)
... 7 more
Jameica 1.9.0
Hibiscus 1.11.0
Hab übrigens auch nen Fehler bei der Suche:
Fehler beim Anzeigen des Suchergebnisses seit der neuen Versionen:
Code
Fehler beim Anzeigen des Suchergebnisses: unable to init iterator. statement: prep490: select * from SUEBERWEISUNGBUCHUNG where LOWER(zweck) LIKE ? OR LOWER(zweck2) LIKE ? OR LOWER(zweck3) LIKE ? OR LOWER(gegenkonto_name) LIKE ? OR gegenkonto_nr LIKE ? OR gegenkonto_blz LIKE ? {1: '%testr%', 2: '%testr%', 3: '%testr%', 4: '%testr%', 5: '%testr%', 6: '%testr%'};; nested exception is:
org.h2.jdbc.JdbcSQLException: Allgemeiner Fehler: java.lang.RuntimeException: File ID mismatch got=287 expected=229 pos=47104 true org.h2.store.DiskFile:\\serveregal\pfad-zu-egal\hibiscus\h2db\hibiscus.data.db blockCount:2
General error: java.lang.RuntimeException: File ID mismatch got=287 expected=229 pos=47104 true org.h2.store.DiskFile:\\serveregal\pfad-zu-egal\hibiscus\h2db\hibiscus.data.db blockCount:2; SQL statement:
select * from SUEBERWEISUNGBUCHUNG where LOWER(zweck) LIKE ? OR LOWER(zweck2) LIKE ? OR LOWER(zweck3) LIKE ? OR LOWER(gegenkonto_name) LIKE ? OR gegenkonto_nr LIKE ? OR gegenkonto_blz LIKE ? [50000-118]