Opened 15 years ago

Closed 13 years ago

#652 closed defect (fixed)

Search tool executed by itself cancel on login causes an exception after message box ok

Reported by: Mark J. Millard Owned by: Pete Cyr
Priority: major Milestone: Release 0.9
Component: Search Tool Version: 2.0.4197
Severity: Keywords: aborted search tool login
Cc: Martin Reisinger Database Engine: SQL Server
Operating System: Windows 7 Ultimate 64 bit

Description

The search tool causese this exception when trying to cancel a login after hitting the search tool icon by itself. A message box comes up, but after saying ok the exception is thrown. The only way to continue is to use task manager to hang the application. In discussions with developer it may be cause by the save settings that the search tool now does to bring up the settings from the last search session.

The version first observed was 2.0.4197, but probably was there since setting savings was being done.

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 GRINGlobal.Client.Common.SharedUtils.SaveUserSetting(String resource, String key, String value)
at GRINGlobal.Client.SearchTool.GRINGlobalClientSearchTool.SetGeneralUserSettings()
at GRINGlobal.Client.SearchTool.GRINGlobalClientSearchTool.SetAllUserSettings()
at GRINGlobal.Client.SearchTool.GRINGlobalClientSearchTool.GRINGlobalClientSearchTool_FormClosing(Object sender, FormClosingEventArgs e)
at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Loaded Assemblies
mscorlib

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: ​file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


GRINGlobal-SearchTool

Assembly Version: 2.0.4197.22509
Win32 Version: 2.0.4197.22509
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal-SearchTool.exe


System.Windows.Forms

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


System

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5442 (Win7SP1GDR.050727-5400)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Drawing

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


System.Data

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: ​file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll


System.Xml

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


GRINGlobal.Client.Common

Assembly Version: 2.0.4197.22507
Win32 Version: 2.0.4197.22507
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal.Client.Common.DLL


System.Web.Services

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll


System.Configuration

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


knnlbhew

Assembly Version: 2.0.4197.22507
Win32 Version: 2.0.50727.5442 (Win7SP1GDR.050727-5400)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.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.

Change History (2)

comment:1 by Pete Cyr, 15 years ago

Milestone: Final → Release 0.9
Status: new → addressed
Version: 2.0.4185 → 2.0.4197

The missing connection event is being trapped and displayed to the user now as a failed attempt to connect to the GG web service.

comment:2 by Pete Cyr, 13 years ago

Resolution: → fixed
Status: addressed → closed
Note: See TracTickets for help on using tickets.