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

音声再生時にNullReferenceExceptionが発生する #867

Open
indigo-san opened this issue Jan 7, 2024 · 0 comments
Open

音声再生時にNullReferenceExceptionが発生する #867

indigo-san opened this issue Jan 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@indigo-san
Copy link
Member

該当するコード
https://github.com/b-editor/beutl/blob/main/src%2FBeutl%2FViewModels%2FPlayerViewModel.cs#L268-L269

スタックトレース

System.NullReferenceException: Object reference not set to an instance of an object.
   at Reactive.Bindings.ReactivePropertySlim`1.Subscribe(IObserver`1 observer)
   at System.ObservableExtensions.SubscribeSafe[T](IObservable`1 source, IObserver`1 observer)
--- End of stack trace from previous location ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception)
   at System.Reactive.ExceptionHelpers.Throw(Exception exception)
   at System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
   at System.Reactive.AnonymousSafeObserver`1.OnError(Exception error)
   at System.Reactive.Sink`1.ForwardOnError(Exception error)
   at System.Reactive.Sink`2.OnError(Exception error)
   at System.ObservableExtensions.SubscribeSafe[T](IObservable`1 source, IObserver`1 observer)
   at System.Reactive.Sink`2.Run(IObservable`1 source)
   at System.Reactive.Linq.ObservableImpl.Where`1.Predicate.Run(_ sink)
   at System.Reactive.Concurrency.CurrentThreadScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func`3 action)
   at System.Reactive.Concurrency.Scheduler.ScheduleAction[TState](IScheduler scheduler, TState state, Action`1 action)
   at System.Reactive.Producer`2.SubscribeRaw(IObserver`1 observer, Boolean enableSafeguard)
   at Beutl.ViewModels.PlayerViewModel.PlayWithXA2(XAudioContext audioContext, Scene scene)
   at Beutl.ViewModels.PlayerViewModel.PlayAudio(Scene scene)

バージョン:
1.0.0-preview.3

@indigo-san indigo-san added the bug Something isn't working label Jan 7, 2024
@indigo-san indigo-san changed the title 音声再生時にNREが発生する 音声再生時にNullReferenceExceptionが発生する Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant