[Mono-bugs] [Bug 67753][Nor] Changed - System.NullReferenceException retrieving System.Resources.ResourceManager resources
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 8 Mar 2005 06:31:32 -0500 (EST)
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 mono@burnsystems.de.
http://bugzilla.ximian.com/show_bug.cgi?id=67753
--- shadow/67753 2004-10-22 07:25:37.000000000 -0400
+++ shadow/67753.tmp.29865 2005-03-08 06:31:32.000000000 -0500
@@ -118,6 +118,64 @@
i.Save("frmMain.pictureBox4.Image.png",System.Drawing.Imaging.ImageFormat.Png
);
}
}
}
+
+------- Additional Comments From mono@burnsystems.de 2005-03-08 06:31 -------
+I got a similar Bug
+
+this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+
+let to
+
+Unhandled Exception: System.Reflection.TargetInvocationException:
+Exception has
+been thrown by the target of an invocation. --->
+System.NotImplementedException:
+ The requested feature is not implemented.
+in <0x00030> System.Drawing.Icon:.ctor
+(System.Runtime.Serialization.Serializati
+onInfo,System.Runtime.Serialization.StreamingContext)
+in (unmanaged) 00423CB5
+in <0x00004> (wrapper managed-to-native)
+System.Reflection.MonoCMethod:InternalI
+nvoke (object,object[])
+in <0x00059> System.Reflection.MonoCMethod:Invoke
+(object,System.Reflection.Bind
+ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
+--- End of inner exception stack trace ---
+
+in <0x000c3> System.Reflection.MonoCMethod:Invoke
+(object,System.Reflection.Bind
+ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
+in <0x00017> System.Reflection.MethodBase:Invoke (object,object[])
+in <0x00207> System.Runtime.Serialization.ObjectRecord:LoadData
+(System.Runtime.
+Serialization.ObjectManager,System.Runtime.Serialization.ISurrogateSelector,Syst
+em.Runtime.Serialization.StreamingContext)
+in <0x000fc> System.Runtime.Serialization.ObjectManager:DoFixups ()
+in <0x0003e>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNex
+tObject (System.IO.BinaryReader)
+in <0x000b0>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObj
+ectGraph
+(System.IO.BinaryReader,bool,object&,System.Runtime.Remoting.Messaging.
+Header[]&)
+in <0x00114>
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Dese
+rialize (System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler)
+in <0x00012>
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Dese
+rialize (System.IO.Stream)
+in <0x004f4> System.Resources.ResourceReader:ResourceValue (int)
+in <0x00023> ResourceEnumerator:get_Value ()
+in <0x0008f> System.Resources.ResourceSet:ReadResources ()
+in <0x00039> System.Resources.ResourceSet:GetObject (string,bool)
+in <0x0007d> System.Resources.ResourceManager:GetObject
+(string,System.Globaliza
+tion.CultureInfo)
+in <0x00010> System.Resources.ResourceManager:GetObject (string)
+
+Unter MS.Net everything runs fine