Goood morning.
It looks like creating a new VL dependency on the fly does not work the first time, but only on subsequent tries.
Repro steps :
- Open a fresh vvvv gamma
6.7-220
, save your patch somewhere - Klick Document Menu/Dependencies/Files/Add New
- Give a name to your document and save it
- The following error pops in the “old school” console
NullReferenceException: "Object reference not set to an instance of an object."
StackTrace:
VL.HDE.PatchEditor.NavigationMenuProvider+<AddNewDependency>d__91 { private virtual void MoveNext() { ... } }
System.Runtime.ExceptionServices.ExceptionDispatchInfo { public void Throw() { ... } }
System.Threading.Tasks.Task+<>c { internal void <ThrowAsync>b__128_0(object state) { ... } }
{ public static object InvokeStub_SendOrPostCallback.Invoke(object , System.Span<object> ) { ... } }
System.Reflection.MethodBaseInvoker { internal object InvokeWithOneArg(object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture) { ... } }
- Check your dependencies : the file you intended to create is not listed as a dependency and does not exist in the explorer
- Do it again : it now works
Thanks for considering!
Cheers
EDIT it looks like when doing it using the CTRL + SHIFT + N shortcut, it works on first try.