[Mono-aspnet-list] HttpException and System.NullReferenceException with MVC3 project

Daniel Lo Nigro lists at dan.cx
Fri Dec 28 00:48:48 UTC 2012


Hi there!
This looks similar to a bug that was solved back in 2011:
https://bugzilla.novell.com/show_bug.cgi?id=688794
Can you confirm how you installed Mono 3.0.1 (from source?), and if you're
using mod_mono or Mono FastCGI, have you tried the site using xsp4?


On Fri, Dec 28, 2012 at 4:23 AM, hlopezrd <hlopezrd at gmail.com> wrote:

> Hi to all,
> I have a MVC3 application that was running with some problem under mono
> 2.10.8 (I got "Type 0x15 not handled in custom attr value decoding" error
> with some views) so I try to run under mono 3.0.1 but I don't get the home
> page displayed, and in ubuntu server I got this error:
>
> An exception has occurred while generating HttpException page:
> System.NullReferenceException: Object reference not set to an instance of
> an
> object
>   at System.Web.Util.HttpEncoder.GetCustomEncoderFromConfig () [0x00000] in
> <filename unknown>:0
>   at System.Lazy`1[System.Web.Util.HttpEncoder].InitValue () [0x00000] in
> <filename unknown>:0
>
> The actual exception which was being reported was:
> System.Web.HttpException:  ---> System.NullReferenceException: Object
> reference not set to an instance of an object
>   at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp)
> [0x00000] in <filename unknown>:0
>   at System.Web.Compilation.BuildManager.GetCompiledType
> (System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0
>   at System.Web.Compilation.BuildManager.GetCompiledType (System.String
> virtualPath) [0x00000] in <filename unknown>:0
>   at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext
> context) [0x00000] in <filename unknown>:0
>   --- End of inner exception stack trace ---
>
> can you give me some ideas of what can I do?
> Thanks in advance for try help me with this.
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/HttpException-and-System-NullReferenceException-with-MVC3-project-tp4657878.html
> Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20121228/7ed15588/attachment.html>


More information about the Mono-aspnet-list mailing list