Error by Syncfusion Extension in Visual Studio build process

Date:2025-03-21 16:18:50,781

Thread:[1]

Level:ERROR

Logger:InsertBlazorCode.SyncfusionCodeGeneratorMenuCommand [(null)]

Message:System.NullReferenceException: Object reference not set to an instance of an object.

   at InsertBlazorCode.SyncfusionCodeGeneratorMenuCommand.queryStatusMenuCommand_BeforeQueryStatus(Object sender, EventArgs e) in C:\Git\RP\vsext_insertblazorcode\SyncfusionBlazorcodegenerator\SyncfusionCodeGeneratorMenuCommand.cs:line 322



3 Replies

VA Valan Arockiya Kiraswin Arockiya Jesu Syncfusion Team March 24, 2025 10:19 AM UTC

Hi Paul,

We are reviewing the issue, but the error message alone is not enough to identify the root cause. To help us troubleshoot more effectively, please provide the following details:

  1. Did the issue occur immediately after clicking on the Syncfusion Code Generator, or did it happen when selecting a control?

  2. In which file are you using the Syncfusion Code Generator?

  3. Which control were you selecting when the issue occurred?

  4. If possible, could you share the project with us for further analysis?

Providing this information will allow us to better understand the situation and identify a solution. If you have any questions or need further assistance, feel free to reach out.

Thanks,

Valan



PM Paul McCranie March 24, 2025 05:51 PM UTC

I wasn’t using anything Syncfusion-related. I did have the Syncfusion extension for Visual Studio installed and enabled, and of course the error went away once I disabled and uninstalled the Syncfusion extension. 



KV Kesavaraman Venkadesan Syncfusion Team March 25, 2025 04:39 PM UTC

Hi Paul,

We have checked various possible scenarios, but we are unable to reproduce this issue. Could you please share the following details to help us proceed with this issue and replicate it?

  1. What type of file were you working on in Visual Studio when you encountered the issue.

  2. If possible, could you provide a comprehensive video demonstration of the issue?

  3. Gather log file. Please follow the steps in the link  to get the Gather log file.

Regards,
V. Kesavaraman

Loader.
Up arrow icon