[Mono-bugs] [Bug 82142][Nor] New - DateTime.Now.ToString("o") NullReferenceException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 19 11:44:06 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ward.mark at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=82142

--- shadow/82142	2007-07-19 11:44:06.000000000 -0400
+++ shadow/82142.tmp.31780	2007-07-19 11:44:06.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 82142
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: Windows 2003
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: ward.mark at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DateTime.Now.ToString("o") NullReferenceException
+
+Steps to reproduce the problem:
+1. Console.WriteLine(DateTime.Now.ToString("o"));
+2. Run program mono console.exe (using mono 1.2.4 for windows)
+3. 
+
+Actual Results:
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+  at System.DateTime._ToString (System.String format,
+System.Globalization.DateTimeFormatInfo dfi) [0x00000]
+  at System.DateTime.ToString (System.String format, IFormatProvider fp)
+[0x00000]
+  at System.DateTime.ToString (System.String format) [0x00000]
+  at ConsoleApplication1.Program.Main (System.String[] args) [0x00000]
+
+
+Expected Results:
+The DateTime output in the format used for Roundtrip format or mostly XML.
+Example: 2007-07-19T07:33:30.671875-05:00  
+
+How often does this happen? 
+Every time the application is run.
+
+Additional Information:


More information about the mono-bugs mailing list