[Mono-bugs] [Bug 77481][Wis] Changed - resgen croaks at empty mimetype attribute in .resx

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 27 18:24:10 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=77481

--- shadow/77481	2006-05-02 06:45:43.000000000 -0400
+++ shadow/77481.tmp.31366	2006-09-27 18:24:10.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 77481
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: gdh at acentral.co.uk               
@@ -37,6 +37,58 @@
 please *attach* the resx file here. The URL is now 404.
 
 ------- Additional Comments From gdh at acentral.co.uk  2006-05-02 06:45 -------
 Created an attachment (id=16893)
 file as requested
 
+
+------- Additional Comments From sebastien at ximian.com  2006-09-27 18:24 -------
+more complete stack trace of the problem
+
+resgen /compile  77481.resx
+System.Reflection.TargetInvocationException: Exception has been thrown
+by the target of an invocation. ---> System.IO.EndOfStreamException:
+Failed to read past end of stream.
+  at System.IO.BinaryReader.FillBuffer (Int32 bytes) [0x00000]
+  at System.IO.BinaryReader.ReadInt32 () [0x00000]
+  at
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.ReadBinaryHeader
+(System.IO.BinaryReader reader, System.Boolean& hasHeaders) [0x00000]
+  at
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize
+(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.ResXResourceReader.load_data () [0x00000]
+  at System.Resources.ResXResourceReader.basic_setup () [0x00000]
+  at System.Resources.ResXResourceReader..ctor (System.IO.Stream
+stream) [0x00000]
+  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)
+[0x00000] --- 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)
+[0x00000]
+  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
+System.Reflection.Binder binder, System.Object[] parameters,
+System.Globalization.CultureInfo culture) [0x00000]
+  at System.Activator.CreateInstance (System.Type type, BindingFlags
+bindingAttr, System.Reflection.Binder binder, System.Object[] args,
+System.Globalization.CultureInfo culture, System.Object[]
+activationAttributes) [0x00000]
+  at System.Activator.CreateInstance (System.Type type,
+System.Object[] args, System.Object[] activationAttributes) [0x00000]
+  at System.Activator.CreateInstance (System.Type type,
+System.Object[] args) [0x00000]
+  at ResGen.GetReader (System.IO.Stream stream, System.String name)
+[0x00000]
+  at ResGen.CompileResourceFile (System.String sname, System.String
+dname) [0x00000]
+


More information about the mono-bugs mailing list