I'm currently getting the attached error. It refers to account menu item but I have had the error with various other glass mapped classes on the same page. It appears random as to which class causes the error and the error only rarely occurs.
To replicate the error I restart the website in IIS or rebuild the solution to restart the application, I then open the site in multiple browser windows (all chrome) and usually one of them will throw the error. The client has experienced the error at various times so I cant just put it down to application restarts.
To solve the error you just need to refresh the page once and everything is fine but this is not ideal for an actual user.
Thanks for any help in advance.
My project refs:
Castle.Windsor - 3.3.0.0
Glass.Mapper - 3.0.11.23
Glass.Mapper.Sc.CastleWindsor - 3.2.0.17
.net - 4.5
sitecore 7.2 (same error seen in 7.1)