Downloads  |  Buy

Unhandled exception when canceling upgrade

Unhandled exception when canceling upgrade

Postby Maksim » February 18th, 2020, 12:22 pm

Hello,
during the upgrade, if a user clicks Cancel button, Unhandled Exception is thrown.
Maksim
 

Re: Unhandled exception when canceling upgrade

Postby Wyatt » February 18th, 2020, 12:29 pm

More information needed.

Starting the the exception.

wyUpdate or the AutomaticUpdater?
User avatar
Wyatt
Site Admin
 
Posts: 6425
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: Unhandled exception when canceling upgrade

Postby Guest » February 18th, 2020, 1:02 pm

wyUpdate is throwing the exception.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at wyUpdate.frmMain.CancelUpdate(Boolean ForceClose, Boolean skipConfirmDialog)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4018.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
wyUpdate
Assembly Version: 2.6.18.4
Win32 Version: 2.6.18.4
CodeBase: file:///C:/Program%20Files%20(x86)/Mitsubishi%20Electric/Diamond%20System%20Builder/wyUpdate.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4018.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.ServiceProcess
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Guest
 

Re: Unhandled exception when canceling upgrade

Postby Guest » February 21st, 2020, 1:11 pm

Hello, when do you think you would have a solution?
thank you
Guest
 

Re: Unhandled exception when canceling upgrade

Postby Wyatt » February 21st, 2020, 4:55 pm

We need a reproducible example.
User avatar
Wyatt
Site Admin
 
Posts: 6425
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: Unhandled exception when canceling upgrade

Postby maksim » June 29th, 2020, 4:07 pm

I can upload the installer for our product, but it's large 213 MB. do you have a way?
maksim
 


Return to wyBuild, wyUpdate, & AutomaticUpdater Support