[Mono-aspnet-list] Expired cookie causes NullReferenceException - Mono / MVC5 ASP.Net

Andres knocte at gmail.com
Thu Sep 28 06:18:39 UTC 2017


What version of mono is this?

Can you install debug symbols to get line numbers on that stacktrace?

On Wednesday, September 27, 2017 12:15 PM, Will Tyler wrote:
> Hi,
> I'm new to the group and looking for some insight on a problem that I 
> can't seem to figure out.  I have an ASP.Net MVC5 application running on 
> Ubuntu using Mono, Apache, and PostgreSQL.  When the authentication 
> cookie expires (such as when I re-visit the app 30 minutes later), I get 
> a System.NullReferenceException.
> 
> I'm just using simple forms based authentication.  No external 
> providers, nothing Windows specific (that I'm aware of), no two-factor 
> authentication, etc.  I'm at a loss here.  The only way to regain access 
> to the site is to delete cookies, open in another browser or incognito 
> window, or restart apache.
> 
> Has anyone run into this problem before?
> 
> Thanks in advance for any input.
> 
> Will (will at ndl.cc)
> 
> This is the output:
> 
> 
>   System.NullReferenceException
> 
> 
>     Object reference not set to an instance of an object
> 
> *Description:* HTTP 500.Error processing request.
> 
> *Details:* Non-web exception. Exception origin (name of application or 
> object): System.Web.
> 
> *Exception stack trace:*
> at System.Web.Profile.ProfileModule.OnEnter (System.Object o, 
> System.EventArgs eventArgs) <0x411ff2e0 + 0x0003b> in <filename 
> unknown>:0 at System.Web.HttpApplication+<RunHooks>c__Iterator0.MoveNext 
> () <0x4114c090 + 0x00552> in <filename unknown>:0 at 
> System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () 
> <0x41140000 + 0x031be> in <filename unknown>:0 at 
> System.Web.HttpApplication.Tick () <0x41138560 + 0x00057> in <filename 
> unknown>:0
> 
> 
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.dot.net
> http://lists.dot.net/mailman/listinfo/mono-aspnet-list
> 




More information about the Mono-aspnet-list mailing list