[Mono-bugs] [Bug 380106] New: NullReferenceException in GridView with databinding
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Apr 15 13:27:04 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=380106
Summary: NullReferenceException in GridView with databinding
Product: Mono: Class Libraries
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web
AssignedTo: mhabersack at novell.com
ReportedBy: gert.driesen at pandora.be
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Running the attached repro results in the following exception:
System.NullReferenceException: Object reference not set to an instance of an
object at ASP.managephotos_aspx.__BuildControl__bctrl_6_DB_0 (System.Object
sender, System.EventArgs e) [0x00000] at System.Web.UI.Control.OnDataBinding
(System.EventArgs e) [0x00000] at System.Web.UI.Control.DataBind (Boolean
raiseOnDataBinding) [0x00000] at System.Web.UI.Control.DataBind () [0x00000]
at System.Web.UI.Control.DataBindChildren () [0x00000] at
System.Web.UI.Control.DataBind (Boolean raiseOnDataBinding) [0x00000] at
System.Web.UI.Control.DataBind () [0x00000] at
System.Web.UI.Control.DataBindChildren () [0x00000] at
System.Web.UI.Control.DataBind (Boolean raiseOnDataBinding) [0x00000] at
System.Web.UI.Control.DataBind () [0x00000] at
System.Web.UI.WebControls.GridView.CreateChildControls (IEnumerable data,
Boolean dataBinding) [0x00000] at
System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding
(IEnumerable data) [0x00000] at
System.Web.UI.WebControls.GridView.PerformDataBinding (IEnumerable data)
[0x00000] at
System.Web.UI.WebControls.DataBoundControl.InternalPerformDataBinding
(IEnumerable data) [0x00000] at
System.Web.UI.WebControls.DataBoundControl.OnSelect (IEnumerable data)
[0x00000] at System.Web.UI.DataSourceView.Select
(System.Web.UI.DataSourceSelectArguments selectArgs,
System.Web.UI.DataSourceViewSelectCallback callBack) [0x00000] at
System.Web.UI.WebControls.DataBoundControl.PerformSelect () [0x00000] at
System.Web.UI.WebControls.BaseDataBoundControl.DataBind () [0x00000] at
System.Web.UI.WebControls.GridView.DataBind () [0x00000] at
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound () [0x00000]
at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls ()
[0x00000] at System.Web.UI.Control.EnsureChildControls () [0x00000] at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] at
System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] at
System.Web.UI.Page.ProcessLoadComplete () [0x00000] at
System.Web.UI.Page.InternalProcessRequest () [0x00000] at
System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
To reproduce:
1. extract the attached gzipped tar archive.
2. run xsp2.
3. navigate to ManagePhotos.aspx using some browser.
--
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