Bug 315229 (MONO60612) - [FIX] null exception causes crash on startup
Summary: [FIX] null exception causes crash on startup
Status: RESOLVED FIXED
Alias: MONO60612
Product: Mono: Doctools
Classification: Mono
Component: Gui (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-23 11:43 UTC by Brian Nickel
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:43:43 UTC


---- Reported by kerrick@gmx.net 2004-06-23 04:43:20 MST ----

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) {



---- Additional Comments From miguel@ximian.com 2004-06-23 07:50:29 MST ----

I removed that code yesterday, the message was not very helpful
anyways 


Unknown operating system unknown. Setting to default OS "Other".