[Mono-bugs] [Bug 410608] New: resgen2 (1.9.1) crashes with NullReferenceException while compiling .NET created . resx file
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jul 18 16:55:45 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=410608
Summary: resgen2 (1.9.1) crashes with NullReferenceException
while compiling .NET created .resx file
Product: Mono: Tools
Version: unspecified
Platform: 32bit
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: resgen
AssignedTo: gert.driesen at pandora.be
ReportedBy: code at defx.de
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=228868)
--> (https://bugzilla.novell.com/attachment.cgi?id=228868)
the resx file
I'm trying to port a .NET C# 2.0 application to Linux but when it comes to
compiling a .resx file the build process stops due to an NullReferenceException
in resgen2.
Stack trace:
Read in 1 resources from '/home/sunside/.../views/WaitDialog.resx'
Error: Object reference not set to an instance of an object
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
at System.Drawing.Icon.SaveIconImage (System.IO.BinaryWriter writer,
IconImage ii) [0x00000]
at System.Drawing.Icon.SaveAll (System.IO.BinaryWriter writer) [0x00000]
at System.Drawing.Icon.Save (System.IO.Stream outputStream, Int32 width,
Int32 height) [0x00000]
at System.Drawing.Icon.Save (System.IO.Stream outputStream) [0x00000]
at
System.Drawing.Icon.System.Runtime.Serialization.ISerializable.GetObjectData
(System.Runtime.Serialization.SerializationInfo info, StreamingContext context)
[0x00000]
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.GetObjectData
(System.Object obj,
System.Runtime.Serialization.Formatters.Binary.TypeMetadata& metadata,
System.Object& data) [0x00000]
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObject
(System.IO.BinaryWriter writer, Int64 id, System.Object obj) [0x00000]
at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectInstance
(System.IO.BinaryWriter writer, System.Object obj, Boolean isValueObject)
[0x00000]
at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteQueuedObjects
(System.IO.BinaryWriter writer) [0x00000]
at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectGraph
(System.IO.BinaryWriter writer, System.Object obj,
System.Runtime.Remoting.Messaging.Header[] headers) [0x00000]
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
(System.IO.Stream serializationStream, System.Object graph,
System.Runtime.Remoting.Messaging.Header[] headers) [0x00000]
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
(System.IO.Stream serializationStream, System.Object graph) [0x00000]
at System.Resources.ResourceWriter.Generate () [0x00000]
at System.Resources.ResourceWriter.Dispose (Boolean disposing) [0x00000]
at System.Resources.ResourceWriter.Dispose () [0x00000]
at ResGen.CompileResourceFile (System.String sname, System.String dname,
Boolean useSourcePath) [0x00000]
at ResGen.Main (System.String[] args) [0x00000]
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list