Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • denisedelbando 141 posts 339 karma points
    Nov 18, 2014 @ 22:28
    denisedelbando
    0

    Occasionally getting runtime error when opening contour in backoffice.

    our production site gets this runtime error when opening contour. And when we look at the form in the public site, it says 'Object reference not set to an instance of an object'.

    Please help

    enter image description here

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Nov 18, 2014 @ 22:36
    Nicholas Westby
    0

    Look in your Umbraco log (App_Data/Logs/UmbracoTraceLog.txt) for more details about the error, such as a stack trace.

  • denisedelbando 141 posts 339 karma points
    Nov 18, 2014 @ 22:39
    denisedelbando
    0

    I apologize. i do not know how to paste something from the text editor with the format still there

  • denisedelbando 141 posts 339 karma points
    Nov 18, 2014 @ 22:39
    denisedelbando
    0

    2014-11-18 14:04:10,685 [10] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 344] An unhandled exception occurred

    System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.

       at Umbraco.Forms.Data.Storage.UserFormSecurityStorage.GetAllUserFormSecurity(Object userid)

       at Umbraco.Forms.UI.Pages.editFormsSecurity.OnInit(EventArgs e)

       at System.Web.UI.Control.InitRecursive(Control namingContainer)

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

       at System.Web.UI.Page.HandleError(Exception e)

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

       at System.Web.UI.Page.ProcessRequest()

       at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)

       at System.Web.UI.Page.ProcessRequest(HttpContext context)

       at ASP.umbraco_plugins_umbracocontour_editformssecurity_aspx.ProcessRequest(HttpContext context)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    2014-11-18 14:04:15,950 [10] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 291] An unhandled exception occurred

    System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.

       at Umbraco.Forms.Data.Storage.UserFormSecurityStorage.GetAllUserFormSecurity(Object userid)

       at Umbraco.Forms.UI.Pages.editFormsSecurity.OnInit(EventArgs e)

       at System.Web.UI.Control.InitRecursive(Control namingContainer)

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

       at System.Web.UI.Page.HandleError(Exception e)

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

       at System.Web.UI.Page.ProcessRequest()

       at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)

       at System.Web.UI.Page.ProcessRequest(HttpContext context)

       at ASP.umbraco_plugins_umbracocontour_editformssecurity_aspx.ProcessRequest(HttpContext context)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Nov 18, 2014 @ 22:42
    Nicholas Westby
    0

    I recommend you edit your posts to blank them out. It doesn't do much good to paste your entire trace log here. What you'll want to do is cause the error, then look at the last entry in your trace log. If that doesn't tell you exactly what's going on, you may then want to paste it here (just the relevant item, not the whole log).

  • denisedelbando 141 posts 339 karma points
    Nov 18, 2014 @ 22:43
    denisedelbando
    0

    the thing is, I got rid of the error by refreshing 3 times so its not a security error. Security was what I orignally thought but i dont think that is the issue

  • Comment author was deleted

    Nov 19, 2014 @ 10:17

    Could you set the customerrors to Off like it says currently in the error message (should just be an update of your web.config file) then we'll get to see the actual error

  • denisedelbando 141 posts 339 karma points
    Nov 20, 2014 @ 16:41
    denisedelbando
    0

    @tim, it is hard to reproduce. It just happens at random times. i will try in the staging site but so far i haven't had any problems. 

    I cannot do that in production though.

Please Sign in or register to post replies

Write your reply to:

Draft