[Mono-bugs] [Bug 399138] New: NullReferenceException when compiling mono-tools/gendarme

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 10 21:41:29 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=399138


           Summary: NullReferenceException when compiling mono-
                    tools/gendarme
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ceronman at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


mcs SVN Revision 105534 throws this exception when trying to compile
mono-tools:

make[2]: se ingresa al directorio
`/home/ceronman/sources/mono/mono-tools/gendarme/console'
/home/ceronman/apps/mono/bin/gmcs -debug
-r:/home/ceronman/apps/mono/lib/mono/gac/Mono.Cecil/0.6.8.8607__0738eb9f132ed756/Mono.Cecil.dll
-r:System.Xml.Linq -r:../bin/Gendarme.Framework.dll \
                -out:../bin/gendarme.exe ./../AssemblyStaticInfo.cs
/ConsoleRunner.cs ./Settings.cs ./Helpers.cs ./IgnoreFileList.cs ./Options.cs
/ResultWriter.cs ./HtmlResultWriter.cs ./TextResultWriter.cs
/XmlResultWriter.cs ../AssemblyInfo.cs  -resource:gendarme.xsl,gendarme.xsl 
-resource:gendarme.xsd,gendarme.xsd

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at Mono.CompilerServices.SymbolWriter.MethodEntry..ctor
(Mono.CompilerServices.SymbolWriter.MonoSymbolFile file,
Mono.CompilerServices.SymbolWriter.CompileUnitEntry comp_unit, Int32 token,
Mono.CompilerServices.SymbolWriter.ScopeVariable[] scope_vars,
Mono.CompilerServices.SymbolWriter.LocalVariableEntry[] locals,
Mono.CompilerServices.SymbolWriter.LineNumberEntry[] lines,
Mono.CompilerServices.SymbolWriter.CodeBlockEntry[] code_blocks, System.String
real_name, Flags flags, Int32 namespace_id) [0x00000] 
  at
Mono.CompilerServices.SymbolWriter.MonoSymbolWriter+SourceMethod.DefineMethod
(Mono.CompilerServices.SymbolWriter.MonoSymbolFile file) [0x00000] 
  at Mono.CompilerServices.SymbolWriter.MonoSymbolWriter.WriteSymbolFile (Guid
guid) [0x00000] 
  at Mono.CSharp.SymbolWriter+SymbolWriterImpl.WriteSymbolFile () [0x00000] 
  at Mono.CSharp.SymbolWriter.WriteSymbolFile () [0x00000] 
  at Mono.CSharp.CodeGen.Save (System.String name) [0x00000] 
  at Mono.CSharp.Driver.Compile () [0x00000] 
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] 
make[2]: *** [../bin/gendarme.exe] Error 1
make[2]: se sale del directorio
`/home/ceronman/sources/mono/mono-tools/gendarme/console'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio
`/home/ceronman/sources/mono/mono-tools/gendarme'
make: *** [all-recursive] Error 1


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list