Fehler beim Wechsel von Linux Mint zu Windows
Verfasst: Donnerstag 11. März 2021, 14:18
Hallo,
mein Linuxrechner kommt stark in die Jahre. Hier läuft unsere Clubverwaltung und ich wollte diese nun gerne zum neuen Windows PC umziehen. Nach einspielen des Backups sind die Mitglieder leider nicht da.
Es ist ein unerwarteter Fehler aufgetreten:
Weiß jemand Rat?
de.willuhn.jameica.system.JameicaException: MitgliederSucheView kann nicht erstellt werden: connection to database.jdbc:h2:C:\Users\janlu\.jameica\jverein/h2db/jverein failed; nested exception is:
org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Eindeutiger Index oder Primärschlüssel verletzt: "PRIMARY KEY ON """".PAGE_INDEX"
Unique index or primary key violation: "PRIMARY KEY ON """".PAGE_INDEX"; SQL statement:
ALTER TABLE PUBLIC.ANFANGSBESTAND ADD CONSTRAINT PUBLIC.FKANFANGSBESTAND1 FOREIGN KEY(KONTO) REFERENCES PUBLIC.KONTO(ID) NOCHECK [23505-199]
at de.willuhn.jameica.services.BeanService.get(BeanService.java:186)
at de.willuhn.jameica.gui.GUI.startView(GUI.java:532)
at de.willuhn.jameica.gui.GUI.startView(GUI.java:569)
at de.jost_net.JVerein.gui.action.MitgliedSucheAction.handleAction(MitgliedSucheAction.java:29)
at de.willuhn.jameica.gui.Navigation.start(Navigation.java:371)
at de.willuhn.jameica.gui.Navigation.access$500(Navigation.java:47)
at de.willuhn.jameica.gui.Navigation$MyActionListener.handleEvent(Navigation.java:466)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4195)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1037)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3612)
at de.willuhn.jameica.gui.GUI.loop(GUI.java:928)
at de.willuhn.jameica.gui.GUI.init(GUI.java:331)
at de.willuhn.jameica.system.Application.init(Application.java:145)
at de.willuhn.jameica.system.Application.newInstance(Application.java:87)
at de.willuhn.jameica.Main.main(Main.java:75)
mein Linuxrechner kommt stark in die Jahre. Hier läuft unsere Clubverwaltung und ich wollte diese nun gerne zum neuen Windows PC umziehen. Nach einspielen des Backups sind die Mitglieder leider nicht da.
Es ist ein unerwarteter Fehler aufgetreten:
Weiß jemand Rat?
de.willuhn.jameica.system.JameicaException: MitgliederSucheView kann nicht erstellt werden: connection to database.jdbc:h2:C:\Users\janlu\.jameica\jverein/h2db/jverein failed; nested exception is:
org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Eindeutiger Index oder Primärschlüssel verletzt: "PRIMARY KEY ON """".PAGE_INDEX"
Unique index or primary key violation: "PRIMARY KEY ON """".PAGE_INDEX"; SQL statement:
ALTER TABLE PUBLIC.ANFANGSBESTAND ADD CONSTRAINT PUBLIC.FKANFANGSBESTAND1 FOREIGN KEY(KONTO) REFERENCES PUBLIC.KONTO(ID) NOCHECK [23505-199]
at de.willuhn.jameica.services.BeanService.get(BeanService.java:186)
at de.willuhn.jameica.gui.GUI.startView(GUI.java:532)
at de.willuhn.jameica.gui.GUI.startView(GUI.java:569)
at de.jost_net.JVerein.gui.action.MitgliedSucheAction.handleAction(MitgliedSucheAction.java:29)
at de.willuhn.jameica.gui.Navigation.start(Navigation.java:371)
at de.willuhn.jameica.gui.Navigation.access$500(Navigation.java:47)
at de.willuhn.jameica.gui.Navigation$MyActionListener.handleEvent(Navigation.java:466)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4195)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1037)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3612)
at de.willuhn.jameica.gui.GUI.loop(GUI.java:928)
at de.willuhn.jameica.gui.GUI.init(GUI.java:331)
at de.willuhn.jameica.system.Application.init(Application.java:145)
at de.willuhn.jameica.system.Application.newInstance(Application.java:87)
at de.willuhn.jameica.Main.main(Main.java:75)