Copied to clipboard

Flag this post as spam?

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


  • Jeff Rohlman 6 posts 26 karma points
    Feb 28, 2013 @ 15:52
    Jeff Rohlman
    0

    Upgraded Umbraco 4.9 to 6.0 Issue in BackOffice with Saving Current and New Pages

    Looking for help regarding a recent updgrade to Umbraco 6.0.

    Website loads correctly and back-office (Admin Area)  looks as it did in the previous 4.9 version.    Following the general installation and specific installation instructions from here http://umbraco.codeplex.com/releases/view/101178.  

    So basically we went from 4.9 to 4.10 to 6.0 in our upgrade process.  At 4.10 we ran the fixup package before going to 6.0.

    Even though everything looks correct, when we attempt to save or even publish a current or new page we get an error message (attached).  I have pasted below as well:

    *****************************************************************

    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.Core.Models.ContentBase.SetValueOnProperty(String propertyTypeAlias, Object value) +189

       Umbraco.Core.Models.ContentBase.SetPropertyValue(String propertyTypeAlias, String value) +9

       CallSite.Target(Closure , CallSite , Object , String , Object ) +169

       System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3(CallSite site, T0 arg0, T1 arg1, T2 arg2) +468

       Umbraco.Core.Models.ContentBase.SetValue(String propertyTypeAlias, Object value) +243

       umbraco.cms.businesslogic.web.Document.Save() +178

       umbraco.cms.presentation.editContent.Save(Object sender, EventArgs e) +2154

       System.EventHandler.Invoke(Object sender, EventArgs e) +0

       umbraco.controls.ContentControl.saveClick(Object Sender, ImageClickEventArgs e) +337

       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +115

       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +124

       System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10

       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13

       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35

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

    *********************************************************************** 

    Has anyone else ran across this issue?  This entire upgrade process has been painful.  We have used application such as winmerge to go through and check all changes even before merging.  We feel as though we have thoroughly read through and performed all actions necessary for the upgrade. 

    Any insight would be greatly appreciated.  Thanks JR.

  • Rich Green 2246 posts 4008 karma points
    Feb 28, 2013 @ 15:59
    Rich Green
    0

    Hi Jeff,

    Welcome to the forum!

    First question is do you have any 3rd party or custom code that might do something on the save/create/publish a node?

    This might be via a dll or some code in the App_Code directory?

    Rich

  • Jeff Rohlman 6 posts 26 karma points
    Feb 28, 2013 @ 16:18
    Jeff Rohlman
    0

    No. I do not.  Thanks for the prompt reply.

  • Rich Green 2246 posts 4008 karma points
    Feb 28, 2013 @ 16:29
    Rich Green
    0

    Hi Jeff.

    I'm not sure what's causing the error, if it was me I would set up a fresh 6.0 install on the same machine, ensures that runs correctly, point the 'new' installs connection string to the 'old' db and see if it runs, then narrow down any problems  (like missing package files etc.)

    Rich

  • Jeff Rohlman 6 posts 26 karma points
    Feb 28, 2013 @ 16:41
    Jeff Rohlman
    0

    Ok thanks Rich.  We are actually doing that right now. 

     

    JR

  • Rich Green 2246 posts 4008 karma points
    Feb 28, 2013 @ 16:44
    Rich Green
    0

    Good luck, let us know how you get on.

    Rich

Please Sign in or register to post replies

Write your reply to:

Draft