T O P I C R E V I E W |
shippy |
Posted - May 09 2025 : 6:07:24 PM Started hitting a NullReferenceException when I open my project after installing the latest VA this morning. From the ActivityLog.xml:
System.NullReferenceException: Object reference not set to an instance of an object. at WholeTomato.VaCodeInspections.QuickActions.e.d(TextExtent& A_0) at WholeTomato.VaCodeInspections.QuickActions.e.e() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.<CallExtensionPointAsync>d__41`1.MoveNext()
Version info: VA_X64.dll file version 10.9.2556.0 built 2025.04.07 DevEnv.exe version 17.13.35931.197 Enterprise msenv.dll version 17.0.35919.92
|
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - May 13 2025 : 06:37:49 AM Let's try the simple fix first. Can you please go into:
IDE tools menu -> Extensions and Updates...
then find Visual Assist in the list of installed extensions, and disable it. This will require an IDE restart to take effect. Then, after the restart, go back in and Enable VA, which will require another IDE restart.
Does this fix the problem? Occasionally problems like this crop up, and this does fix them, so certainly worth a try. If this doesn't help, we will try something else. |
shippy |
Posted - May 12 2025 : 3:05:32 PM It happens almost 100% of the time. I can continue using the IDE and VA seems to be working AFAICT. |
feline |
Posted - May 12 2025 : 07:29:57 AM Thank you for the details. Was this a one off problem, or is it happening every time? I am not quite sure which would be more worrying, but at least if it keeps on happening, it will be easier to study.
Are you able to keep on using the IDE, or did the exception lead to a crash?
We have had a couple of reports of exceptions, but so far no clues as to the trigger, and nothing that I have been able to reproduce here, so if this is an ongoing problem it may not be just you, in case that offers any comfort. |
|
|