[Mono-bugs] [Bug 76292][Wis] Changed - ImageListStreamer causes an exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 30 06:44:06 EDT 2005

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 kornelpal at hotmail.com.


--- shadow/76292	2005-09-30 04:47:36.000000000 -0400
+++ shadow/76292.tmp.28754	2005-09-30 06:44:06.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 76292
 Product: Mono: Class Libraries
 Version: 1.0
+OS: unknown
 OS Details: XP (but also Cent OS 4.1)
-Status: NEW   
+Status: NEEDINFO   
+Severity: Unknown
 Priority: Wishlist
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: bill.seddon at lyquidity.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -51,6 +51,39 @@
 Additional Information:
 Note that this code works fine under .NET so the issue can't be a result 
 of a missing or invalid image list resource.
+------- Additional Comments From kornelpal at hotmail.com  2005-09-30 06:44 -------
+I tried CodeProject QASharp and I got the following results on 
+Windows XP with .NET Framework 1.0 and 1.1 as well:
+A MesssageBox with the message: "Object reference not set to an 
+instance of an object."
+Then I removed try-catch blocks in frmQASharp.cs and I saw that the 
+problem is that dt is null in frmQASharp_Load.
+Then I modified app.config to point to a server and database. 
+Everything worked fine.
+On Mono I got:
+Unhandled Exception: System.TypeLoadException: Could not load 
+type 'System.Windo
+ws.Forms.PrintDialog' from assembly 'System.Windows.Forms, 
+Version=1.0.5000.0, C
+ulture=neutral, PublicKeyToken=b77a5c561934e089'.
+in <0x00000> <unknown method>
+in <0x000c6> QASharp.frmQASharp:.ctor ()
+in (wrapper remoting-invoke-with-check) QASharp.frmQASharp:.ctor ()
+in <0x00018> QASharp.frmQASharp:Main ()
+This is definitely not an exception caused by ImageListStreamer. 
+Then I removed references to PrintDialog.
+I got and infinite loop. I don't wanted to debug the code more.
+Please send a code that causes the exception you mentioned because 
+ImageListStreamer but don't has to be debugged and modified for 
+hours just to see whether it uses ImageListStreamer or not.

More information about the mono-bugs mailing list