[Mono-winforms-list] ImageList in Mono 1.1.15

Pavel Bansky levap at bansky.net
Sat Apr 15 08:44:57 EDT 2006


happy easter to all,

I've found issue in Mono 1.1.15 on Windows - when I compile simple 
application containing only form and ImageList filled with bitmaps - 
than mono returns following lines. Should I report it in bugzilla?

  Pavel

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.
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 useIc
m)
in <0x0000f> System.Drawing.Bitmap:.ctor (System.IO.Stream stream)
in (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
(System.IO.S
tream)
in <0x004f9> System.Windows.Forms.ImageListStreamer:.ctor 
(System.Runtime.Serial
ization.SerializationInfo info, StreamingContext context)
in <0x00000> <unknown method>
in (wrapper managed-to-native) 
System.Reflection.MonoCMethod:InternalInvoke (obj
ect,object[])
in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, 
BindingFla
gs invokeAttr, System.Reflection.Binder binder, System.Object[] 
parameters, Syst
em.Globalization.CultureInfo culture)--- End of inner exception stack 
trace ---

in <0x0010e> System.Reflection.MonoCMethod:Invoke (System.Object obj, 
BindingFla
gs invokeAttr, System.Reflection.Binder binder, System.Object[] 
parameters, Syst
em.Globalization.CultureInfo culture)
in <0x0001a> System.Reflection.MethodBase:Invoke (System.Object obj, 
System.Obje
ct[] parameters)
in <0x001db> System.Runtime.Serialization.ObjectRecord:LoadData 
(System.Runtime.
Serialization.ObjectManager manager, ISurrogateSelector selector, 
StreamingConte
xt context)
in <0x00110> System.Runtime.Serialization.ObjectManager:DoFixups ()
in <0x00042> 
System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNex
tObject (System.IO.BinaryReader reader)
in <0x000a3> 
System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObj
ectGraph (System.IO.BinaryReader reader, Boolean readHeaders, 
System.Object resu
lt, System.Runtime.Remoting.Messaging.Header[] headers)
in <0x0011f> 
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:NoCh
eckDeserialize (System.IO.Stream serializationStream, 
System.Runtime.Remoting.Me
ssaging.HeaderHandler handler)
in <0x0000f> 
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Dese
rialize (System.IO.Stream serializationStream)
in <0x00032> System.Resources.ResourceReader:ReadNonPredefinedValue 
(System.Type
  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, 
Boolean
  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)


-- 
__________________________________________________________

Pavel Bánský
levap at bansky.net                        I write code...
__________________________________________________________


More information about the Mono-winforms-list mailing list