Abbruch Erstellen des Backups beim Beenden

Hier melden JVerein-Benutzer ihre Fehler

Moderator: heiner

Antworten
Danzelot
Beiträge: 294
Registriert: Freitag 30. Juli 2010, 21:29
Verein: Musica Margaretha Reutti e.V.
Mitglieder: 51
JVerein-Version: 2.8.17
Betriebssystem: Windows
Wohnort: Ulm

Abbruch Erstellen des Backups beim Beenden

Beitrag von Danzelot »

Hallo Heiner,

manchmal kann beim Beenden von Jameica/JVerein das Backup nicht geschrieben werden. Anscheinend wird auf ein Widget zugegriffen, das bereits beendet wurde.

Das Backup enthält nur den Ordner cfg, im Ordner hibiscus/h2db/ ist die Datei hibiscus.h2.db mit 0 Byte.

Ich verwende Jameica/Hibiscus zusätzlich auch ohne JVerein - hier ist es noch nie zu diesem Fehler gekommen.

Verwendete Version: Jameica 2.8.0
Hibiscus 2.8.2
JVerein 2.8.17

Code: Alles auswählen

[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.gui.GUI.quit] shutting down GUI
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service Init5 ...
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service UpdateService ...
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.services.UpdateService.shutdown] stopping updater thread
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.services.UpdateService.shutdown] stopping timer task
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service RepositoryService ...
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service ScriptingService ...
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service ReminderService ...
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service SearchService ...
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service PluginService ...
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.plugin.PluginLoader.shutDown] shutting down plugins
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service ArchiveService ...
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service PluginServiceService ...
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.system.ServiceFactory.shutDown] shutting down local services
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.system.ServiceFactory.shutDown]   de.willuhn.jameica.messaging.Plugin.connector.soap
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.jameica.system.ServiceFactory.shutDown]   de.jost_net.JVerein.JVereinPlugin.database
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.datasource.db.DBServiceImpl.stop] stopping db service
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.datasource.db.DBServiceImpl.closeConnection] commit connection
[Fri Sep 07 12:13:29 CEST 2018][INFO][main][de.willuhn.datasource.db.DBServiceImpl.closeConnection] closing connection
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.datasource.db.DBServiceImpl.closeConnection] connection closed
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.datasource.db.DBServiceImpl.stop] db service stopped [1 connection(s) closed]
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.system.ServiceFactory.shutDown]   de.willuhn.jameica.messaging.Plugin.connector.fs
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.system.ServiceFactory.shutDown]   de.willuhn.jameica.hbci.HBCI.addressbook
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.system.ServiceFactory.shutDown]   de.willuhn.jameica.messaging.Plugin.storage
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.system.ServiceFactory.shutDown]   de.willuhn.jameica.messaging.Plugin.connector.xmlrpc
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.system.ServiceFactory.shutDown]   de.willuhn.jameica.messaging.Plugin.connector.msg
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.system.ServiceFactory.shutDown]   de.willuhn.jameica.hbci.HBCI.database
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.datasource.db.DBServiceImpl.stop] stopping db service
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.datasource.db.DBServiceImpl.closeConnection] commit connection
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.datasource.db.DBServiceImpl.closeConnection] closing connection
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.datasource.db.DBServiceImpl.closeConnection] connection closed
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.datasource.db.DBServiceImpl.stop] db service stopped [1 connection(s) closed]
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service SSLSocketFactoryService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service DeployService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service BeanService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service PluginSourceService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service ClassService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service RegistryService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service SSLService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service HostnameVerifierService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service AuthenticateService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service ProxyService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service BackupService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  creating backup E:\JVerein\Jam280_JV2817\.jameica\jameica-backup-20180907__12_13_30.zip ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.internal.parts.BackgroundTaskMonitor$1$1.run] auto closing monitor snapin
[Fri Sep 07 12:13:30 CEST 2018][ERROR][main][de.willuhn.jameica.backup.BackupEngine.doBackup] unable to create backup
org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed)
	at org.eclipse.swt.SWT.error(Unknown Source)
	at org.eclipse.swt.SWT.error(Unknown Source)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
	at de.willuhn.jameica.gui.SplashScreen$1.run(SplashScreen.java:308)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source)
	at org.eclipse.swt.widgets.Display.syncExec(Unknown Source)
	at de.willuhn.jameica.gui.SplashScreen.setPercentComplete(SplashScreen.java:299)
	at de.willuhn.jameica.gui.SplashScreen.addPercentComplete(SplashScreen.java:409)
	at de.willuhn.io.ZipCreator._add(ZipCreator.java:130)
	at de.willuhn.io.ZipCreator._add(ZipCreator.java:122)
	at de.willuhn.io.ZipCreator.add(ZipCreator.java:81)
	at de.willuhn.jameica.backup.BackupEngine.doBackup(BackupEngine.java:324)
	at de.willuhn.jameica.services.BackupService.shutdown(BackupService.java:86)
	at de.willuhn.boot.BootLoader.shutdown(BootLoader.java:199)
	at de.willuhn.jameica.system.Application.shutDown(Application.java:213)
	at de.willuhn.jameica.gui.GUI.quit(GUI.java:1031)
	at de.willuhn.jameica.gui.GUI.loop(GUI.java:932)
	at de.willuhn.jameica.gui.GUI.init(GUI.java:327)
	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)
Caused by: org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(Unknown Source)
	at org.eclipse.swt.SWT.error(Unknown Source)
	at org.eclipse.swt.SWT.error(Unknown Source)
	at org.eclipse.swt.widgets.Widget.error(Unknown Source)
	at org.eclipse.swt.widgets.Widget.checkWidget(Unknown Source)
	at org.eclipse.swt.custom.SashForm.getWeights(Unknown Source)
	at de.willuhn.jameica.gui.View$2.run(View.java:231)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
	at de.willuhn.jameica.gui.GUI$6.run(GUI.java:899)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source)
	at org.eclipse.swt.widgets.Display.syncExec(Unknown Source)
	at de.willuhn.jameica.gui.GUI.startSync(GUI.java:895)
	at de.willuhn.jameica.gui.View.snapOut(View.java:224)
	at de.willuhn.jameica.gui.internal.parts.BackgroundTaskMonitor$1$1.run(BackgroundTaskMonitor.java:102)
	at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
	... 21 more

[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  zip file created successfully ...
[Fri Sep 07 12:13:30 CEST 2018][ERROR][main][de.willuhn.jameica.services.BackupService.shutdown] Fehler beim Erstellen des Backups: Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed)
de.willuhn.util.ApplicationException: Fehler beim Erstellen des Backups: Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed)
	at de.willuhn.jameica.backup.BackupEngine.doBackup(BackupEngine.java:367)
	at de.willuhn.jameica.services.BackupService.shutdown(BackupService.java:86)
	at de.willuhn.boot.BootLoader.shutdown(BootLoader.java:199)
	at de.willuhn.jameica.system.Application.shutDown(Application.java:213)
	at de.willuhn.jameica.gui.GUI.quit(GUI.java:1031)
	at de.willuhn.jameica.gui.GUI.loop(GUI.java:932)
	at de.willuhn.jameica.gui.GUI.init(GUI.java:327)
	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)

[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service MessagingService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.messaging.MessagingFactory.close] shutting down messaging factory
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service SysinfoService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service SysPropertyService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service LogService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service LockService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.gui.SplashScreen$3.run]  shutting down service SecurityManagerService ...
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.system.Application.shutDown] shutdown complete
[Fri Sep 07 12:13:30 CEST 2018][INFO][main][de.willuhn.jameica.system.Application.shutDown] --------------------------------------------------


Viele Grüße
Danzelot
Benutzeravatar
heiner
Administrator
Beiträge: 4510
Registriert: Freitag 30. Oktober 2009, 16:44
JVerein-Version: aktuelle Entwicklerversion
Betriebssystem: W10
Kontaktdaten:

Re: Abbruch Erstellen des Backups beim Beenden

Beitrag von heiner »

Hallo,

ich habe das Thema an Olaf weitergegeben. Von ihm kam folgende Antwort:

Danke fuer den Hinweis. Ist eine Race-Condition. Eigentlich wird
unmittelbar vor Auftreten des Fehler geprueft, ob das Display disposed
ist, um eben diesen Fehler zu vermeiden. Scheinbar kann es aber unter
Umstaenden passieren, dass das Display just eine Millisekunder disposed
wird, nachdem die Pruefung stattgefunden hat.

Ist gefixt und morgen im Nightly-Build. Die Exception wird jetzt
toleriert (sie wurde ohnehin an einer nicht kritischen Stelle beim
Aktualisieren des Fortschrittsbalken geworfen), sodass das Backup
fehlerfrei erstellt wird.



Heiner
PS: Denkt daran, eure Vereine unter viewforum.php?f=3 vorzustellen.
Danzelot
Beiträge: 294
Registriert: Freitag 30. Juli 2010, 21:29
Verein: Musica Margaretha Reutti e.V.
Mitglieder: 51
JVerein-Version: 2.8.17
Betriebssystem: Windows
Wohnort: Ulm

Re: Abbruch Erstellen des Backups beim Beenden

Beitrag von Danzelot »

Hallo Heiner,

vielen Dank.
Dieser Fehler führt dazu, dass man irgendwann keine Sicherungen mehr hat.

Gruß
Danzelot
Antworten