BSH stürzt ab beim Versuch eines Restore

Support zu Backup Service Home 3.
Antworten
flavius
Newbie
Newbie
Beiträge: 4
Registriert: Fr 22. Nov 2024, 17:30

BSH stürzt ab beim Versuch eines Restore

Beitrag von flavius »

Ich benutze BSH seit neun Jahren und war immer zufrieden, habe auch schon erfolgreich Restores gemacht.
Jetzt geht es nicht mehr, BSH stürzt ab beim Versuch eines Restore.
Ich benutze Version 3.9.4 unter Windows 10.

Was kann ich tun?
Im Logfile steht folgendes:

2026-01-21 18:40:46.184 +01:00 [INF] Begin restore
2026-01-21 18:40:46.191 +01:00 [INF] 1 files will be restored.
2026-01-21 18:42:14.666 +01:00 [ERR] An unexpected error occurred Value cannot be null. (Parameter 'dc')
at System.Windows.Forms.DrawingEventArgs..ctor(HDC dc, Rectangle clipRect, DrawingEventFlags flags)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam).
System.ArgumentNullException: Value cannot be null. (Parameter 'dc')
at System.Windows.Forms.DrawingEventArgs..ctor(HDC dc, Rectangle clipRect, DrawingEventFlags flags)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
2026-01-21 18:42:14.672 +01:00 [ERR] An unexpected error occurred Out of memory.
at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)
at System.Drawing.Font.GetHeight()
at System.Drawing.Font.get_Height()
at System.Windows.Forms.Control.get_FontHeight()
at System.Windows.Forms.TextBoxBase.get_PreferredHeight()
at System.Windows.Forms.TextBoxBase.get_DefaultSize()
at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext)
at System.Windows.Forms.TextBoxBase..ctor()
at Brightbits.BSH.Main.frmError.InitializeComponent()
at Brightbits.BSH.Main.frmError..ctor()
at Brightbits.BSH.Main.ExceptionController.HandleGlobalException(Object sender, ThreadExceptionEventArgs e)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception ex)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam).
System.OutOfMemoryException: Out of memory.
at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)
at System.Drawing.Font.GetHeight()
at System.Drawing.Font.get_Height()
at System.Windows.Forms.Control.get_FontHeight()
at System.Windows.Forms.TextBoxBase.get_PreferredHeight()
at System.Windows.Forms.TextBoxBase.get_DefaultSize()
at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext)
at System.Windows.Forms.TextBoxBase..ctor()
at Brightbits.BSH.Main.frmError.InitializeComponent()
at Brightbits.BSH.Main.frmError..ctor()
at Brightbits.BSH.Main.ExceptionController.HandleGlobalException(Object sender, ThreadExceptionEventArgs e)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception ex)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)

Benutzeravatar
Alex
Support
Support
Beiträge: 2773
Registriert: Mi 29. Mär 2006, 18:11

Re: BSH stürzt ab beim Versuch eines Restore

Beitrag von Alex »

Hallo flavius,

Hast du schon einen Neustart des PCs versucht? Die Fehlermeldung behauptet, dass nicht genügend Arbeitsspeicher zur Verfügung stehe.
Vielleicht hilft auch ein Blick in den Task Manager um zu verifizieren, ob das tatsächlich stimmt.
Alexander Seeliger
{Support}

flavius
Newbie
Newbie
Beiträge: 4
Registriert: Fr 22. Nov 2024, 17:30

Re: BSH stürzt ab beim Versuch eines Restore

Beitrag von flavius »

Auch nach PC-Neustart tritt der Fehler weiterhin auf. Der Task-Manager zeigt mehr als 8 GB freien Speicher. Im Logfile steht zwar immer noch "out of memory", aber vorher "An unexpected error occurred Value cannot be null. (Parameter 'dc')".
Eine Idee, was das sein könnte?
2026-02-13 12_46_31- Fehlermeldung bei Restore.jpg
2026-02-13 12:46:13.526 +01:00 [ERR] An unexpected error occurred Value cannot be null. (Parameter 'dc')
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam).
System.ArgumentNullException: Value cannot be null. (Parameter 'dc')
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
2026-02-13 12:46:13.571 +01:00 [ERR] An unexpected error occurred Out of memory.
at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)
at System.Drawing.Font.GetHeight()
at System.Windows.Forms.Control.get_FontHeight()
at System.Windows.Forms.TextBoxBase.get_PreferredHeight()
at System.Windows.Forms.TextBoxBase.get_DefaultSize()
at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext)
at System.Windows.Forms.TextBoxBase..ctor()
at Brightbits.BSH.Main.frmError.InitializeComponent()
at Brightbits.BSH.Main.frmError..ctor()
at Brightbits.BSH.Main.ExceptionController.HandleGlobalException(Object sender, ThreadExceptionEventArgs e)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception ex)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam).
System.OutOfMemoryException: Out of memory.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.

Benutzeravatar
Alex
Support
Support
Beiträge: 2773
Registriert: Mi 29. Mär 2006, 18:11

Re: BSH stürzt ab beim Versuch eines Restore

Beitrag von Alex »

Entschuldige die späte Antwort.

Ich habe mich versucht schlau zu machen und es sieht wohl so aus als gibt es einen Fehler in einer internen Windowsbibliothek, die alle Fehler als "Memory" Fehler zurückgibt. Deshalb war die erste Spur natürlich nicht die richtige.

Leider konnte ich das Problem bei mir nicht nachstellen, sodass ich von irgendeiner speziellen Konstellation ausgehe, die nicht funktioniert. Es gibt bereits eine neuere Betaversion 3.9.5-beta2 die diverse Änderungen an der Orchestrierung von Sicherungen / Wiederherstellungen schraubt. Auch aktualisiert diese Version diverse verwendete Bibliotheken. Bitte mal diese Version testen und sehen, ob die Wiederherstellung damit klappt.

Du findest die Version im Betaforum: 3.9.5-beta2 (von heute).
Alexander Seeliger
{Support}

flavius
Newbie
Newbie
Beiträge: 4
Registriert: Fr 22. Nov 2024, 17:30

Re: BSH stürzt ab beim Versuch eines Restore

Beitrag von flavius »

Ich habe 3.9.5-beta2 installiert und zweimal ein Restore versucht: Zwei unterschiedliche Abstürze von BSH. In den Logfiles steht folgendes:
Versuch 1:
2026-03-05 10:11:46.261 +01:00 [INF] Begin restore
2026-03-05 10:11:50.733 +01:00 [INF] 1 files will be restored.
2026-03-05 10:12:11.485 +01:00 [INF] File \_Heinz\Anwendungsdaten\AllwaySync\application settings 20161218.xml restored successfully.
2026-03-05 10:12:11.517 +01:00 [INF] Restore of files successfully finished.
2026-03-05 10:14:17.742 +01:00 [ERR] An unexpected error occurred A generic error occurred in GDI+.
at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
at System.Windows.Forms.ToolStripRenderer.OnRenderItemImage(ToolStripItemImageRenderEventArgs e)
at System.Windows.Forms.ToolStripRenderer.DrawItemImage(ToolStripItemImageRenderEventArgs e)
at System.Windows.Forms.ToolStripDropDownButton.OnPaint(PaintEventArgs e)
at System.Windows.Forms.ToolStripItem.HandlePaint(PaintEventArgs e)
at System.Windows.Forms.ToolStrip.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, UInt32 msg, WPARAM wparam, LPARAM lparam).
System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
at System.Windows.Forms.ToolStripRenderer.OnRenderItemImage(ToolStripItemImageRenderEventArgs e)
at System.Windows.Forms.ToolStripRenderer.DrawItemImage(ToolStripItemImageRenderEventArgs e)
at System.Windows.Forms.ToolStripDropDownButton.OnPaint(PaintEventArgs e)
at System.Windows.Forms.ToolStripItem.HandlePaint(PaintEventArgs e)
at System.Windows.Forms.ToolStrip.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, UInt32 msg, WPARAM wparam, LPARAM lparam)
2026-03-05 10:14:17.745 +01:00 [ERR] An unexpected error occurred Zur Verarbeitung dieses Befehls sind nicht genügend Speicherressourcen verfügbar.
at System.Drawing.Icon.Initialize(Int32 width, Int32 height)
at System.Drawing.Icon..ctor(Stream stream, Int32 width, Int32 height)
at System.Drawing.IconConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.Resources.Extensions.DeserializingResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.Extensions.DeserializingResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.Extensions.DeserializingResourceReader.ResourceEnumerator.get_Entry()
at System.Resources.Extensions.DeserializingResourceReader.ResourceEnumerator.get_Current()
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, Type typeFromValue, String objectName, CultureInfo culture)
at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName)
at Brightbits.BSH.Main.frmError.InitializeComponent()
at Brightbits.BSH.Main.frmError..ctor()
at Brightbits.BSH.Main.ExceptionController.HandleGlobalException(Object sender, ThreadExceptionEventArgs e)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception ex)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, UInt32 msg, WPARAM wparam, LPARAM lparam).
System.ComponentModel.Win32Exception (8): Zur Verarbeitung dieses Befehls sind nicht genügend Speicherressourcen verfügbar.
at System.Drawing.Icon.Initialize(Int32 width, Int32 height)
at System.Drawing.Icon..ctor(Stream stream, Int32 width, Int32 height)
at System.Drawing.IconConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.Resources.Extensions.DeserializingResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.Extensions.DeserializingResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.Extensions.DeserializingResourceReader.ResourceEnumerator.get_Entry()
at System.Resources.Extensions.DeserializingResourceReader.ResourceEnumerator.get_Current()
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, Type typeFromValue, String objectName, CultureInfo culture)
at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName)
at Brightbits.BSH.Main.frmError.InitializeComponent()
at Brightbits.BSH.Main.frmError..ctor()
at Brightbits.BSH.Main.ExceptionController.HandleGlobalException(Object sender, ThreadExceptionEventArgs e)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception ex)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, UInt32 msg, WPARAM wparam, LPARAM lparam)

-----------------------------

Versuch 2:
2026-03-08 17:20:26.266 +01:00 [INF] Begin restore
2026-03-08 17:20:30.709 +01:00 [INF] 1 files will be restored.
2026-03-08 17:20:30.718 +01:00 [ERR] File \_Heinz\Büro\Ablage\Beschriftung Hängeregistratur.doc could not be restored due to exception. Brightbits.BSH.Engine.Models.FileExceptionEntry
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at System.ArgumentNullException.Throw(String paramName)
at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
at System.IO.Compression.ZipFileExtensions.ExtractToFileInitialize(ZipArchiveEntry source, String destinationFileName, Boolean overwrite, FileStreamOptions& fileStreamOptions)
at System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry source, String destinationFileName, Boolean overwrite)
at Brightbits.BSH.Engine.Storage.FileSystemStorage.CopyFileFromStorageCompressed(String localFile, String remoteFile)
at Brightbits.BSH.Engine.Jobs.RestoreJob.CopyFileFromDevice(IStorageProvider storage, IDataReader reader, String destination, Boolean warning)
2026-03-08 17:20:30.759 +01:00 [INF] Restore of files successfully finished.
2026-03-08 17:23:08.648 +01:00 [ERR] An unexpected error occurred Value cannot be null. (Parameter 'dc')
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, UInt32 msg, WPARAM wparam, LPARAM lparam).
System.ArgumentNullException: Value cannot be null. (Parameter 'dc')
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, UInt32 msg, WPARAM wparam, LPARAM lparam)
2026-03-08 17:23:08.650 +01:00 [ERR] An unexpected error occurred An object could not be created, possibly due to a lack of memory, but most likely due to invalid input.
at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)
at System.Drawing.Font.GetHeight()
at System.Drawing.Font.get_Height()
at System.Windows.Forms.Control.get_FontHeight()
at System.Windows.Forms.TextBoxBase.get_PreferredHeight()
at System.Windows.Forms.TextBoxBase.get_DefaultSize()
at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext)
at System.Windows.Forms.TextBoxBase..ctor()
at Brightbits.BSH.Main.frmError.InitializeComponent()
at Brightbits.BSH.Main.frmError..ctor()
at Brightbits.BSH.Main.ExceptionController.HandleGlobalException(Object sender, ThreadExceptionEventArgs e)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception ex)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, UInt32 msg, WPARAM wparam, LPARAM lparam).
System.Runtime.InteropServices.ExternalException (0x8000FFFF): An object could not be created, possibly due to a lack of memory, but most likely due to invalid input.
at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)
at System.Drawing.Font.GetHeight()
at System.Drawing.Font.get_Height()
at System.Windows.Forms.Control.get_FontHeight()
at System.Windows.Forms.TextBoxBase.get_PreferredHeight()
at System.Windows.Forms.TextBoxBase.get_DefaultSize()
at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext)
at System.Windows.Forms.TextBoxBase..ctor()
at Brightbits.BSH.Main.frmError.InitializeComponent()
at Brightbits.BSH.Main.frmError..ctor()
at Brightbits.BSH.Main.ExceptionController.HandleGlobalException(Object sender, ThreadExceptionEventArgs e)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception ex)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, UInt32 msg, WPARAM wparam, LPARAM lparam)

Benutzeravatar
Alex
Support
Support
Beiträge: 2773
Registriert: Mi 29. Mär 2006, 18:11

Re: BSH stürzt ab beim Versuch eines Restore

Beitrag von Alex »

Das sieht für mich leider wie der gleiche Fehler aus erster Beitrag aus. Ich kann mir leider aktuell keinen Reim drauf bilden warum du diese Meldung bekommst.

Aktuell kann ich dir nur den Rat geben die Dateien direkt vom Sicherungsmedium zu kopieren und nicht mittels der Software.

Ich bin parallel weiter dran, kann aber keine Aussage zur Lösung des Fehlers sagen, da ich ihn nicht reproduzieren kann.
Alexander Seeliger
{Support}

Antworten