Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Refresh Mods" crashes BSMM #15

Closed
Rycia opened this issue Jan 7, 2023 · 4 comments
Closed

"Refresh Mods" crashes BSMM #15

Rycia opened this issue Jan 7, 2023 · 4 comments

Comments

@Rycia
Copy link

Rycia commented Jan 7, 2023

When hitting "Refresh Mods," sometimes at the end of it BSMM will just.. close.

@Rycia
Copy link
Author

Rycia commented Jan 7, 2023

for the love of god add more error catching pls

@Melechtna
Copy link

Melechtna commented Jan 10, 2023

Getting the same issue, but running it in a terminal returns
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. at Avalonia.Utilities.WeakEvent2.Subscription.OnEvent(Object , TEventArgs) in //src/Avalonia.Base/Utilities/WeakEvent.cs:line 162
at Avalonia.Utilities.WeakEvents.<>c__DisplayClass5_1.<.cctor>b__7(Object , PropertyChangedEventArgs) in /
/src/Avalonia.Base/Utilities/WeakEvents.cs:line 29
at ReactiveUI.ReactiveObject.ReactiveUI.IReactiveObject.RaisePropertyChanged(PropertyChangedEventArgs) in //src/ReactiveUI/ReactiveObject/ReactiveObject.cs:line 96
at System.Reactive.AnonymousSafeObserver1.OnNext(T) in /_/Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:line 54 at System.Reactive.Linq.ObservableImpl.SelectMany2.EnumerableSelector.
.OnNext(TSource) in //Rx.NET/Source/src/System.Reactive/Linq/Observable/SelectMany.cs:line 1379
at System.Reactive.Linq.ObservableImpl.Buffer2.Boundaries._.BufferClosingObserver.OnNext(TBufferClosing) in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable/Buffer.cs:line 829 at System.Reactive.Linq.ObservableImpl.Merge1.Observables.
.InnerObserver.OnNext(TSource) in //Rx.NET/Source/src/System.Reactive/Linq/Observable/Merge.cs:line 240
at System.Reactive.Linq.ObservableImpl.Select2.Selector._.OnNext(TSource) in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable/Select.cs:line 48 at System.Reactive.Subjects.Subject1.OnNext(T) in /
/Rx.NET/Source/src/System.Reactive/Subjects/Subject.cs:line 141
at ReactiveUI.IReactiveObjectExtensions.ExtensionState1.RaisePropertyChanged(String) in /_/src/ReactiveUI/ReactiveObject/IReactiveObjectExtensions.cs:line 397 at ReactiveUI.IReactiveObjectExtensions.RaisingPropertyChanged[TSender](TSender, String) in /_/src/ReactiveUI/ReactiveObject/IReactiveObjectExtensions.cs:line 240 at ReactiveUI.OAPHCreationHelperMixin.<>c__DisplayClass14_02.b__0(TRet) in //src/ReactiveUI/ObservableForProperty/OAPHCreationHelperMixin.cs:line 797
at ReactiveUI.ObservableAsPropertyHelper1.<>c__DisplayClass8_0.<.ctor>b__2(T) in /_/src/ReactiveUI/ObservableForProperty/ObservableAsPropertyHelper.cs:line 161 at System.Reactive.AnonymousSafeObserver1.OnNext(T) in /
/Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:line 43
at System.Reactive.Sink1.ForwardOnNext(TTarget) in /_/Rx.NET/Source/src/System.Reactive/Internal/Sink.cs:line 49 at System.Reactive.ObserveOnObserverNew1.DrainStep(ConcurrentQueue1) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 561 at System.Reactive.ObserveOnObserverNew1.DrainShortRunning(IScheduler) in //Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 507
at System.Reactive.ObserveOnObserverNew1.<>c.<.cctor>b__17_0(IScheduler, ObserveOnObserverNew1) in /
/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 497
at Avalonia.Threading.AvaloniaScheduler.<>c__DisplayClass4_11.<Schedule>b__1() in /_/src/Avalonia.Base/Threading/AvaloniaScheduler.cs:line 47 at Avalonia.Threading.JobRunner.RunJobs(Nullable1) in //src/Avalonia.Base/Threading/JobRunner.cs:line 38
at Avalonia.X11.X11PlatformThreading.CheckSignaled() in /
/src/Avalonia.X11/X11PlatformThreading.cs:line 164
at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken) in //src/Avalonia.X11/X11PlatformThreading.cs:line 244
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken) in /
/src/Avalonia.Base/Threading/Dispatcher.cs:line 61
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[]) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 120
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T, String[], ShutdownMode ) in /
/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 209
at BeatSaberModManager.Startup.RunAvaloniaApp()
at BeatSaberModManager.Startup.RunAsync()
at BeatSaberModManager.Program.Container.global::StrongInject.IAsyncContainer<BeatSaberModManager.Startup>.RunAsync[TResult,TParam](Func3, TParam) at BeatSaberModManager.Program.Main(String[]) at BeatSaberModManager.Program.Main(String[]) at BeatSaberModManager.Program.<Main>(String[] ) Aborted (core dumped)
Which looks like a wayland issue, so I ran it with GDK_BACKEND=x11 and then a window came up with

Screenshot_20230109_230043

Which this looks like one of the mods might not exist anymore? Not entirely sure.

@Melechtna
Copy link

Okay, I figured out what's going on, it's crashing because it's getting over loaded, if you keep hitting "refresh mods" eventually it gets through them all, but after maybe 6, it just dies for some reason.

@affederaffe
Copy link
Owner

See #7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants