[Mono-bugs] [Bug 390801] New: Null reference when trying to access LocationBlock of Method.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu May 15 10:16:05 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=390801
Summary: Null reference when trying to access LocationBlock of
Method.
Product: Mono: Compilers
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: msafar at novell.com
ReportedBy: mkrueger at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Hi
I always get this if I try to use it:
(seems that there is missing a null check in the property)
System.NullReferenceException: Object reference not set to an instance of an
object
at Mono.CSharp.MethodCore.get_LocationBlock () [0x00000] in
/home/mkrueger/work/mdbranch/monodevelop/main/src/addins/CSharpBinding/Parser/mcs/mcs/class.cs:3455
at MonoDevelop.CSharpBinding.DomParser.ConvertType
(MonoDevelop.Projects.Dom.CompilationUnit unit, System.String nsName, IType
type) [0x00099] in
/home/mkrueger/work/mdbranch/monodevelop/main/src/addins/CSharpBinding/Parser/DomParser.cs:124
at MonoDevelop.CSharpBinding.DomParser.Parse (System.String fileName,
System.String content) [0x000d0] in
/home/mkrueger/work/mdbranch/monodevelop/main/src/addins/CSharpBinding/Parser/DomParser.cs:249
at MonoDevelop.Projects.Dom.Parser.ProjectDomService.LoadCombine
(MonoDevelop.Projects.Combine combine) [0x00094] in
/home/mkrueger/work/mdbranch/monodevelop/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects.Dom.Parser/ProjectParserService.cs:134
at MonoDevelop.Ide.Gui.ProjectOperations.backgroundLoadCombine (System.Object
arg) [0x00279] in
/home/mkrueger/work/mdbranch/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ProjectOperations.cs:437
--
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