OrkestraOnline / Orkestra_Online

Orkestra Online is a cloud based platform for deploying, documenting and securing DynamoBIM and Grasshopper content.
https://www.orkestra.online
36 stars 2 forks source link

Crash when try to checkout #31

Closed Thomas84 closed 4 years ago

Thomas84 commented 4 years ago

Describe the bug crash after clicking check out in the view extension

To Reproduce In Revit Revit Addin: Right Click on Geometry.Curves.dyn -> open in Dynamo. Opening the view extension -> Right click on the dyn Geometry.Curves in the view Extension -> Checkout a specific Version -> cklicking on Check Out without selecting a version -> Crash

Observed behavior Clicked on "Check Out" without selecting a version -> Crash

Screenshots image

Desktop (please complete the following information):

In Which context did it happen (please select from the following list) : Orkestra Revit Addin and Orkestra Dynamo View Extension

Additional context Error log: `Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

bei OrkestraApp.Prompts.dynVersionning.CheckOut_Click(Object sender, RoutedEventArgs e) bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) bei System.Windows.Controls.Primitives.ButtonBase.OnClick() bei System.Windows.Controls.Button.OnClick() bei System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) bei System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) bei System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) bei System.Windows.Input.InputManager.ProcessStagingArea() bei System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)`

MostafaElAyoubi commented 4 years ago

Hey @Thomas84 ! Thank you very much for reporting this. Could you please provide a quick translation of that Dynamo error window?

Thomas84 commented 4 years ago

There is an Error and Dynamo has crashed. We are soooo sorry :) You have the chance to save your work before we kill your application.

and the error log: The object reference was not set to an object instance

MostafaElAyoubi commented 4 years ago

fixed in 0.1.83