chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
I have recently downloaded and installed Typemock Isolator and NCover (trial versions). In Typemock Isolator Configuration I am trying to Link NCover2.0 with Typemock but I get an unhandled exception:

Value cannot be null.
Parameter name: value
at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value)
at Configuration.ConfigRegistry.b(RegistryKey A_0, String A_1, String A_2)
at Configuration.ConfigRegistry.SetProgramLocation64(String CLSID, String location)
at Configuration.ProfilersModel.a(Int32 A_0, Boolean A_1)
at Configuration.ProfilersModel.set_Enabled(Boolean value)
at TypeMock.Runner.ConfigurationForm.m(Object A_0, EventArgs A_1)
at System.Windows.Forms.CheckBox.OnCheckedChanged(EventArgs e)
at System.Windows.Forms.CheckBox.set_CheckState(CheckState value)
at System.Windows.Forms.CheckBox.OnClick(EventArgs e)
at System.Windows.Forms.CheckBox.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.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)

I'm new to this, I'm I missing some configuration?

asked by dmcneish (600 points)

1 Answer

0 votes
Hi Don,

If I understand correctly, you are getting the exception in the configuration form itself, rather than during test execution. This is often an environment set up problem. Can you tell me a few details about your set up?
- OS type and is it 32/64 bit
- Are tests running with Isolator without trying to generate coverage?
- Are tests running with ncover and without Isolator?
- Are there other versions of ncover installed on the machine?

This should be enough to help us diagnose the problem.

Typemock Support
answered by doron (17.2k points)