WyUpdate Error message

I've recently begun receiving an error in the form of a messagebox.Here is what it looks like:Microsoft .NET Framework

Unhandled exception has occurred in your application. If click Continue, the application will ignore this error...

[In the Details section]System.NullReferenceException: Object reference not set to an instance of object... at wyUpdate.PipeServer.SendMessage(Byte[] message) .... at wyUpdate.Downloader.FileDownloader.bw_ProgressChanged

Note: This in the debug version of my application. I have not yet tried this on the release. This error appears to be intermittent - it does not occur every time an update is downloaded.

Can you tell me how you reproduce this?

Sure,

I run my app in debug mode. Then on the Application object's startup event, I create a new window (which is hidden), which contains an automatic updater control. I call 'show' on the window, which effectively calls the owner_loaded function in the automatic updater. It'll immediately check for an update.

After a few seconds, the message box will appear.

I think this may have to do with the fact that I built a debug version of wyupdate as opposed to a release version.

Since having the issue, I have switched to a release version. Hopefully, this will get rid of the message.