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


           Summary: System.Configuration.Install.Installer uses
                    uninitialized variable
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
                CC: [EMAIL PROTECTED]
          Found By: ---


In Install.cs a InstallerCollection is declared but never initialized. So you
get a null pointer exception as soon as you try to use it.

public InstallerCollection Installers {
                        get {
                                return installers;
                        }
                }


Perhaps something like this instead:

public InstallerCollection Installers {
        get {
                if (installers == null)
                        installers = new InstallerCollection(this);
                return installers;
        }
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to