danielmilner / netprofiles

Automatically exported from code.google.com/p/netprofiles
0 stars 0 forks source link

Network Card Array Population Error #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Launch Net Profiles, launches interface and immediately returns this
error (When the status bar reads "Preloading Network Interfaces...")

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Net Profiles 3.1.7
Windows XP (2002 - 32bit) SP2
Dell Inspiron 6400 Laptop (Centrino Duo 2.0GHz, 2GB RAM)

In what language is your operating system?
English

Please provide any additional information below.

Just upgraded from 3.1.6 (which had a similar error, but cannot replicate
as I don't have it, but could bypass by running a second time)

Currently connected to an Ad-hoc network with a static IP address. 
I had 2 profiles in 3.1.6.  The Ad-hoc network (w/ static IP address and
DNS) and a connection for my router  w/ dynamic IP and DNS.

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 Net_Profiles.Globals.PopulateNetworkCardArray()
   at Net_Profiles.MainForm.TimerLoadTick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

Original issue reported on code.google.com by trevor.w...@gmail.com on 1 Jun 2009 at 12:46

GoogleCodeExporter commented 9 years ago
I have the same problem.

What steps will reproduce the problem?
1. Launch Net Profiles, launches interface and immediately returns this
error.

What version of the product are you using? On what operating system?
Net Profiles 2.1.7
Windows XP SP3
HP Compaq nc6320

OS language: Italian

Additional info:
My network interface are:
1) Wireless
2) Traditional LAN
3) 1394
4) VMware Network Adapter VMnet1
5) VMware Network Adapter VMnet8

************** Testo dell'eccezione **************
System.NullReferenceException: Riferimento a un oggetto non impostato su 
un'istanza 
di oggetto.
   in Net_Profiles.Globals.PopulateNetworkCardArray()
   in Net_Profiles.MainForm.ReloadNetworkInterfacesToolStripMenuItemClick(Object 
sender, EventArgs e)
   in System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   in System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   in System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   in System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   in System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, 
ToolStripItemEventType met)
   in System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, 
ToolStripItemEventType met)
   in System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   in System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 
clicks)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   in System.Windows.Forms.ToolStrip.WndProc(Message& m)
   in System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr 
wparam, IntPtr lparam)

************** Assembly caricati **************
mscorlib
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3603 (GDR.050727-3600)
    Base di codice: 
file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Net Profiles
    Versione assembly: 1.0.3429.20373
    Versione Win32: 1.0.3429.20373
    Base di codice: file:///C:/Programmi/Net%20Profiles/Net%20Profiles.exe
----------------------------------------
Microsoft.VisualBasic
    Versione assembly: 8.0.0.0
    Versione Win32: 8.0.50727.3053 (netfxsp.050727-3000)
    Base di codice: 
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d5
0a3a/
Microsoft.VisualBasic.dll
----------------------------------------
System
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
    Base di codice: 
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
    Base di codice: 
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e
089/S
ystem.Windows.Forms.dll
----------------------------------------
System.Drawing
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
    Base di codice: 
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/Sy
stem.
Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
    Base di codice: 
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c5619
34e08
9/System.Runtime.Remoting.dll
----------------------------------------
MessageBoxHook
    Versione assembly: 0.0.0.0
    Versione Win32: 
    Base di codice: file:///C:/Programmi/Net%20Profiles/MessageBoxHook.DLL
----------------------------------------
msvcm80
    Versione assembly: 8.0.50727.3053
    Versione Win32: 8.00.50727.3053
    Base di codice: 
file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053
_x-
ww_b80fa8ca/msvcm80.dll
----------------------------------------
System.Xml
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3082 (QFE.050727-3000)
    Base di codice: 
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System
.Xml.
dll
----------------------------------------
System.Management
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
    Base di codice: 
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a
/Syst
em.Management.dll
----------------------------------------
mscorlib.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3603 (GDR.050727-3600)
    Base di codice: 
file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
    Base di codice: 
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b
77a5c
561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Configuration
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
    Base di codice: 
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50
a3a/S
ystem.Configuration.dll
----------------------------------------

Original comment by omar.bra...@gmail.com on 10 Nov 2009 at 10:32

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have the same issue, too...

It only happens when my Wi-Fi card is enbled. If it is disabled, it works. But 
it makes this program totally useless :-(

I'm running 2.1.7 under XP SP3 on a eeePC 1000H.

Find below the dump, if it helps

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an 
object.
   at Net_Profiles.Globals.PopulateNetworkCardArray()
   at Net_Profiles.MainForm.TimerLoadTick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.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.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Net Profiles
    Assembly Version: 1.0.3429.20373
    Win32 Version: 1.0.3429.20373
    CodeBase: file:///C:/Program%20Files/Net%20Profiles/Net%20Profiles.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
MessageBoxHook
    Assembly Version: 0.0.0.0
    Win32 Version: 
    CodeBase: file:///C:/Program%20Files/Net%20Profiles/MessageBoxHook.DLL
----------------------------------------
msvcm80
    Assembly Version: 8.0.50727.762
    Win32 Version: 8.00.50727.762
    CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700/msvcm80.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.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.

Original comment by f6fvy...@gmail.com on 7 Sep 2010 at 1:09