[Mono-bugs] [Bug 79032][Maj] New - Application with ImageList not start

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 8 11:13:58 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 levap at bansky.net.

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

--- shadow/79032	2006-08-08 11:13:58.000000000 -0400
+++ shadow/79032.tmp.2525	2006-08-08 11:13:58.000000000 -0400
@@ -0,0 +1,116 @@
+Bug#: 79032
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: XP SP 2 Czech Version
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: levap at bansky.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Summary: Application with ImageList not start
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+If Windows.Forms application contains ImageList filled with images - it's
+imposible to even start this application.
+
+Steps to reproduce the problem:
+1. Create simple windows.forms application
+2. Put ImageList components and fill it with images
+3. Compile and Run
+
+Actual Results:
+Mono System.Windows.Forms Assembly [$auto_build_revision$]
+
+Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
+been thrown by the target of an invocation. ---> System.ArgumentException:
+Inval
+id 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)
+[0x00
+000]
+  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 (o
+bject,object[])
+  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
+invok
+eAttr, System.Reflection.Binder binder, System.Object[] parameters,
+System.Globa
+lization.CultureInfo culture) [0x00000] --- End of inner exception stack
+trace -
+--
+
+  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
+invok
+eAttr, System.Reflection.Binder binder, System.Object[] parameters,
+System.Globa
+lization.CultureInfo culture) [0x00000]
+  at System.Reflection.MethodBase.Invoke (System.Object obj,
+System.Object[] par
+ameters) [0x00000]
+  at System.Runtime.Serialization.ObjectRecord.LoadData
+(System.Runtime.Serializ
+ation.ObjectManager manager, ISurrogateSelector selector, StreamingContext
+conte
+xt) [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.ReadObjectGraph
+ (System.IO.BinaryReader reader, Boolean readHeaders, System.Object result,
+Syst
+em.Runtime.Remoting.Messaging.Header[] headers) [0x00000]
+  at
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeser
+ialize (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_typ
+e) [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
+ignoreC
+ase) [0x00000]
+  at System.Resources.ResourceManager.GetObject (System.String name,
+System.Glob
+alization.CultureInfo culture) [0x00000]
+  at System.Resources.ResourceManager.GetObject (System.String name) [0x00000]
+  at Mono_1_1_16_1_Test.MainForm.InitializeComponent () [0x00000]
+  at Mono_1_1_16_1_Test.MainForm..ctor () [0x00000]
+  at (wrapper remoting-invoke-with-check) Mono_1_1_16_1_Test.MainForm:.ctor ()
+  at Mono_1_1_16_1_Test.MainForm.Main (System.String[] args) [0x00000]
+
+Expected Results:
+Running application :)
+
+How often does this happen? 
+everytime - since the mono 1.1.15
+
+Additional Information:
+seems like still same problem
+http://bugzilla.ximian.com/show_bug.cgi?id=78128


More information about the mono-bugs mailing list