[Mono-bugs] [Bug 393049] New: Error when trying to access type.Constructors
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed May 21 07:02:01 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=393049
Summary: Error when trying to access type.Constructors
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: ---
I get this exception when trying to access the constructors of a type:
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
at Mono.CSharp.TypeContainer.get_Constructors () [0x00000] in
/home/mkrueger/work/mdbranch/monodevelop/main/src/addins/CSharpBinding/Parser/mcs/mcs/class.cs:2739
at MonoDevelop.CSharpBinding.DomParser.ConvertType
(MonoDevelop.Projects.Dom.CompilationUnit unit, System.String nsName, IType
type) [0x0008a] in
/home/mkrueger/work/mdbranch/monodevelop/main/src/addins/CSharpBinding/Parser/DomParser.cs:126
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:263
at
MonoDevelop.Projects.Dom.Parser.ProjectDomService+<>c__CompilerGenerated37.<Refresh>c__38
() [0x00025] in
/home/mkrueger/work/mdbranch/monodevelop/main/src/core/MonoDevelop.Projects/MonoDevelop.Projects.Dom.Parser/ProjectParserService.cs:108
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
...
It seems that instance_constructors in TypeContainer may be null and this is
not checked in the property.
--
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