[Mono-bugs] [Bug 55582][Nor] New - al.exe and satellite assemblies

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 15 Mar 2004 01:58:55 -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 giuseppe.greco@agamura.com.

http://bugzilla.ximian.com/show_bug.cgi?id=55582

--- shadow/55582	2004-03-15 01:58:55.000000000 -0500
+++ shadow/55582.tmp.20724	2004-03-15 01:58:55.000000000 -0500
@@ -0,0 +1,68 @@
+Bug#: 55582
+Product: Mono: Compilers
+Version: unspecified
+OS: Fedora 1.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: IL assembler
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: giuseppe.greco@agamura.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: al.exe and satellite assemblies
+
+Description of Problem:
+al.exe crashes when trying to generate satellite assemblies.
+
+Steps to reproduce the problem:
+1. Create a simple .resx like this:
+
+   <?xml version="1.0" encoding="ISO-8859-1"?>
+
+   <root>
+     <data name="String_MyText">
+       <value>My Text.</value>
+     </data>
+     <resheader name="ResMimeType">
+       <value>text/microsoft-resx</value>
+     </resheader>
+     <resheader name="Version">
+       <value>1.0</value>
+     </resheader>
+     <resheader name="Reader">
+       <value>System.Resources.ResXResourceReader</value>
+     </resheader>
+     <resheader name="Writer">
+       <value>System.Resources.ResXResourceWriter</value>
+     </resheader>
+   </root>
+
+2. Compile it with resgen:
+
+   resgen myApp.en-US.resx
+
+3. Try to generate a satellite assembly:
+
+   al /t:lib /embed:myApp.en-US.resources /c:en-US /out:myApp.resources.dll
+
+
+Actual Results:
+al.exe always crashes and produces the following error message:
+ 
+Unhandled Exception: System.NullReferenceException: A null value was
+found where an object instance was required
+in <0x00508> Mono.AssemblyLinker.AssemblyLinker:DoIt ()
+in <0x00020> Mono.AssemblyLinker.AssemblyLinker:DynMain (string[])
+in <0x0002d> Mono.AssemblyLinker.AssemblyLinker:Main (string[])
+
+
+Expected Results:
+al.exe should generate the satellite assembly.
+
+
+How often does this happen? 
+Always.