[Mono-bugs] [Bug 608282] Not-null string variable causes NullReferenceException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 24 10:36:43 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=608282

http://bugzilla.novell.com/show_bug.cgi?id=608282#c1


--- Comment #1 from Михаил Майсурадзе <goldywhite at gmail.com> 2010-05-24 14:36:42 UTC ---
var list = new string[field_table.Count];
for (var i = 0; i < field_table.Count; i++)
{
    list[i] = ((FieldInfo)field_table[i]).Name; //on this line
}
there is exception:
Exception: System.NullReferenceException: Object reference not set to an
instance of an object
  at (wrapper stelemref) object:stelemref (object,intptr,object)

Name is that Null-NotNull string with behaviour desribed above.

That error seems like field/variable lost Type reference, but still use right
address in memory probably marked as free that still contains data.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list