[Mono-dev] System.NullReferenceException, what does it mean?

Wade Maxfield wmaxfield at gmail.com
Mon Apr 3 10:52:35 EDT 2006


  I have a windows forms application working in .NET.  I've compiled under
mono, and tried debugging.  Unfortunately, mdb doesn't work on it.  (list
does not work).

  So, I removed the "try{}catch{}" to see if the web page fetch was the
problem, and it was.

  What is this error message telling me?  The code works without error in
.NET.

  Ubuntu breezy, 1.1.13_4 mono, latest updates on ubuntu.

thanks,
wade

maxfield at cfw7245-xp2:~/Desktop/Remote DSP Monitor/RemoteDspMonitor$ mono
bin/Debug/RemoteDspMonitor.exe

Mono System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6
14:35:24]
Keyboard: United States keyboard layout (phantom key version)
Gtk colorscheme read
Polling:
http://ampro2:2001/shm/gdsp.php

Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object
in <0x001c6> WebPageFetchSpace.GetWebPageClass:GetWebPage ()
in <0x0007b> WebPageFetchSpace.GetWebPageClass:Run ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
Setting transient:  1
maxfield at cfw7245-xp2:~/Desktop/Remote DSP Monitor/RemoteDspMonitor$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060403/4e19a198/attachment.html 


More information about the Mono-devel-list mailing list