[Mono-bugs] [Bug 77308][Nor] Changed - resgen fails to compile VS.Net resources
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Sep 27 18:33:05 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 sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77308
--- shadow/77308 2006-01-19 13:41:18.000000000 -0500
+++ shadow/77308.tmp.31472 2006-09-27 18:33:05.000000000 -0400
@@ -52,6 +52,118 @@
problem looks related to Bug 43567.
------- Additional Comments From sandy.dunlop at gmail.com 2006-01-19 13:38 -------
Created an attachment (id=16377)
The resource file that causes resgen to fail
+
+------- Additional Comments From sebastien at ximian.com 2006-09-27 18:33 -------
+more complete stack trace
+
+mono --debug ~/svn/mcs/class/lib/default/resgen.exe 77308.resx
+System.Reflection.TargetInvocationException: Exception has been thrown
+by the target of an invocation. --->
+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) [0x0006d] in
+/home/poupou/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:180
+ at System.Drawing.Image.InitFromStream (System.IO.Stream stream)
+[0x000d3] in
+/home/poupou/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:265
+ at System.Drawing.Bitmap..ctor (System.IO.Stream stream, Boolean
+useIcm) [0x00018] in
+/home/poupou/svn/mcs/class/System.Drawing/System.Drawing/Bitmap.cs:105
+ at System.Drawing.Bitmap..ctor (System.IO.Stream stream) [0x00000]
+in /home/poupou/svn/mcs/class/System.Drawing/System.Drawing/Bitmap.cs:83
+ 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) [0x0015e] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ImageListStreamer.cs:101
+ 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)
+[0x00040] in
+/home/poupou/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:373
+--- 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)
+[0x00065] in
+/home/poupou/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:379
+ at System.Reflection.MethodBase.Invoke (System.Object obj,
+System.Object[] parameters) [0x00000] in
+/home/poupou/svn/mcs/class/corlib/System.Reflection/MethodBase.cs:86
+ at System.Runtime.Serialization.ObjectRecord.LoadData
+(System.Runtime.Serialization.ObjectManager manager,
+ISurrogateSelector selector, StreamingContext context) [0x000da] in
+/home/poupou/svn/mcs/class/corlib/System.Runtime.Serialization/ObjectManager.cs:541
+ at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00069]
+in
+/home/poupou/svn/mcs/class/corlib/System.Runtime.Serialization/ObjectManager.cs:78
+ at
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject
+(System.IO.BinaryReader reader) [0x0000f] in
+/home/poupou/svn/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectReader.cs:115
+ at
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph
+(System.IO.BinaryReader reader, Boolean readHeaders, System.Object&
+result, System.Runtime.Remoting.Messaging.Header[]& headers) [0x00044]
+in
+/home/poupou/svn/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectReader.cs:105
+ at
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize
+(System.IO.Stream serializationStream,
+System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00079] in
+/home/poupou/svn/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:172
+ at
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize
+(System.IO.Stream serializationStream) [0x00000] in
+/home/poupou/svn/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:129
+ at System.Resources.ResXResourceReader.load_data () [0x0015d] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Resources/ResXResourceReader.cs:229
+ at System.Resources.ResXResourceReader.basic_setup () [0x00032] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Resources/ResXResourceReader.cs:104
+ at System.Resources.ResXResourceReader..ctor (System.IO.Stream
+stream) [0x00035] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Resources/ResXResourceReader.cs:62
+ 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)
+[0x00040] in
+/home/poupou/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:373
+--- 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)
+[0x00065] in
+/home/poupou/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:379
+ at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
+System.Reflection.Binder binder, System.Object[] parameters,
+System.Globalization.CultureInfo culture) [0x00000] in
+/home/poupou/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:384
+ at System.Activator.CreateInstance (System.Type type, BindingFlags
+bindingAttr, System.Reflection.Binder binder, System.Object[] args,
+System.Globalization.CultureInfo culture, System.Object[]
+activationAttributes) [0x00123] in
+/home/poupou/svn/mcs/class/corlib/System/Activator.cs:230
+ at System.Activator.CreateInstance (System.Type type,
+System.Object[] args, System.Object[] activationAttributes) [0x00000]
+in /home/poupou/svn/mcs/class/corlib/System/Activator.cs:171
+ at System.Activator.CreateInstance (System.Type type,
+System.Object[] args) [0x00000] in
+/home/poupou/svn/mcs/class/corlib/System/Activator.cs:166
+ at ResGen.GetReader (System.IO.Stream stream, System.String name)
+[0x00070] in /home/poupou/svn/mcs/tools/resgen/monoresgen.cs:68
+ at ResGen.CompileResourceFile (System.String sname, System.String
+dname) [0x00009] in /home/poupou/svn/mcs/tools/resgen/monoresgen.cs:100
+
More information about the mono-bugs
mailing list