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: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs