[Mono-bugs] [Bug 67753][Nor] Changed - System.NullReferenceException retrieving System.Resources.ResourceManager resources

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 22 Oct 2004 07:25:37 -0400 (EDT)


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 smeegoan@yahoo.com.br.

http://bugzilla.ximian.com/show_bug.cgi?id=67753

--- shadow/67753	2004-10-07 08:42:18.000000000 -0400
+++ shadow/67753.tmp.10336	2004-10-22 07:25:37.000000000 -0400
@@ -1,23 +1,23 @@
 Bug#: 67753
 Product: Mono: Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: smeegoan@yahoo.com.br               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: bug in system.reflection
+Summary: System.NullReferenceException retrieving System.Resources.ResourceManager resources
 
 Please fill in this template when reporting a bug, unless you know what you
 are doing.
 Description of Problem:
 
 
@@ -94,6 +94,30 @@
 Additional Information:
 
 ------- Additional Comments From smeegoan@yahoo.com.br  2004-10-07 08:42 -------
 Created an attachment (id=12189)
 source project
 
+
+------- Additional Comments From smeegoan@yahoo.com.br  2004-10-22 07:25 -------
+rename the attachment extension to .zip
+
+the application crashes in this class:
+
+using System;
+using System.Drawing;
+
+namespace Dummy{
+	public class frmMain{
+		public frmMain(string resource)
+		{
+			System.Resources.ResourceManager resources = new
+System.Resources.ResourceManager(typeof(frmMain));
+			Image i
+=((System.Drawing.Image)(resources.GetObject("pictureBox4.Image")));
+		
+i.Save("frmMain.pictureBox4.Image.png",System.Drawing.Imaging.ImageFormat.Png
+);
+		}
+	}
+}
+