Nach einem Update von Jameica 2.8.4 auf 2.8.6 kann ich die Datenbank nicht mehr ansprechen. Das Hibiscus-Plugin hat die Version 2.8.26, mit der Hibiscus-Version 2.8.14 trat das Problem aber auch auf. Mit der parallel noch vorhandenen Jameica-Version 2.8.4 klappt es aber weiterhin.
Das Problem besteht sogar, wenn ich den .jameica-Ordner komplett leere und (mit Jameica 2.8.6) eine neue DB anlege. Mit Jameica 2.8.6 kann ich die anschließend nicht öffnen, mit Jameica 2.8.4 aber schon.
Xubuntu 16.04
"java -version" ergibt:
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)
Hier ein Auszug aus dem Stacktrace in der Konsole:
General error: "java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.byteArrayViewVarHandle(Ljava/lang/Class;Ljava/nio/ByteOrder;)Ljava/lang/invoke/VarHandle;" [50000-199]
[Sat Oct 17 13:11:14 CEST 2020][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run] Installiere Hibiscus ...
[Sat Oct 17 13:11:14 CEST 2020][INFO][main][de.willuhn.datasource.db.DBServiceImpl.createConnection] creating new connection
[Sat Oct 17 13:11:14 CEST 2020][WARN][pool-1-thread-1][de.willuhn.jameica.services.BackupService$Consumer.handleMessage] detected error: java.rmi.RemoteException: connection to database.jdbc:h2:/mnt/.../Jameica/hibiscus/h2db/hibiscus;CIPHER=XTEA failed; nested exception is:
org.h2.jdbc.JdbcSQLNonTransientException: Allgemeiner Fehler: "java.lang.NoClassDefFoundError: Could not initialize class org.h2.util.Bits"
General error: "java.lang.NoClassDefFoundError: Could not initialize class org.h2.util.Bits" [50000-199]
[Sat Oct 17 13:11:14 CEST 2020][ERROR][main][de.willuhn.jameica.hbci.server.HBCIDBServiceImpl.checkConsistency] unable to recreate database
java.rmi.RemoteException: connection to database.jdbc:h2:/mnt/.../Jameica/hibiscus/h2db/hibiscus;CIPHER=XTEA failed; nested exception is:
org.h2.jdbc.JdbcSQLNonTransientException: Allgemeiner Fehler: "java.lang.NoClassDefFoundError: Could not initialize class org.h2.util.Bits"
General error: "java.lang.NoClassDefFoundError: Could not initialize class org.h2.util.Bits" [50000-199]
at de.willuhn.datasource.db.DBServiceImpl.createConnection(DBServiceImpl.java:181)
at de.willuhn.datasource.db.DBServiceImpl.getConnection(DBServiceImpl.java:124)
at de.willuhn.jameica.hbci.server.HBCIDBServiceImpl.getConnection(HBCIDBServiceImpl.java:217)
at de.willuhn.jameica.hbci.server.HBCIDBServiceImpl.install(HBCIDBServiceImpl.java:341)
at de.willuhn.jameica.hbci.server.HBCIDBServiceImpl.checkConsistency(HBCIDBServiceImpl.java:155)
at de.willuhn.jameica.hbci.HBCI$1.call(HBCI.java:111)
at de.willuhn.jameica.hbci.HBCI.call(HBCI.java:359)
at de.willuhn.jameica.hbci.HBCI.init(HBCI.java:107)
at de.willuhn.jameica.plugin.PluginLoader.initPlugin(PluginLoader.java:395)
at de.willuhn.jameica.plugin.PluginLoader.init(PluginLoader.java:240)
at de.willuhn.jameica.services.PluginService.init(PluginService.java:39)
at de.willuhn.boot.BootLoader.resolve(BootLoader.java:139)
at de.willuhn.boot.BootLoader.resolve(BootLoader.java:119)
at de.willuhn.boot.BootLoader.getBootable(BootLoader.java:70)
at de.willuhn.jameica.system.Application.init(Application.java:103)
at de.willuhn.jameica.system.Application.newInstance(Application.java:87)
at de.willuhn.jameica.Main.main(Main.java:75)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Allgemeiner Fehler: "java.lang.NoClassDefFoundError: Could not initialize class org.h2.util.Bits"
General error: "java.lang.NoClassDefFoundError: Could not initialize class org.h2.util.Bits" [50000-199]
Das Problem besteht sogar, wenn ich den .jameica-Ordner komplett leere und (mit Jameica 2.8.6) eine neue DB anlege. Mit Jameica 2.8.6 kann ich die anschließend nicht öffnen, mit Jameica 2.8.4 aber schon.
Xubuntu 16.04
"java -version" ergibt:
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)
Hier ein Auszug aus dem Stacktrace in der Konsole:
General error: "java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.byteArrayViewVarHandle(Ljava/lang/Class;Ljava/nio/ByteOrder;)Ljava/lang/invoke/VarHandle;" [50000-199]
[Sat Oct 17 13:11:14 CEST 2020][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run] Installiere Hibiscus ...
[Sat Oct 17 13:11:14 CEST 2020][INFO][main][de.willuhn.datasource.db.DBServiceImpl.createConnection] creating new connection
[Sat Oct 17 13:11:14 CEST 2020][WARN][pool-1-thread-1][de.willuhn.jameica.services.BackupService$Consumer.handleMessage] detected error: java.rmi.RemoteException: connection to database.jdbc:h2:/mnt/.../Jameica/hibiscus/h2db/hibiscus;CIPHER=XTEA failed; nested exception is:
org.h2.jdbc.JdbcSQLNonTransientException: Allgemeiner Fehler: "java.lang.NoClassDefFoundError: Could not initialize class org.h2.util.Bits"
General error: "java.lang.NoClassDefFoundError: Could not initialize class org.h2.util.Bits" [50000-199]
[Sat Oct 17 13:11:14 CEST 2020][ERROR][main][de.willuhn.jameica.hbci.server.HBCIDBServiceImpl.checkConsistency] unable to recreate database
java.rmi.RemoteException: connection to database.jdbc:h2:/mnt/.../Jameica/hibiscus/h2db/hibiscus;CIPHER=XTEA failed; nested exception is:
org.h2.jdbc.JdbcSQLNonTransientException: Allgemeiner Fehler: "java.lang.NoClassDefFoundError: Could not initialize class org.h2.util.Bits"
General error: "java.lang.NoClassDefFoundError: Could not initialize class org.h2.util.Bits" [50000-199]
at de.willuhn.datasource.db.DBServiceImpl.createConnection(DBServiceImpl.java:181)
at de.willuhn.datasource.db.DBServiceImpl.getConnection(DBServiceImpl.java:124)
at de.willuhn.jameica.hbci.server.HBCIDBServiceImpl.getConnection(HBCIDBServiceImpl.java:217)
at de.willuhn.jameica.hbci.server.HBCIDBServiceImpl.install(HBCIDBServiceImpl.java:341)
at de.willuhn.jameica.hbci.server.HBCIDBServiceImpl.checkConsistency(HBCIDBServiceImpl.java:155)
at de.willuhn.jameica.hbci.HBCI$1.call(HBCI.java:111)
at de.willuhn.jameica.hbci.HBCI.call(HBCI.java:359)
at de.willuhn.jameica.hbci.HBCI.init(HBCI.java:107)
at de.willuhn.jameica.plugin.PluginLoader.initPlugin(PluginLoader.java:395)
at de.willuhn.jameica.plugin.PluginLoader.init(PluginLoader.java:240)
at de.willuhn.jameica.services.PluginService.init(PluginService.java:39)
at de.willuhn.boot.BootLoader.resolve(BootLoader.java:139)
at de.willuhn.boot.BootLoader.resolve(BootLoader.java:119)
at de.willuhn.boot.BootLoader.getBootable(BootLoader.java:70)
at de.willuhn.jameica.system.Application.init(Application.java:103)
at de.willuhn.jameica.system.Application.newInstance(Application.java:87)
at de.willuhn.jameica.Main.main(Main.java:75)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Allgemeiner Fehler: "java.lang.NoClassDefFoundError: Could not initialize class org.h2.util.Bits"
General error: "java.lang.NoClassDefFoundError: Could not initialize class org.h2.util.Bits" [50000-199]