Trying to add a dependency when adding an interface throws exception

bon matin,

a small one because you’re actually not supposed to do that (2021.4.10) : if you try to add a dependency when actually adding an interface, this exception is thrown. see the attached gif for repro steps :

interfacedependency

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at VL.HDE.SymbolBrowsers.SymbolBrowser.TryLoadPackage(IChoice choice)
   at VL.HDE.SymbolBrowsers.SymbolBrowser.choice_Clicked(Object sender)
   at VL.HDE.Button.MouseClick[TState](TState state, Vector2 p)
   at VL.HDE.ActiveControlManager.OnMouseUp(MouseUpNotification e)
   at System.Reactive.AnonymousSafeObserver`1.OnNext(T value)
   at System.Reactive.Linq.ObservableImpl.OfType`2._.OnNext(TSource value)
   at System.Reactive.Subjects.Subject`1.OnNext(T value)
   at System.Reactive.Linq.ObservableImpl.Merge`1.Observables._.InnerObserver.OnNext(TSource value)
   at System.Reactive.Linq.ObservableImpl.Do`1.OnNext._.OnNext(TSource value)
   at System.Reactive.Linq.ObservableImpl.Merge`1.Observables._.InnerObserver.OnNext(TSource value)
   at System.Reactive.Linq.ObservableImpl.Merge`1.Observables._.InnerObserver.OnNext(TSource value)
   at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
   at System.Reactive.Subjects.Subject`1.OnNext(T value)
   at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at VL.HDE.SymbolBrowsers.SymbolBrowser.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.