[Mono-bugs] [Bug 632968] New: NRE passing null to Log.I

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 19 16:28:39 EDT 2010


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

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


           Summary: NRE passing null to Log.I
    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: ---


Repro:

string s = null;
Log.I ("MyApp", s);

Exception:

E/Mono.Android( 8476): System.ArgumentNullException: Argument cannot be null.
E/Mono.Android( 8476): Parameter name: text
E/Mono.Android( 8476):   at Android.Runtime.JNIEnv.NewString (System.String
text) [0x00000] in <filename unknown>:0 
E/Mono.Android( 8476):   at Android.Util.Log.I (System.String tag,
System.String msg) [0x00000] in <filename unknown>:0 
E/Mono.Android( 8476):   at MonoDroid.ApiDemo.MonoDroidApiDemo.OnCreate
(Android.OS.Bundle savedInstanceState) [0x00000] in <filename unknown>:0 
E/Mono.Android( 8476):   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