[Mono-bugs] [Bug 456305] New: [Regression] mojoPortal fails with InvalidCastException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 3 20:17:45 EST 2008


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


           Summary: [Regression] mojoPortal fails with InvalidCastException
           Product: Mono: Class Libraries
           Version: 2.2.x
          Platform: i586
        OS/Version: SLED 10
            Status: NEW
          Severity: Blocker
          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 trying to access mojoportal, it fails with an InvalidCastException (see
the exact error below).

This was found in Mono 2.2p2 and mojoPortal 2.2.6.8.

This did not happen on Mono 2.0.1, so this is a regression.


Steps to reproduce the problem:
1. Install mono 2.2p2 and mojoportal
2. try to access mojoportal in a web browser
3. notice the error


Actual Results:
Server Error in '/' Application
Cannot cast from source type to destination type.

Description: HTTP 500. Error processing request.

Stack Trace:

System.InvalidCastException: Cannot cast from source type to destination type.
  at mojoPortal.Web.SiteModuleControl.OnInit (System.EventArgs e) [0x00000]#
  at mojoPortal.Web.ContentUI.HtmlModule.OnInit (System.EventArgs e) [0x00000]#
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control
namingContainer) [0x00000]#
  at System.Web.UI.Control.AddedControl (System.Web.UI.Control control, Int32
index) [0x00000]#
  at System.Web.UI.ControlCollection.Add (System.Web.UI.Control child)
[0x00000]#
  at mojoPortal.Web.CachedSiteModuleControl.CreateChildControls () [0x00000]#
  at System.Web.UI.Control.EnsureChildControls () [0x00000]#
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]#
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]#
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]#
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]#
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]#
  at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]#
  at System.Web.UI.Page.ProcessLoadComplete () [0x00000]#
  at System.Web.UI.Page.InternalProcessRequest () [0x00000]#
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000]#

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


Expected Results:
No error.

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