[Mono-dev] AJAX Control Toolkit and System.NullReferenceException
Jens Wurster
jw at zaubercenter.de
Sat Aug 4 14:45:35 EDT 2007
Hello,
I am currently testing the "AJAX Control Toolkit". There are no problems
with most of the controls, only a couple of
doesn't work at the moment. I want to use this Toolkit, so I am anxious to
fix the occurring errors. I am new to mono,
so it's sometimes not easy to find and solve the problems. So far I have
fixed two issues (maybe somebody of the
development team want to know more about this?!).
Now, I am at a loss to fix the following error, can somebody help me,
please. =)
System.NullReferenceException: Object reference not set to an instance of an
object
at System.ComponentModel.EditorAttribute..ctor (System.Type type,
System.Type baseType) [0x00000] in
/root/mono-svn/mcs/class/System/System.ComponentModel/EditorAttribute.cs:61
at <0x00000> <unknown method>
at (wrapper managed-to-native)
System.MonoCustomAttrs:GetCustomAttributesInternal
(System.Reflection.ICustomAttributeProvider,System.Type,bool)
at System.MonoCustomAttrs.GetCustomAttributesBase
(ICustomAttributeProvider obj, System.Type attributeType) [0x00000] in
/root/mono-svn/mcs/class/corlib/System/MonoCustomAttrs.cs:82
at System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider
obj, System.Type attributeType, Boolean inherit) [0x00012] in
/root/mono-svn/mcs/class/corlib/System/MonoCustomAttrs.cs:120
at System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider
obj, Boolean inherit) [0x0002a] in
/root/mono-svn/mcs/class/corlib/System/MonoCustomAttrs.cs:242
at System.Reflection.MonoProperty.GetCustomAttributes (Boolean inherit)
[0x00000] in
/root/mono-svn/mcs/class/corlib/System.Reflection/MonoProperty.cs:201
at System.ComponentModel.ReflectionPropertyDescriptor..ctor
(System.Reflection.PropertyInfo info) [0x00000] in
/root/mono-svn/mcs/class/System/System.ComponentModel/ReflectionPropertyDesc
riptor.cs:57
at System.ComponentModel.TypeInfo.GetProperties () [0x00040] in
/root/mono-svn/mcs/class/System/System.ComponentModel/TypeDescriptor.cs:1077
at System.ComponentModel.TypeDescriptor.GetProperties (System.Object
component, Boolean noCustomTypeDesc) [0x0004f] in
/root/mono-svn/mcs/class/System/System.ComponentModel/TypeDescriptor.cs:667
at System.ComponentModel.TypeDescriptor.GetProperties (System.Object
component) [0x00000] in
/root/mono-svn/mcs/class/System/System.ComponentModel/TypeDescriptor.cs:623
at AjaxControlToolkit.ExtenderControlBase.CheckIfValid (Boolean
throwException) [0x00000]
at AjaxControlToolkit.ExtenderControlBase.EnsureValid () [0x00000]
at AjaxControlToolkit.DynamicPopulateExtenderControlBase.EnsureValid ()
[0x00000]
at AjaxControlToolkit.ExtenderControlBase.GetScriptDescriptors
(System.Web.UI.Control targetControl) [0x00000]
at
System.Web.UI.ExtenderControl.System.Web.UI.IExtenderControl.GetScriptDescri
ptors (System.Web.UI.Control targetControl) [0x00000]
at System.Web.UI.ScriptManager.RegisterScriptDescriptors (IExtenderControl
extenderControl) [0x00000]
at System.Web.UI.ExtenderControl.Render (System.Web.UI.HtmlTextWriter
writer) [0x00000]
at AjaxControlToolkit.ExtenderControlBase.Render
(System.Web.UI.HtmlTextWriter writer) [0x00000]
at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter
writer) [0x00048] in
/root/mono-svn/mcs/class/System.Web/System.Web.UI/Control.cs:1256
at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter
writer) [0x00073] in
/root/mono-svn/mcs/class/System.Web/System.Web.UI/Control.cs:1116
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren
(System.Web.UI.HtmlTextWriter w) [0x00034] in
/root/mono-svn/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlForm.cs:3
38
at System.Web.UI.HtmlControls.HtmlContainerControl.Render
(System.Web.UI.HtmlTextWriter writer) [0x00007] in
/root/mono-svn/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlContainer
Control.cs:124
at System.Web.UI.HtmlControls.HtmlForm.Render
(System.Web.UI.HtmlTextWriter w) [0x00000] in
/root/mono-svn/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlForm.cs:3
58
at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter
writer) [0x00048] in
/root/mono-svn/mcs/class/System.Web/System.Web.UI/Control.cs:1256
at System.Web.UI.HtmlControls.HtmlForm.RenderControl
(System.Web.UI.HtmlTextWriter w) [0x00000] in
/root/mono-svn/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlForm.cs:3
47
at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter
writer) [0x00073] in
/root/mono-svn/mcs/class/System.Web/System.Web.UI/Control.cs:1116
at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter writer)
[0x00000] in
/root/mono-svn/mcs/class/System.Web/System.Web.UI/Control.cs:1092
at System.Web.UI.Page.Render (System.Web.UI.HtmlTextWriter writer)
[0x0015c] in /root/mono-svn/mcs/class/System.Web/System.Web.UI/Page.cs:1001
at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter
writer) [0x00048] in
/root/mono-svn/mcs/class/System.Web/System.Web.UI/Control.cs:1256
at System.Web.UI.Page.InternalProcessRequest () [0x003ec] in
/root/mono-svn/mcs/class/System.Web/System.Web.UI/Page.cs:1438
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00058] in /root/mono-svn/mcs/class/System.Web/System.Web.UI/Page.cs:1202
Regards
Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070804/cca42825/attachment.html
More information about the Mono-devel-list
mailing list