files-community / Files

Building the best file manager for Windows
https://files.community
MIT License
34k stars 2.17k forks source link

Bug: LiteDB.LiteException: Index key must be less than 512 bytes #13681

Closed yaira2 closed 5 months ago

yaira2 commented 10 months ago

Description

https://appcenter.ms/orgs/FilesApp/apps/Files/crashes/errors/345986959u/overview

Steps To Reproduce

Unknown

Requirements

Files Version

v3.0.1

Windows Version

10.0.22631

Log File

LiteDB
IndexService.AddNode (CollectionIndex index, BsonValue key, Byte level, IndexNode last)
LiteDB
IndexService.AddNode (CollectionIndex index, BsonValue key, IndexNode last)
LiteDB.LiteEngine
<>c__DisplayClass17_0.<EnsureIndex>b__0 (CollectionPage col)
LiteDB
LiteEngine.Transaction[T] (String collection, Boolean addIfNotExists, Func`2 action)
LiteDB
LiteCollection`1.EnsureIndex (String field, String expression, Boolean unique)
Files.App.Helpers
LayoutPrefsDb.SetPreferences (String filePath, Nullable`1 frn, LayoutPreferences prefs)
Files.App.Data.Models
FolderSettingsViewModel.WriteLayoutPreferencesToDb (String folderPath, Nullable`1 frn, LayoutPreferences prefs)
Files.App.Data.Models
FolderSettingsViewModel.SetLayoutPreferencesForPath (String folderPath, LayoutPreferences prefs)
Files.App.Views.Shells
ModernShellPage.FolderSettings_LayoutPreferencesUpdateRequired (Object sender, LayoutPreferenceEventArgs e)
Files.App.Views.LayoutModes
DetailsLayoutBrowser.GridSplitter_ManipulationCompleted (Object sender, ManipulationCompletedRoutedEventArgs e)
ABI.Microsoft.UI.Xaml.Input
ManipulationCompletedEventHandler.Do_Abi_Invoke (IntPtr thisPtr, IntPtr sender, IntPtr e)
WinRT
ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0 (Int32 hr)
ABI.Windows.ApplicationModel.Core
IUnhandledErrorMethods.Propagate (IObjectReference _obj)
Microsoft.AppCenter.Utils
ApplicationLifecycleHelperWinUI.<ctor>b__0_3 (Object sender, UnhandledErrorDetectedEventArgs eventArgs)
hishitetsu commented 5 months ago

Close because migration to the registry should solve this issue as well.