[Mono-bugs] [Bug 515624] New: ArgumentNullException in System.Windows.Forms.ImageList+ImageCollection+ImageListItem..ctor

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 23 11:20:05 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=515624


           Summary: ArgumentNullException in
                    System.Windows.Forms.ImageList+ImageCollection+ImageLi
                    stItem..ctor
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: kramieb at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/528.6 (KHTML, like Gecko) Chrome/0.5.155.0 Safari/528.6

http://form-designer-net.viklele-associates.qarchive.org/
The program runs relatively fine on Windows with dotNet 3.5. When trying to run
with mono 2.4, nothing happens and quits without a error. When executing in
debug mode, and exception is visible and the program quits.

Reproducible: Always

Steps to Reproduce:
1. Download http://form-designer-net.viklele-associates.qarchive.org/
2. Run with mono --debug
Actual Results:  
C:\Program Files\Viklele\Form
Designer.Net\FormDesignerCSharpDemo\bin\Release>mo
no --debug FormDesignerDemo.exe

Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
Parameter name: value
  at System.Windows.Forms.ImageList+ImageCollection+ImageListItem..ctor
(System.
Drawing.Image value) [0x0003b] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\m
cs\class\Managed.Windows.Forms\System.Windows.Forms\ImageList.cs:202
  at System.Windows.Forms.ImageList+ImageCollection.Add (System.String key,
Syst
em.Drawing.Image image) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.
4\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ImageList.cs:732
  at System.Windows.Forms.ImageList+ImageCollection.Add (System.Drawing.Image
va
lue) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\build\common\
Consts.cs:1
  at Viklele.Win.Demo.frmMDI.PopupateToolbox () [0x00000]
  at Viklele.Win.Demo.frmMDI..ctor () [0x00000]
  at (wrapper remoting-invoke-with-check) Viklele.Win.Demo.frmMDI:.ctor ()
  at Viklele.Win.Demo.frmMDI.Main () [0x00000]

Expected Results:  
A fine running Windows Forms Designer, like it does on dotNet 3.5.

-- 
Configure bugmail: http://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.


More information about the mono-bugs mailing list