[Mono-bugs] [Bug 78128][Nor] New - ImageList couse termination of application Mono 1.1.15

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Apr 17 15:18:17 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.


--- shadow/78128	2006-04-17 15:18:17.000000000 -0400
+++ shadow/78128.tmp.25085	2006-04-17 15:18:17.000000000 -0400
@@ -0,0 +1,112 @@
+Bug#: 78128
+Product: Mono: Runtime
+Version: 1.1
+OS Details: XP SP 2 Czech version
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: levap at bansky.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: ImageList couse termination of application Mono 1.1.15
+Description of Problem:
+when I compile simple application containing only form and ImageList filled
+with bitmaps - then mono returns following lines. Source code for
+SharpDevelop 1.1  is attached.
+Steps to reproduce the problem:
+1. Create winform application
+2. Use ImageList components and fill it with pictures
+3. Run app. under mono
+Actual Results:
+Application don't start and returns error lines (in Additional informations)
+Expected Results:
+Application that wotks with imagelists
+How often does this happen? 
+every time
+Additional Information:
+Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
+been thrown by the target of an invocation. ---> System.ArgumentException:
+id Parameter. A null reference or invalid value was found.
+in <0x00084> System.Drawing.GDIPlus:CheckStatus (Status status)
+in <0x001e0> System.Drawing.Image:InitFromStream (System.IO.Stream stream)
+in <0x0001c> System.Drawing.Bitmap:.ctor (System.IO.Stream stream, Boolean
+in <0x0000f> System.Drawing.Bitmap:.ctor (System.IO.Stream stream)
+in (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor
+in <0x004f9> System.Windows.Forms.ImageListStreamer:.ctor
+ization.SerializationInfo info, StreamingContext context)
+in <0x00000> <unknown method>
+in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke
+in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj,
+gs invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
+em.Globalization.CultureInfo culture)--- End of inner exception stack trace ---
+in <0x0010e> System.Reflection.MonoCMethod:Invoke (System.Object obj,
+gs invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
+em.Globalization.CultureInfo culture)
+in <0x0001a> System.Reflection.MethodBase:Invoke (System.Object obj,
+ct[] parameters)
+in <0x001db> System.Runtime.Serialization.ObjectRecord:LoadData
+Serialization.ObjectManager manager, ISurrogateSelector selector,
+xt context)
+in <0x00110> System.Runtime.Serialization.ObjectManager:DoFixups ()
+in <0x00042>
+tObject (System.IO.BinaryReader reader)
+in <0x000a3>
+ectGraph (System.IO.BinaryReader reader, Boolean readHeaders, System.Object
+lt, System.Runtime.Remoting.Messaging.Header[] headers)
+in <0x0011f>
+eckDeserialize (System.IO.Stream serializationStream,
+ssaging.HeaderHandler handler)
+in <0x0000f>
+rialize (System.IO.Stream serializationStream)
+in <0x00032> System.Resources.ResourceReader:ReadNonPredefinedValue
+ exp_type)
+in <0x0031e> System.Resources.ResourceReader:ReadValueVer1 (System.Type type)
+in <0x00163> System.Resources.ResourceReader:ResourceValue (Int32 index)
+in <0x00028> System.Resources.ResourceReader+ResourceEnumerator:get_Value ()
+in <0x0007e> System.Resources.ResourceSet:ReadResources ()
+in <0x00049> System.Resources.ResourceSet:GetObject (System.String name,
+ ignoreCase)
+in <0x0007a> System.Resources.ResourceManager:GetObject (System.String
+name, Sys
+tem.Globalization.CultureInfo culture)
+in <0x00010> System.Resources.ResourceManager:GetObject (System.String name)
+in <0x000f7> Mono1_15_test.MainForm:InitializeComponent ()
+in <0x00013> Mono1_15_test.MainForm:.ctor ()
+in (wrapper remoting-invoke-with-check) Mono1_15_test.MainForm:.ctor ()
+in <0x00018> Mono1_15_test.MainForm:Main (System.String[] args)

More information about the mono-bugs mailing list