0
Naprawione

Object reference not set to an instance of an object.

Anonim 8 lat temu w Studio Ostatnio zmodyfikowane przez anonymous 8 lat temu 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)

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".
W trakcie analizy

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