Open Closed

Power Tools version 1.8.1.3 - NullReferenceException in 'Load Entity From Database' #6650


0
osiris97 created

In Power Tools v1.8.1.3, when attempting to use the Load Entity From Database form, I am receiving a NullReferenceException when I click the "Retrieve Tables" button (after inputting a connection string).

In case it is useful in troubleshooting, I am using VS2017 Community Ed (v15.9.8). Please let me know if there are any additional details I can provide.

=======================

This appears to be the relevant line from the logfile:

ERROR 2019-03-15 10:12:59,131 [1 ] ToolVisualStudioExtension.Helpers.Logger - Error occured while loading entities from database!

Details: Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at AspNetZeroRadToolVisualStudioExtension.Dialogs.DbTableSelectionForm.btnRetrieveTables_Click(Object sender, EventArgs e) in D:\github\aspnet-zero-rad\AspNetZeroRadToolVisualStudioExtension\AspNetZeroRadToolVisualStudioExtension\Dialogs\DbTableSelectionForm.cs:line 150

=======================

Please advise. I'm not sure if this was something changed/introduced when VS auto-updated the extension to 1.8.1.3 yesterday, or if it existed prior to the latest version.

As a quick follow-up, is the source code available for the Power Tools extension? I didn't see it in github with the other AspNetZero repos, but may have just overlooked something


1 Answer(s)
  • 0
    yekalkan created

    Thanks for reporting. It seems like there is a bug in some circumstances.

    This will be fixed in v1.8.1.4