[Mono-bugs] [Bug 517168] New: UpdatePanel in 3.5 throws null reference exceptions when a button inside it is clicked

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jun 28 09:37:32 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=517168


           Summary: UpdatePanel in 3.5 throws null reference exceptions
                    when a button inside it is clicked
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: joe_audette at yahoo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11)
Gecko/2009060200 SUSE/3.0.11-0.1.1 Firefox/3.0.11

This problem used to happen in the 1.0 AJAX/2.0 runtime version but was fixed.
However the 3.5 AJAX version has this bug.
If you use the latest mojoPortal release or mojoportal built from svn using
MonoDevelop, this bug manifests everywhere we use an UpdatePanel.
One example is when adding categories to a blog post the category is added but
the page does not refresh.
Stacktrace is as follows:
2009-06-28 09:24:24,706 ERROR mojoPortal.Web.mojoBasePage - 127.0.0.1-en-US -
/Blog/EditPost.aspx?pageid=2&ItemID=2&mid=2 
System.NullReferenceException: Object reference not set to an instance of an
object
  at mojoPortal.Web.BlogUI.BlogEdit.btnAddCategory_Click (System.Object sender,
System.EventArgs e) [0x00000] 
  at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00027] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI.WebControls/Button.cs:248 
  at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String
eventArgument) [0x00029] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI.WebControls/Button.cs:278 
  at
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent
(System.String eventArgument) [0x00000] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI.WebControls/Button.cs:240 
  at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler
sourceControl, System.String eventArgument) [0x00000] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI/Page.cs:1767 
  at System.Web.UI.Page.RaisePostBackEvents () [0x00024] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI/Page.cs:1722 
  at System.Web.UI.Page.ProcessRaiseEvents () [0x0005b] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI/Page.cs:1614 
  at System.Web.UI.Page.InternalProcessRequest () [0x001c5] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI/Page.cs:1535 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x0005b] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI/Page.cs:1353 

Reproducible: Always

Steps to Reproduce:
1. Use the latest release or svn build of mojoPortal with Mono built from svn,
I'm using Mono r137047
2.Create a blog post and add a category
3.The error is logged in the mojoportal log, the UpdatePanel does not update
the screen
Actual Results:  
NullRefeeceneException

Expected Results:  
UpdatePanel refreshes screen

-- 
Configure bugmail: http://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