Unhandled exception on Vault Repository wizard page

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
David James
Posts: 2
Joined: Tue Apr 27, 2004 9:28 pm

Unhandled exception on Vault Repository wizard page

Post by David James » Tue Apr 27, 2004 10:01 pm

Hi,

I'm getting the following unhandled exception during the VSS Import:
System.NullReferenceException: Object reference not set to an instance of an object.
at VSSImport.WizardForm.j()
at VSSImport.WizardForm.o(Object A_0, EventArgs A_1)
at ActiproSoftware.Wizard.Wizard.ᐁ(EventArgs )
at ActiproSoftware.Wizard.Wizard.set_SelectedIndex(Int32 value)
at ActiproSoftware.Wizard.Wizard.ᐃ(WizardPageCancelEventArgs )
at ActiproSoftware.Wizard.Wizard.ᐍ(Object , EventArgs )
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.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
VSSImport
Assembly Version: 2.0.2.2163
Win32 Version: 2.0.2.2163
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/VSSImport.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
VaultClientOperationsLib
Assembly Version: 2.0.2.2163
Win32 Version: 2.0.2.2163
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/VaultClientOperationsLib.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
ActiproSoftware.Wizard
Assembly Version: 1.4.60.0
Win32 Version: 1.4.60.0
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/ActiproSoftware.Wizard.DLL
----------------------------------------
VaultClientNetLib
Assembly Version: 2.0.2.2163
Win32 Version: 2.0.2.2163
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/VaultClientNetLib.DLL
----------------------------------------
VaultLib
Assembly Version: 2.0.2.2163
Win32 Version: 2.0.2.2163
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/VaultLib.DLL
----------------------------------------
System.Web.Services
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll
----------------------------------------
Interop.SourceSafeTypeLib
Assembly Version: 5.1.0.0
Win32 Version: 5.1.0.0
CodeBase: file:///C:/Program%20Files/SourceGear/SourceSafe%20Import%20Tool/Interop.SourceSafeTypeLib.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Web
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
rthwxhua
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
toyosoj3
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
rh59ijiu
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Management
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.management/1.0.5000.0__b03f5f7f11d50a3a/system.management.dll
----------------------------------------
CustomMarshalers
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/custommarshalers/1.0.5000.0__b03f5f7f11d50a3a/custommarshalers.dll
----------------------------------------
This happens as soon as the "Vault Repository" page of the wizard (see attached screenshot) is displayed.

Vault version 2.0.2.

Server machine:
Windows 2003 Server Standard, running as a domain controller
MSSQL 2000 SP3

Import machine:
Windows 2003 Server Standard, running as a domain controller (same domain as server)
VSS 6.0c + IVSSItem::get_Versions hotfix

The server is a fresh install with no repositories or users (other than admin). The install crashed the first time because of an incorrect IIS/MSSQL security setting, but it worked the second time. The only thing I did after installing was run the admin tool to put a demo license key in.

I am choosing all the default options in the wizard up to this point.

If I click Continue in the exception dialog, the import appears to succeed.
Attachments
wizardpage.GIF
The wizard page showing in the background as the .NET unhandled exception dialog comes up.
wizardpage.GIF (66.45 KiB) Viewed 3923 times

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Wed Apr 28, 2004 11:18 am

Have you deleted all of the repositories on the server? It's possible that the import tool is trying to select a repository in the dropdown control, but not finding one. As long as you can sucessfully create a repository on that page, and the import succeeds, there's no reason to worry. I've made a note to investigate this further.

Post Reply