[Mono-bugs] [Bug 412536] New: libmono-winforms2.0-cil: Unhandled Exception: Object reference not set to an instance of an object

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 28 00:15:03 EDT 2008


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


           Summary: libmono-winforms2.0-cil: Unhandled Exception: Object
                    reference not set to an instance of an object
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ckoeni at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other


Created an attachment (id=230202)
 --> (https://bugzilla.novell.com/attachment.cgi?id=230202)
This is the file from Microsoft that does not work with Mono.

Description of Problem:

On up-to-date Debian Linux Testing distribution, I have a Mono app from
Microsoft (attached file MOSTest.exe) that fails with an exception.

Steps to reproduce the problem:

$ mono MOSTest.exe

Unhandled Exception: System.NullReferenceException: Object reference not 
set to an instance of an object
  at MOSTest.ReviewForm._tmWavePlayWatch_Tick (System.Object sender, 
System.EventArgs e) [0x00000]
  at System.Windows.Forms.Timer.OnTick (System.EventArgs e) [0x00000]
  at System.Windows.Forms.Timer.FireTick () [0x00000]
  at (wrapper remoting-invoke-with-check) 
System.Windows.Forms.Timer:FireTick ()
  at System.Windows.Forms.XplatUIX11.CheckTimers 
(System.Collections.ArrayList timers, DateTime now) [0x00000]
  at System.Windows.Forms.XplatUIX11.UpdateMessageQueue 
(System.Windows.Forms.XEventQueue queue) [0x00000]
  at System.Windows.Forms.XplatUIX11.PeekMessage (System.Object 
queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, 
Int32 wFilterMax, UInt32 flags) [0x00000]
  at System.Windows.Forms.XplatUIX11.WaitForHwndMessage 
(System.Windows.Forms.Hwnd hwnd, Msg message) [0x00000]
  at System.Windows.Forms.XplatUIX11.MapWindow 
(System.Windows.Forms.Hwnd hwnd, WindowType windows) [0x00000]
  at System.Windows.Forms.XplatUIX11.CreateWindow 
(System.Windows.Forms.CreateParams cp) [0x00000]
  at System.Windows.Forms.XplatUI.CreateWindow 
(System.Windows.Forms.CreateParams cp) [0x00000]
  at System.Windows.Forms.NativeWindow.CreateHandle 
(System.Windows.Forms.CreateParams create_params) [0x00000]
  at System.Windows.Forms.Control.CreateHandle () [0x00000]
  at System.Windows.Forms.Form.CreateHandle () [0x00000]
  at System.Windows.Forms.Control.CreateControl () [0x00000]
  at System.Windows.Forms.Control.SetVisibleCore (Boolean value) 
[0x00000]
  at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000]
  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000]
  at (wrapper remoting-invoke-with-check) 
System.Windows.Forms.Control:set_Visible (bool)
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, 
System.Windows.Forms.ApplicationContext context) [0x00000]
  at System.Windows.Forms.Application.Run 
(System.Windows.Forms.ApplicationContext context) [0x00000]
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form 
mainForm) [0x00000]
  at MOSTest.Program.Main () [0x00000]

Actual Results:

exception

Expected Results:

file executes

How often does this happen? 

everytime

Additional Information:

This file is part of a large contract from Microsoft to evaluate the voice
quality of sound bites used in their products. I guarantee it works on a
Microsoft box, and in fact other people are working on other modules as I
write.

My system configuration:

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libmono-winforms2.0-cil depends on:
ii  libc6                       2.7-10       GNU C Library: Shared libraries
ii  libgdiplus                  1.9-1        interface library for Mono class S
ii  libmono-accessibility2.0-ci 1.9.1+dfsg-2 Mono Accessibility library
ii  libmono-corlib2.0-cil       1.9.1+dfsg-2 Mono core library (2.0)
ii  libmono-mozilla0.2-cil      1.9.1+dfsg-2 Mono Mozilla library
ii  libmono-system-data2.0-cil  1.9.1+dfsg-2 Mono System.Data Library
ii  libmono-system-web2.0-cil   1.9.1+dfsg-2 Mono System.Web Library
ii  libmono-system2.0-cil       1.9.1+dfsg-2 Mono System libraries (2.0)
ii  libmono2.0-cil              1.9.1+dfsg-2 Mono libraries (2.0)
ii  libx11-6                    2:1.1.4-2    X11 client-side library
ii  libxcursor1                 1:1.1.9-1    X cursor management library

libmono-winforms2.0-cil recommends no packages.

Versions of packages libmono-winforms2.0-cil suggests:
ii  libglib2.0-0                  2.16.3-2   The GLib library of C routines
ii  libgnomeui-0                  2.20.1.1-1 The GNOME 2 libraries (User Interf
ii  libgtk2.0-0                   2.12.10-2  The GTK+ graphical user interface 
ii  librsvg2-2                    2.22.2-2   SAX-based renderer library for SVG
ii  shared-mime-info              0.30-2     FreeDesktop.org shared MIME databa

-- no debconf information


-- 
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.


More information about the mono-bugs mailing list