Opened 16 years ago

Closed 16 years ago

#446 closed defect (fixed)

Changing the site on a user in Administrator Tool causes a blank for that user on first opening curator tool

Reported by: Mark J. Millard Owned by: Pete Cyr
Priority: critical Milestone: Release Candidate 2
Component: Curator Tool Version: 1.0.3873
Severity: Keywords: user, site
Cc: Database Engine: N/A
Operating System: Windows 7 Ultimate 64 bit

Description

I first saw this when I changed the site in the cooperator table for a user. I then saw it later using the Administrator Tool v1.5.1315 to change the site. I had a user that did not belong to the same site as the other test logins. I changed the site for this user to the same site as the other users so I could user their lists. The first time I opened the curator tool after saving this change, I got a blank in the user field corresponding to the user I logged in under. If I just closed, I got an exception on trying to close the tool. If I selected one of the users in that site, I could close the tool without an 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 GRINGlobal.Client.CuratorTool.GRINGlobalClientCuratorTool.SaveLists(DataTable currentUserItemList)
at GRINGlobal.Client.CuratorTool.GRINGlobalClientCuratorTool.GrinGlobalClient_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.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


GRINGlobal-CuratorTool

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


System.Windows.Forms

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


System.Core

Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll


GRINGlobal.Client.Common

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


AccessionForm

Assembly Version: 1.0.3870.18135
Win32 Version: 1.0.3870.18135
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/AccessionForm.dll


ImageForm

Assembly Version: 1.0.3870.18135
Win32 Version: 1.0.3870.18135
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/ImageForm.dll


InventoryForm

Assembly Version: 1.0.3870.18135
Win32 Version: 1.0.3870.18135
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/InventoryForm.dll


OrderForm

Assembly Version: 1.0.3870.18135
Win32 Version: 1.0.3870.18135
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/OrderForm.dll


System.Web.Services

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


u0h5losn

Assembly Version: 1.0.3870.18134
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Transactions

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll


System.EnterpriseServices

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.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.

Attachments (1)

FirstTimeChangingSite_2010-08-07.jpg​ (157.8 KB ) - added by Mark J. Millard 16 years ago.
Blank user on first Curator Tool open after site change

Download all attachments as: .zip

Change History (6)

by Mark J. Millard, 16 years ago

Blank user on first Curator Tool open after site change

comment:1 by Mark J. Millard, 16 years ago

I forgot to say that if I open the Curator Tool a second time the problem goes away.

comment:2 by Pete Cyr, 16 years ago

Status: new → addressed
Version: 1.0.3870 → 1.0.3873

comment:3 by Pete Cyr, 16 years ago

Status: addressed → released

comment:4 by Mark J. Millard, 16 years ago

Cc: brockweaver@… removed
Status: released → verified

Ok in version v1.0.3875.36879. Changing the site of the userid in either the administrator tool or the curator tool and then reopening the curator tool does not cause a problem.

comment:5 by rlittle, 16 years ago

Resolution: → fixed
Status: verified → closed

Verified in v1.0.3875.36879

Closing as fixed.

Note: See TracTickets for help on using tickets.