[Mono-bugs] [Bug 494219] New: System.NullReferenceException while assembling bad il

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Apr 11 18:19:37 EDT 2009


           Summary: System.NullReferenceException while assembling bad il
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.4.x
          Platform: i586
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: IL assembler
        AssignedTo: jankit at novell.com
        ReportedBy: stephen at gennard.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=285313)
 --> (http://bugzilla.novell.com/attachment.cgi?id=285313)

Description of Problem:

Steps to reproduce the problem:
1. save attachment as crashilasm.il 
2. ilasm crashilasm.il

Actual Results:
Assembling 'crashilasm.il' , no listing file, to exe --> 'crashilasm.exe'

crashilasm.il (23, 32): 
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at Mono.ILASM.MethodDef.GetNamedLocalSlot (System.String name) [0x00000] 
  at Mono.ILASM.ILParser.yyparse (yyInput yyLex) [0x00000] 
  at Mono.ILASM.ILParser.yyparse (yyInput yyLex, System.Object yyd) [0x00000] 
  at Mono.ILASM.Driver+DriverMain.ProcessFile (System.String file_path)

Expected Results:

An appropriate error message instead. 

How often does this happen? 

Additional Information:

Configure bugmail: http://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