[Mono-bugs] [Bug 517170] New: Search Page in mojoPortal throws a TypeLoadException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jun 28 10:13:28 EDT 2009


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


           Summary: Search Page in mojoPortal throws a TypeLoadException
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          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

Visiting the search page in mojoPortal using the latest release throws a type
load exception. Stack trace as follows

System.Reflection.ReflectionTypeLoadException: The classes in the module cannot
be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in
/home/jaudette/share/src/mono/mcs/class/corlib/System.Reflection/Assembly.cs:348 
  at System.Web.UI.TemplateParser.FindNamespaceInAssembly
(System.Reflection.Assembly asm, System.String namesp) [0x00000] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI/TemplateParser.cs:623 
  at System.Web.UI.TemplateParser.AddAssemblyForNamespace (System.String
namesp) [0x00067] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI/TemplateParser.cs:602 
  at System.Web.UI.TemplateParser.AddImport (System.String namesp) [0x00046] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI/TemplateParser.cs:584 
  at System.Web.UI.ControlBuilder.AddChild (System.Object child) [0x000c7] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI/ControlBuilder.cs:380 
  at System.Web.UI.ControlBuilder.AppendSubBuilder
(System.Web.UI.ControlBuilder subBuilder) [0x00043] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.UI/ControlBuilder.cs:430 
  at System.Web.Compilation.AspGenerator.CloseControl (System.String tagid)
[0x0012e] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs:1289 
  at System.Web.Compilation.AspGenerator.TagParsed (ILocation location, TagType
tagtype, System.String tagid, System.Web.Compilation.TagAttributes attributes)
[0x001a2] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs:858 
  at System.Web.Compilation.AspParser.OnTagParsed (TagType tagtype,
System.String id, System.Web.Compilation.TagAttributes attributes) [0x0001c] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.Compilation/AspParser.cs:572 
  at System.Web.Compilation.AspParser.Parse () [0x00113] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.Compilation/AspParser.cs:225 
  at System.Web.Compilation.AspGenerator.Parse (System.IO.TextReader reader,
System.String filename, Boolean doInitParser) [0x00029] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs:544 
  at System.Web.Compilation.GenericBuildProvider`1[TParser].Parse () [0x00000] 
  at System.Web.Compilation.GenericBuildProvider`1[TParser].GenerateCode ()
[0x00000] 
  at System.Web.Compilation.GenericBuildProvider`1[TParser].GenerateCode
(System.Web.Compilation.AssemblyBuilder assemblyBuilder) [0x00000] 
  at System.Web.Compilation.BuildManager.GenerateAssembly
(System.Web.Compilation.AssemblyBuilder abuilder,
System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp,
Boolean debug) [0x0007a] in
/home/jaudette/share/src/mono/mcs/class/System.Web/System.Web.Compilation/BuildManager

Reproducible: Always

Steps to Reproduce:
1.Using the latest mojoPortal and the latest Mono built from svn r137047
2.Visit the search page

Actual Results:  
TypeLoadException occurs

Expected Results:  
page will render and allow searching

Its not giving any clue about what type is failing to load. There are 2 other
places where it throws the same exception. If I create a page and put an
instance of our FeedManager on the page the page throws this exception.
If I put an instance of forums on a page and I create a forum and then try to
make a post in the forum it throws this exception.

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