[Mono-bugs] [Bug 79185][Blo] New - Form with a ImageList containg one image results in a ArgumentNullException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Aug 27 11:56:50 EDT 2006


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 christian.birkl at gmail.com.

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

--- shadow/79185	2006-08-27 11:56:50.000000000 -0400
+++ shadow/79185.tmp.21454	2006-08-27 11:56:50.000000000 -0400
@@ -0,0 +1,105 @@
+Bug#: 79185
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: mono 1.1.16.1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: Christian.Birkl at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Form with a ImageList containg one image results in a ArgumentNullException
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Create a simple Windows Application with one Form, a ImageList and one 
+or more Images
+2. Run it
+
+Actual Results:
+
+mono exists w/o displaying the form.
+
+Expected Results:
+
+mono should display the form.
+
+How often does this happen? 
+
+Always
+
+Additional Information:
+
+
+Mono System.Windows.Forms Assembly [$auto_build_revision$]
+System.Reflection.TargetInvocationException: Exception has been thrown by 
+the target of an invocation. ---> System.ArgumentException: Invalid 
+Parameter. A null reference or invalid value was found.
+  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] 
+  at System.Drawing.Image.InitFromStream (System.IO.Stream stream) 
+[0x00000] 
+  at System.Drawing.Bitmap..ctor (System.IO.Stream stream, Boolean 
+useIcm) [0x00000] 
+  at System.Drawing.Bitmap..ctor (System.IO.Stream stream) [0x00000] 
+  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
+(System.IO.Stream)
+  at System.Windows.Forms.ImageListStreamer..ctor 
+(System.Runtime.Serialization.SerializationInfo info, StreamingContext 
+context) [0x00000] 
+  at <0x00000> <unknown method>
+  at (wrapper managed-to-native) 
+System.Reflection.MonoCMethod:InternalInvoke (object,object[])
+  at System.Reflection.MonoCMethod.Invoke (System.Object obj, 
+BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] 
+parameters, System.Globalization.CultureInfo culture) [0x00000] --- End 
+of inner exception stack trace ---
+
+  at System.Reflection.MonoCMethod.Invoke (System.Object obj, 
+BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] 
+parameters, System.Globalization.CultureInfo culture) [0x00000] 
+  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object
+[] parameters) [0x00000] 
+  at System.Runtime.Serialization.ObjectRecord.LoadData 
+(System.Runtime.Serialization.ObjectManager manager, ISurrogateSelector 
+selector, StreamingContext context) [0x00000] 
+  at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00000] 
+  at 
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject
+ (System.IO.BinaryReader reader) [0x00000] 
+  at 
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGrap
+h (System.IO.BinaryReader reader, Boolean readHeaders, System.Object 
+result, System.Runtime.Remoting.Messaging.Header[] headers) [0x00000] 
+  at 
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDese
+rialize (System.IO.Stream serializationStream, 
+System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] 
+  at 
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize
+ (System.IO.Stream serializationStream) [0x00000] 
+  at System.Resources.ResourceReader.ReadNonPredefinedValue (System.Type 
+exp_type) [0x00000] 
+  at System.Resources.ResourceReader.ReadValueVer1 (System.Type type) 
+[0x00000] 
+  at System.Resources.ResourceReader.ResourceValue (Int32 index) 
+[0x00000] 
+  at System.Resources.ResourceReader+ResourceEnumerator.get_Value () 
+[0x00000] 
+  at System.Resources.ResourceSet.ReadResources () [0x00000] 
+  at System.Resources.ResourceSet.GetObject (System.String name, Boolean 
+ignoreCase) [0x00000] 
+  at System.Resources.ResourceManager.GetObject (System.String name, 
+System.Globalization.CultureInfo culture) [0x00000] 
+  at System.Resources.ResourceManager.GetObject (System.String name) 
+[0x00000] 
+  at WindowsApplication1.Form1.InitializeComponent () [0x00000]


More information about the mono-bugs mailing list