https://bugzilla.novell.com/show_bug.cgi?id=632869

https://bugzilla.novell.com/show_bug.cgi?id=632869#c0


           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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


Repro:

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

Exception:
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to