0
Fixed

Object reference not set to an instance of an object.

Anonym vor 3 Jahren in Studio • aktualisiert von Genie vor 3 Jahren 5
Email Address : Jon@planetdatcha.com Steps to follow : No Steps Provided at Warewolf.Studio.ViewModels.EnvironmentViewModel.d__258.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Warewolf.Studio.ViewModels.EnvironmentViewModel.d__254.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Warewolf.Studio.ViewModels.ExplorerViewModelBase.d__50.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Gestartet
Pieter via Jira vor 3 Jahren
Pieter via Jira vor 3 Jahren

Steps that caused the same type of stacktrace error:

  1. Create a new workflow, drag an Assign tool on and add a new variable.
  2. Right-click on Explorer and create a New Folder.
  3. Click the Save button on the Menu to open the Save Dialog.
  4. Notice that when you select any option on the Save Dialog, then it assumes that the user wants to move the resource, instead of just selecting it.
  5. This causes the Studio to "freeze", but pressing Esc will unfreeze it.

Fix

  1. Added a check on the Explorer drag and drop to check if the Save Dialog is being used to not allow drag and drop to be called.
  2. We can add a CodedUI test for this by following the steps provided above. The CodedUI test should pass if the Studio does not "freeze".
Wird überprüft
Pieter via Jira vor 3 Jahren
Genie via Jira vor 3 Jahren

Ashley Lewis - Please ensure that a Coded UI test is created or amended to include the above.