Ticket #121 (new defect)

Opened 12 years ago

Last modified 12 years ago

Viewer close leads to exception

Reported by: michelpons Owned by: Michael Halloran
Priority: major Milestone:
Component: Viewer Version: Development
Keywords: Cc: michaelhalloran

Description

On a Windows XP SP3 machine, I have installed the COLTT Viewer 2.1 Development Build. After a run with COLTT enabled on a CAPE-OPEN UO in PRO/II 8.3, I launch COLTT Viewer. The COLTT Viewer screen appears. Then I choose to close the Viewer through the File>Close menu item. I get then a message saying (in French):
Une exception non gérée s'est produite dans votre application.

I am able to get details from the exception as follows:

Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.

Texte de l'exception
System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.

à System.Windows.Forms.Form.Close()
à MainWindow.CloseView()
à MainWindow.MenuItemHandler(Object sender, EventArgs e)
à System.Windows.Forms.MenuItem.OnClick(EventArgs e)
à System.Windows.Forms.MenuItem.MenuItemData.Execute()
à System.Windows.Forms.Command.Invoke()
à System.Windows.Forms.Command.DispatchID(Int32 id)
à System.Windows.Forms.Control.WmCommand(Message& m)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ScrollableControl.WndProc(Message& m)
à System.Windows.Forms.ContainerControl.WndProc(Message& m)
à System.Windows.Forms.Form.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Assemblys chargés
mscorlib

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3625 (GDR.050727-3600)
CodeBase : file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


COLTTViewer

Version de l'assembly : 2.1.0.0
Version Win32 : 2, 1, 0, 0
CodeBase : file:///C:/Program%20Files/Cape-Open/COLTT%202.1/COLTTViewer.exe


msvcm90

Version de l'assembly : 9.0.30729.6161
Version Win32 : 9.00.30729.6161
CodeBase : file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43/msvcm90.dll


System.Windows.Forms

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3623 (GDR.050727-3600)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


System

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3631 (GDR.050727-3600)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Drawing

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


System.Xml

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3082 (QFE.050727-3000)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


System.Windows.Forms.resources

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll


mscorlib.resources

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3625 (GDR.050727-3600)
CodeBase : file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


Débogage JIT
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.

Par exemple :

<configuration>

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

</configuration>

Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.

Change History

comment:1 Changed 12 years ago by michaelhalloran

Michel,

Can you attach the log file you were viewing?

comment:2 Changed 12 years ago by michelpons

  • Milestone changed from 2.1 to 2.2
Note: See TracTickets for help on using tickets.