[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


           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:
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 - -
System.NullReferenceException: Object reference not set to an instance of an
  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
  at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String
eventArgument) [0x00029] in
(System.String eventArgument) [0x00000] in
  at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler
sourceControl, System.String eventArgument) [0x00000] in
  at System.Web.UI.Page.RaisePostBackEvents () [0x00024] in
  at System.Web.UI.Page.ProcessRaiseEvents () [0x0005b] in
  at System.Web.UI.Page.InternalProcessRequest () [0x001c5] in
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x0005b] in

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:  

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