[Mono-aspnet-list] How to fix ArgumentNullException exception running MVC application
Andrus
kobruleht2 at hot.ee
Fri Apr 1 12:18:38 EDT 2011
Trying to run MVC2 application returns 500 error.
Apache error_log content is below.
How to fix or debug this issue ?
Mono 2.10.1 is installed from official packages in plain centos.
Simple 1.aspx page from appl directory is opened OK.
Andrus.
[Fri Apr 01 19:04:59 2011] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Fri Apr 01 19:04:59 2011] [notice] Digest: generating secret for digest
authentication ...
[Fri Apr 01 19:04:59 2011] [notice] Digest: done
[Fri Apr 01 19:05:00 2011] [notice] Apache/2.2.3 (CentOS) configured --
resuming normal operations
Listening on: /tmp/mod_mono_server_global
Root directory: /
System.ArgumentNullException: Argument cannot be null.
Parameter name: path
at System.IO.FileSystemInfo.CheckPath (System.String path) [0x00000] in
<filename unknown>:0
at System.IO.DirectoryInfo..ctor (System.String path, Boolean
simpleOriginalPath) [0x00000] in <filename unknown>:0
at System.IO.DirectoryInfo..ctor (System.String path) [0x00000] in
<filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:.ctor
(string)
at Mono.WebServer.ModMonoWorker.GetOrCreateApplication (System.String
vhost, Int32 port, System.String filepath, System.String virt) [0x00000] in
<filename unknown>:0
at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
in <filename unknown>:0
at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000] in
<filename unknown>:0
[Fri Apr 01 19:05:06 2011] [error] (70014)End of file found: read_data
failed
[Fri Apr 01 19:05:06 2011] [error] Command stream corrupted, last command
was -1
[root at centos5-1 ~]# mono --version
Mono JIT compiler version 2.10.1 (tarball Wed Feb 23 20:24:20 UTC 2011)
Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
Misc: debugger softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)
More information about the Mono-aspnet-list
mailing list