[Mono-bugs] [Bug 60612][Nor] New - [FIX] null exception causes crash on startup
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 23 Jun 2004 04:43:20 -0400 (EDT)
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 kerrick@gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=60612
--- shadow/60612 2004-06-23 04:43:20.000000000 -0400
+++ shadow/60612.tmp.7663 2004-06-23 04:43:20.000000000 -0400
@@ -0,0 +1,26 @@
+Bug#: 60612
+Product: Mono: Doctools
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Gui
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: kerrick@gmx.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [FIX] null exception causes crash on startup
+
+monodoc in CVS can (and does for me) crash on startup because of this line
+in browser/settings.cs:
+if (EditingUtils.GetChangesFrom (Settings.SerialNumber).Count != 0) {
+
+GetChangesFrom can return null and this should be used in its stead:
+
+if (EditingUtils.GetChangesFrom (Settings.SerialNumber) != null &&
+EditingUtils.GetChangesFrom (Settings.SerialNumber).Count != 0) {