Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 NullReferenceException every project load

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

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
1   L A T E S T    R E P L I E S    (Newest First)
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000