BakaXL-Launcher / BakaXL

BakaXL 项目门户 / BakaXL Project's Portal
https://www.BakaXL.com
269 stars 57 forks source link

笨蛋广场使用直接搜索时发生崩溃 #685

Open Strawxiguan opened 1 month ago

Strawxiguan commented 1 month ago

检查项

遇到的问题

如图,在此处输入后直接按下回车会发生崩溃。指定搜索方式(如使用curseforge)不会崩溃 image BakaXL-ErrorCan-20240529082336.json 以上为崩溃日志

期望的结果

解决直接搜索造成崩溃的bug

如何重现此问题?

打开笨蛋广场,并在搜索栏搜索任何模组,如create,直接按下回车会崩溃

可能造成问题的原因

未知

系统环境

Win11家庭版 23H2 22631.3593

启动器版本

3.5.1.0

附注

以下为崩溃日志: {"BakaVersion":"Master-Stable-3.51","ErrorTitle":"\u4E00\u4E2A\u672A\u7ECF\u5904\u7406\u7684 BakaXL \u5F02\u5E38(\u7A97\u4F53\u7EBF\u7A0B)","ExceptionCanInfo":{"ErrorCode":"BUE-001","ErrorTime":"05/29/2024 08:23:36"},"ExceptionInfo":{"Message":"\u5DF2\u6DFB\u52A0\u4E86\u5177\u6709\u76F8\u540C\u952E\u7684\u9879\u3002","InnerException":"-","StackTrace":" \u5728 System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)\r\n \u5728 System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add)\r\n \u5728 BakaXL.ViewModel.Pages.PlazaPages.PlazaItemListViewModel.<>c__DisplayClass18_0.<set_SearchSource>b__1(IGrouping2 d)\r\n \u5728 System.Collections.Generic.List1.ForEach(Action1 action)\r\n \u5728 BakaXL.ViewModel.Pages.PlazaPages.PlazaItemListViewModel.set_SearchSource(SearchSource value)\r\n \u5728 BakaXL.Pages.PlazaPages.PlazaItemListView..ctor(String keyword, SearchSource source, String title, String subTitle)\r\n \u5728 BakaXL.Pages.PagePlaza.PerformSearch(String text, SearchSource source, Boolean hasSearchBarAnimation)\r\n \u5728 BakaXL.Pages.PagePlaza.BakaPlaza_SearchBar_PreviewKeyUp(Object sender, KeyEventArgs e)\r\n \u5728 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n \u5728 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n \u5728 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n \u5728 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r\n \u5728 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)\r\n \u5728 System.Windows.Input.InputManager.ProcessStagingArea()\r\n \u5728 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)\r\n \u5728 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)\r\n \u5728 System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)\r\n \u5728 System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)\r\n \u5728 System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)\r\n \u5728 System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)\r\n \u5728 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n \u5728 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)","Solution":"\u8BF7\u7ACB\u5373\u5C06\u6B64\u9519\u8BEF\u4E0A\u62A5 BakaXL \u5F00\u53D1\u56E2\u961F\u4EE5\u4FBF\u5C3D\u5FEB\u4FEE\u590D\u3002"},"NetworkInfo":{"NetworkStatus":true,"PCNetworkInterface":"Wireless","InterfaceName":"WLAN","InterfaceDescription":"Intel(R) Wi-Fi 6E AX211 160MHz","Wireless":"-","ProxyStatus":false},"SoftwareInfo":{"SoftwareTitle":"BakaXL.Pages.PagePlaza","Version":"-","SoftwareLocation":"Application_DispatcherUnhandledException"},"EnvironmentInfo":{"Language":"\u4E2D\u6587(\u4E2D\u56FD) / \u4E2D\u6587(\u7B80\u4F53\uFF0C\u4E2D\u56FD) / Chinese (Simplified, China)","TimeZone":"(UTC+08:00) \u5317\u4EAC\uFF0C\u91CD\u5E86\uFF0C\u9999\u6E2F\u7279\u522B\u884C\u653F\u533A\uFF0C\u4E4C\u9C81\u6728\u9F50","Region":"\u4E2D\u56FD / \u4E2D\u534E\u4EBA\u6C11\u5171\u548C\u56FD / China"},"MinecraftCoreInfo":{"Core":"GT New Horizons 2.5.1"},"BakaConfigInfo":{"BakaVer":"BakaVer [V.3.22]","Language":"zh_CN","CloseAfterLaunch":false,"AutoFix":true,"BMCLAPI":true,"BMCLAPIMirror":0,"DisableMavenMirror":false,"ThreadMode":2,"AllowNetworkRelay":true,"AutoJava":true,"JavaPath":"C:\Program Files\Java\jre1.8.0_351\bin\javaw.exe","AutoMemory":true,"Memory":"4096","JavaGC":"Default","Background":"{Default}","TemaName":null,"TemaColor":"Blue","NightMode":false,"CustomWindowSize":false,"WindowWidth":850.4,"WindowHeight":480.0,"BackgroundParallax":false,"BackgroundParallaxMode":0,"LiveBackground":false,"Acrylic":false,"AcrylicType":0,"AcrylicManual":false,"AcrylicOpacity":0.0,"FrameRate":60,"StandardDisplayMode":false,"StandardSwitchCoreMode":false,"ShowOldCoreTile":true,"MusicStatus":false,"Volume":0.25,"LostFocusMusicBehavior":false,"AutoMusicDetection":true,"ForceExit":true,"Debug":false,"HomeScrollValue":0,"CellularNetwork":false,"MCWidth":854,"MCHeight":480,"AllowGeoLocation":false,"MediaElementSafeMode":false}}

Pigeon0v0 commented 1 month ago

更新到最新预览版