[Mono-bugs] [Bug 370444] New: [Regression] ClubWebSite errors with an NRE on first access

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 13 11:51:00 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=370444


           Summary: [Regression] ClubWebSite errors with an NRE on first
                    access
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: i586
               URL: http://www.go-mono.com/archive/1.9/
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: twiest at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Component Test


Description of Problem:
When you access ClubWebSite for the first time, it errors with an NRE. If you
hit refresh, then it works fine.

This did not happen under 1.2.6 and is therefore a regression.


Steps to reproduce the problem:
1. Download the Mono 1.9 vmware image
2. Open up ClubWebSite
3. Notice the error as below
4. Hit refresh
5. Notice that it now works
6. To get it to fail again, you have to restart apache


Actual Results:
Server Error in '/ClubWebSite' Application
Object reference not set to an instance of an object

Description: HTTP 500. Error processing request.

Stack Trace:

System.NullReferenceException: Object reference not set to an instance of an
object
  at System.Web.UI.TemplateParser.RegisterCustomControl (System.String
tagPrefix, System.String tagName, System.String src) [0x00000] 
  at System.Web.UI.TemplateControlParser.AddDirective (System.String directive,
System.Collections.Hashtable atts) [0x00000] 
  at System.Web.UI.PageParser.AddDirective (System.String directive,
System.Collections.Hashtable atts) [0x00000] 
  at System.Web.Compilation.AspGenerator.TagParsed (ILocation location, TagType
tagtype, System.String tagid, System.Web.Compilation.TagAttributes attributes)
[0x00000] 
  at System.Web.Compilation.AspParser.OnTagParsed (TagType tagtype,
System.String id, System.Web.Compilation.TagAttributes attributes) [0x00000] 
  at System.Web.Compilation.AspParser.Parse () [0x00000] 
  at System.Web.Compilation.AspGenerator.Parse (System.String file, Boolean
doInitParser) [0x00000] 
  at System.Web.Compilation.AspGenerator.Parse (System.String file) [0x00000] 
  at System.Web.Compilation.AspGenerator.Parse () [0x00000] 
  at
System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].Parse
() [0x00000] 
  at
System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].get_CodeCompilerType
() [0x00000] 
  at System.Web.Compilation.BuildManager.GetCodeDomProviderType
(System.Web.Compilation.BuildProvider provider) [0x00000] 
  at System.Web.Compilation.BuildManager+BuildItem..ctor
(System.Web.Compilation.BuildProvider provider) [0x00000] 
  at System.Web.Compilation.BuildManager.LoadBuildProviders (System.String
virtualPath, System.String virtualDir, System.Collections.Generic.Dictionary`2
vpCache, System.Web.Compilation.BuildKind& kind, System.String&
assemblyBaseName) [0x00000] 
  at System.Web.Compilation.BuildManager.BuildAssembly (System.String
virtualPath) [0x00000] 
  at System.Web.Compilation.BuildManager.GetCompiledType (System.String
virtualPath) [0x00000] 
  at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath
(System.String virtualPath, System.Type requiredBaseType) [0x00000] 
  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000] 
  at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext
context, System.String requestType, System.String url, System.String path)
[0x00000] 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url) [0x00000] 
  at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x00000] 

Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42


Expected Results:
The website should come up.


How often does this happen? 
every time.


-- 
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