[Mono-bugs] [Bug 399138] NullReferenceException when compiling mono-tools/gendarme
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jun 10 22:06:32 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=399138
User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=399138#c1
Sebastien Pouliot <spouliot at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spouliot at novell.com
AssignedTo|mono-bugs at lists.ximian.com |martin at novell.com
--- Comment #1 from Sebastien Pouliot <spouliot at novell.com> 2008-06-10 20:06:31 MDT ---
sigh, we had a similar issue (fixed) this morning.
From
http://mono.ximian.com/monobuild/builds/HEAD/sles-10-i586/mono-tools/105421/logs/build.log
/usr/bin/gmcs -debug
-r:/usr/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
Some clown is calling CloseMethod() while current_method == null: at
System.Environment.get_StackTrace()
at Mono.CompilerServices.SymbolWriter.MonoSymbolWriter.CloseMethod()
at Mono.CSharp.SymbolWriter.CloseMethod()
at Mono.CSharp.SourceMethod.CloseMethod()
at Mono.CSharp.MethodData.Emit(Mono.CSharp.DeclSpace parent)
at Mono.CSharp.Method.Emit()
at Mono.CSharp.TypeContainer.EmitType()
at Mono.CSharp.RootContext.EmitCode()
at Mono.CSharp.Driver.Compile()
at Mono.CSharp.Driver.Main(System.String[] args)
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]: Leaving directory
`/tmp/monobuild/build/BUILD/mono-tools-105421/gendarme/console'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/tmp/monobuild/build/BUILD/mono-tools-105421/gendarme'
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.25022 (%install)
--
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