Copied to clipboard

Flag this post as spam?

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


  • René 327 posts 852 karma points
    Mar 19, 2013 @ 09:03
    René
    0

    Preview - Not working

    HI

    I have a umbraco v 4.11.5 (Assembly version: 1.0.4807.33359) 

    Database msSQL 2008 10.0.1600.22 

    • When i create a new page the preview does not work.
    • When i save the page the previev does not work.
    • When i publish the page the previev works.
    • When i unpublish the page again the prewiev wont work
    I have tryed
    Deleting: \App_Data\TEMP\ClientDependency
    Reload entire site
    Touching webconfig
    Checked and compared with a fresh install of 4.11.5

     Instaled packages

    Is this a bug, or am i missing something?

    I get this error when trying to preview an unpublished node.

    Server Error in '/' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 

    [NullReferenceException: Object reference not set to an instance of an object.]

    umbraco.page.attrValue(XmlNode node, String attributeName) +10  
    umbraco.page.populatePageData(XmlNode node) +157
    umbraco.page..ctor(XmlNode node) +156
    umbraco.presentation.templateControls.ItemRenderer.GetFieldContents(Item item) +209   umbraco.presentation.templateControls.ItemRenderer.ParseMacros(Item item) +89   umbraco.presentation.templateControls.Item.OnLoad(EventArgs e) +32

       System.Web.UI.Control.LoadRecursive() +70
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3177

    The sites loads items

    When i debug the site all items loads (Screenshot from the debug)

     

    Plaease give me an answer. 

    I have tryed everything - that i can come up with.

    Kindly René

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 19, 2013 @ 22:03
    Jan Skovgaard
    100

    Hi René

    I have a suspicion that this is a bug.

    I will try to see if I can reproduce during this week on a fresh installation. But currently I've seen some shakyness in the way the preview function has been working since 4.7 I think.

    So actually I think you should post the above as an issue on the issue tracker in here issues.umbraco.org/issues/U4 - That way I know Sebastiaan will have a look and if he can reproduce it will be put in the pipeline of bugs needing to be fixed.

    /Jan

  • René 327 posts 852 karma points
    Mar 19, 2013 @ 22:44
    René
    0

    HI Jan 

    Tanks for your reply, i had the same thougths

    René

  • stephen 8 posts 53 karma points
    Jul 12, 2013 @ 16:22
    stephen
    0

    So what is required to resolve this?

  • René 327 posts 852 karma points
    Jul 12, 2013 @ 22:20
    René
    0

    HI Stephen 

    It works in umbraco version 6.1.2

    René

Please Sign in or register to post replies

Write your reply to:

Draft