[Mono-bugs] [Bug 632869] New: NRE adding null to LinkedList

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 19 11:41:59 EDT 2010



           Summary: NRE adding null to LinkedList
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mkestner at novell.com
        ReportedBy: jpobst at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Java.Util.LinkedList<object> list = new Java.Util.LinkedList<object> ();
list.Add (null);

E/Mono.Android( 6982): System.NullReferenceException: Object reference not set
to an instance of an object
E/Mono.Android( 6982):   at Android.Runtime.JValue..ctor (IJavaObject value)
[0x00000] in <filename unknown>:0 
E/Mono.Android( 6982):   at Java.Util.LinkedList`1[System.Object].Add
(System.Object object) [0x00000] in <filename unknown>:0 
E/Mono.Android( 6982):   at MonoDroid.ApiDemo.MonoDroidApiDemo.OnCreate
(Android.OS.Bundle savedInstanceState) [0x00000] in <filename unknown>:0 
E/Mono.Android( 6982):   at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_
(IntPtr jnienv, IntPtr native__this, IntPtr native_savedInstanceState)
[0x00000] in <filename unknown>:0

Configure bugmail: https://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