[Mono-bugs] [Bug 538404] New: ArgumentNullException when running precompiled web app in xsp2.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 11 09:52:39 EDT 2009


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


           Summary: ArgumentNullException when running precompiled web app
                    in xsp2.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: michael.nordseth at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.9.1.3)
Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)

Got following exception when running a precompiled web app in xsp2:

---
Server Error in '/' Application
Argument cannot be null. Parameter name: virtualPath

Description: HTTP 500. Error processing request.

Stack Trace:

System.ArgumentNullException: Argument cannot be null.
Parameter name: virtualPath
  at System.Web.VirtualPathUtility.IsAbsolute (System.String virtualPath)
[0x00000] 
  at System.Web.VirtualPathUtility.IsRooted (System.String virtualPath)
[0x00000] 
  at System.Web.Compilation.BuildManager.GetAbsoluteVirtualPath (System.String
virtualPath) [0x00000] 
  at System.Web.Compilation.BuildManager.FixVirtualPaths () [0x00000] 
  at System.Web.Compilation.BuildManager.LoadPrecompilationInfo () [0x00000] 
  at System.Web.Compilation.BuildManager..cctor () [0x00000] 
---


Reproducible: Always

Steps to Reproduce:
1. Precompile the attached solution in Visual Studio.
2. Move precompiled app to a linux machine with Mono 2.4.2.3
3. Run web app with XSP2, browse to Default.aspx.
Actual Results:  
Server Error in '/' Application
Argument cannot be null. Parameter name: virtualPath

Description: HTTP 500. Error processing request.

Stack Trace:

System.ArgumentNullException: Argument cannot be null.
Parameter name: virtualPath
  at System.Web.VirtualPathUtility.IsAbsolute (System.String virtualPath)
[0x00000] 
  at System.Web.VirtualPathUtility.IsRooted (System.String virtualPath)
[0x00000] 
  at System.Web.Compilation.BuildManager.GetAbsoluteVirtualPath (System.String
virtualPath) [0x00000] 
  at System.Web.Compilation.BuildManager.FixVirtualPaths () [0x00000] 
  at System.Web.Compilation.BuildManager.LoadPrecompilationInfo () [0x00000] 
  at System.Web.Compilation.BuildManager..cctor () [0x00000] 

Expected Results:  
Hello world.

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