[Mono-bugs] [Bug 521584] New: ApplyStyleSheetSkin: null Page parameter causes NullReferenceException
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jul 13 11:39:44 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=521584
Summary: ApplyStyleSheetSkin: null Page parameter causes
NullReferenceException
Classification: Mono
Product: Mono: Class Libraries
Version: SVN
Platform: i386
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web
AssignedTo: mhabersack at novell.com
ReportedBy: kevin at kevinfitzgerald.net
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=304721)
--> (http://bugzilla.novell.com/attachment.cgi?id=304721)
Patch to fix the problem
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6)
Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)
System.Web.UI.Control.cs:
When a null Page object is passed into the ApplyStyleSheetSkin method, a
NullReferenceException is thrown because the Page object is assumed to be not
null.
Reproducible: Always
Steps to Reproduce:
1. Make sure control.EnableTheming is set to TRUE. (false won't trigger this
NRE)
2. Pass a null Page object into any control's ApplyStyleSheetSkin method
Actual Results:
NullReferenceException is thrown.
Expected Results:
If the page is null, just ignore the method call.
--
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