ShokoAnime / ShokoServer

Repository for Shoko Server.
https://shokoanime.com/
MIT License
412 stars 74 forks source link

CultureInfo problem ? UnhandledExceptionManager.ExceptionToFile Date and Time #1159

Open bigretromike opened 3 months ago

bigretromike commented 3 months ago

VERSION INFORMATION

Server Version: 4.2.2

Desktop Version:

If you've compiled your own version, please use the last commit you compiled.

LOG FILE

[2024-08-10 18:33:28:493] Fatal|UnhandledExceptionManager.UnhandledExceptionHandler => UnhandledExceptionManager.GenericExceptionHandler => UnhandledExceptionManager.ExceptionToFile Date and Time:         10.08.2024 18:33:28
Machine Name:          BLACKBOX
IP Address:            ::1
Current User:          BLACKBOX\brm

Application Domain:    ShokoServer
Assembly Codebase:     file:///C:/Users/brm/Desktop/ss/Shoko Server/ShokoServer.dll
Assembly Full Name:    ShokoServer, Version=4.2.2.0, Culture=neutral, PublicKeyToken=null
Assembly Version:      4.2.2.0
Assembly Build Date:   02.04.2023 19:52:52

Exception Source:      PresentationCore
Exception Type:        System.ArgumentException
Exception Message:     
Exception Target Site: SetRootVisual

---- Stack Trace ----
   System.Windows.Media.CompositionTarget.SetRootVisual(visual As Visual)
       ShokoServer.dll: N 00422
   System.Windows.Media.CompositionTarget.set_RootVisual(value As Visual)
       ShokoServer.dll: N 00063
   System.Windows.Interop.HwndTarget.set_RootVisual(value As Visual)
       ShokoServer.dll: N 00086
   System.Windows.Interop.HwndSource.set_RootVisualInternal(value As Visual)
       ShokoServer.dll: N 00249
   System.Windows.Interop.HwndSource.set_RootVisual(value As Visual)
       ShokoServer.dll: N 00038
   System.Windows.Controls.Primitives.Popup.SetRootVisualToPopupRoot()
       ShokoServer.dll: N 00172
   System.Windows.Controls.Primitives.Popup.CreateWindow(asyncCall As Boolean)
       ShokoServer.dll: N 00525
   System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(d As DependencyObject, e As DependencyPropertyChangedEventArgs)
       ShokoServer.dll: N 00280
   System.Windows.DependencyObject.OnPropertyChanged(e As DependencyPropertyChangedEventArgs)
       ShokoServer.dll: N 1864633625
   System.Windows.FrameworkElement.OnPropertyChanged(e As DependencyPropertyChangedEventArgs)
       ShokoServer.dll: N -1533474001
   System.Windows.DependencyObject.NotifyPropertyChange(args As DependencyPropertyChangedEventArgs)
       ShokoServer.dll: N 1864632563
   System.Windows.DependencyObject.UpdateEffectiveValue(entryIndex As EntryIndex, dp As DependencyProperty, metadata As PropertyMetadata, oldEntry As EffectiveValueEntry, newEntry As EffectiveValueEntry&, coerceWithDeferredReference As Boolean, coerceWithCurrentValue As Boolean, operationType As OperationType)
       ShokoServer.dll: N 1864618767
   System.Windows.DependencyObject.InvalidateProperty(dp As DependencyProperty, preserveCurrentValue As Boolean)
       ShokoServer.dll: N 00255
   System.Windows.DependencyObject.InvalidateProperty(dp As DependencyProperty)
       ShokoServer.dll: N 00013
   System.Windows.Data.BindingExpressionBase.Invalidate(isASubPropertyChange As Boolean)
       ShokoServer.dll: N 00220
   System.Windows.Data.BindingExpression.TransferValue(newValue As Object, isASubPropertyChange As Boolean)
       ShokoServer.dll: N 05478
   System.Windows.Data.BindingExpression.ScheduleTransfer(isASubPropertyChange As Boolean)
       ShokoServer.dll: N 00123
   MS.Internal.Data.ClrBindingWorker.NewValueAvailable(dependencySourcesChanged As Boolean, initialValue As Boolean, isASubPropertyChange As Boolean)
       ShokoServer.dll: N 00122
   MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(k As Int32, collectionView As ICollectionView, newValue As Object, isASubPropertyChange As Boolean)
       ShokoServer.dll: N 00824
   MS.Internal.Data.PropertyPathWorker.OnDependencyPropertyChanged(d As DependencyObject, dp As DependencyProperty, isASubPropertyChange As Boolean)
       ShokoServer.dll: N 00203
   MS.Internal.Data.ClrBindingWorker.OnSourceInvalidation(d As DependencyObject, dp As DependencyProperty, isASubPropertyChange As Boolean)
       ShokoServer.dll: N 00020
   System.Windows.Data.BindingExpression.HandlePropertyInvalidation(d As DependencyObject, args As DependencyPropertyChangedEventArgs)
       ShokoServer.dll: N 00704
   System.Windows.Data.BindingExpressionBase.OnPropertyInvalidation(d As DependencyObject, args As DependencyPropertyChangedEventArgs)
       ShokoServer.dll: N 00207
   System.Windows.Data.BindingExpression.OnPropertyInvalidation(d As DependencyObject, args As DependencyPropertyChangedEventArgs)
       ShokoServer.dll: N 00343
   System.Windows.DependentList.InvalidateDependents(source As DependencyObject, sourceArgs As DependencyPropertyChangedEventArgs)
       ShokoServer.dll: N 00190
   System.Windows.DependencyObject.NotifyPropertyChange(args As DependencyPropertyChangedEventArgs)
       ShokoServer.dll: N 1864632915
   System.Windows.DependencyObject.UpdateEffectiveValue(entryIndex As EntryIndex, dp As DependencyProperty, metadata As PropertyMetadata, oldEntry As EffectiveValueEntry, newEntry As EffectiveValueEntry&, coerceWithDeferredReference As Boolean, coerceWithCurrentValue As Boolean, operationType As OperationType)
       ShokoServer.dll: N 1864618767
   System.Windows.DependencyObject.SetValueCommon(dp As DependencyProperty, value As Object, metadata As PropertyMetadata, coerceWithDeferredReference As Boolean, coerceWithCurrentValue As Boolean, operationType As OperationType, isInternal As Boolean)
       ShokoServer.dll: N 1864647992
   System.Windows.DependencyObject.SetValue(dp As DependencyProperty, value As Object)
       ShokoServer.dll: N 1864666322
   System.Windows.DependencyObject.SetValue(dp As DependencyProperty, value As Boolean)
       ShokoServer.dll: N 00057
   System.Windows.Controls.ToolTip.set_IsOpen(value As Boolean)
       ShokoServer.dll: N 00037
   Hardcodet.Wpf.TaskbarNotification.TaskbarIcon.OnToolTipChange(visible As Boolean)
       TaskbarIcon.cs: line 0507, col 17, IL 0037
   Hardcodet.Wpf.TaskbarNotification.Interop.WindowMessageSink.ProcessWindowMessage(msg As UInt32, wParam As IntPtr, lParam As IntPtr)
       WindowMessageSink.cs: line 0308, col 21, IL 0358
   Hardcodet.Wpf.TaskbarNotification.Interop.WindowMessageSink.OnWindowMessageReceived(hWnd As IntPtr, messageId As UInt32, wParam As IntPtr, lParam As IntPtr)
       WindowMessageSink.cs: line 0209, col 13, IL 0025

DESCRIPTION

After first run, first shutdown the server wont run again. I removed settings-server.json in case something went wrong there its getting recreated, but before webui is available server shutdown.

STEPS TO REPRODUCE

Being as detailed as possible, please list all steps need to reproduce the issue, if we can't reproduce it then we can't fix it.

bigretromike commented 3 months ago

date and time in question is the modification time of log file if that's helps.