Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We have some strange errors in the log of Umbraco Cloud project,
An unhandled exception occurred
System.NullReferenceException: There is no current PublishedContentRequest, it must be initialized before the RenderRouteHandler executes
at Umbraco.Web.Mvc.RenderRouteHandler.GetHttpHandler(RequestContext requestContext)
at System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context)
at System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e)
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Not sure how to find the reason, I see this error only on the live site.
It seems umbraco doesn't have a published content request set :
Are you doing something with route hijacking, content finders or virtual routes ?
I found url that caused this issue - https://site.com/index.php/Home/AppUpload/commentUpload
locally and on dev it shows 404 page
on live exception -
There is no current PublishedContentRequest, it must be initialized before the RenderRouteHandler executes
I think you are right, but I'm not able to find neither something with route hijacking, content finders or virtual routes in the project.
I just inherited this Cloud project so I'm a little bit confused :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted