Copied to clipboard

Flag this post as spam?

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


  • Mitra 81 posts 196 karma points
    Nov 26, 2014 @ 14:17
    Mitra
    0

    Object reference not set to an instance of an object

    I am using Umbraco v6.1.6 for a quiet big project.

    It's all working fine. But there is a folder of Retailer with 20,30 retailers in it. I try to open them in Umbraco to make some changes and i get this error:

    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.

    All of the retailers open in the front end, no problem, but it's broken in CMS part.

    The interesting part is they open in the test server, but they don't open locally. I really don't know what to do. We have to make the changes locally along other changes and then upload the database and the code for the client in the test area to see. it means i cannot make the changes in the test area, because it will overwritten later by the local version.

    anybody knows what's the reason?

    Many Thanks in advance, Mitra

  • Hywel Rees 56 posts 224 karma points
    Nov 26, 2014 @ 14:29
    Hywel Rees
    0

    Are you able to post the stack trace?

    This will give a better clue as to whats going on.

  • Mitra 81 posts 196 karma points
    Nov 26, 2014 @ 14:40
    Mitra
    0

    Yes of course. 

    Many thanks,

    Mitra


    Stack Trace: 

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.businesslogic.property.Property..ctor(Property property) +91
       umbraco.cms.businesslogic.Content.b__e(Property x) +25
       System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +145
       System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) +454
       umbraco.cms.businesslogic.Content.InitializeProperties() +177
       umbraco.cms.businesslogic.Content.getProperty(String alias) +43
       umbraco.controls.ContentControl.LoadPropertyTypes(IContentTypeComposition contentType, TabPage tabPage, Hashtable inTab, Int32 tabId, String tabCaption) +426
       umbraco.controls.ContentControl.CreateChildControls() +854
       System.Web.UI.Control.EnsureChildControls() +83
       umbraco.controls.ContentControl.OnInit(EventArgs e) +91
       System.Web.UI.Control.InitRecursive(Control namingContainer) +134
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +191
       System.Web.UI.ControlCollection.Add(Control child) +86
       umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1678
       System.Web.UI.Control.InitRecursive(Control namingContainer) +134
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +489
    
  • Mitra 81 posts 196 karma points
    Nov 27, 2014 @ 13:25
    Mitra
    100

    I finally got the answer and resolved this.

    One of the document types in the page was using 'limit char' package. The package was broken locally(i'm not sure how?) so i was getting error when i was trying to open the cms page in umbraco.

    I though to leave this message here for those who might/will have similar problem.

    Mitra

     

  • Mitra 81 posts 196 karma points
    Jan 08, 2015 @ 12:20
    Mitra
    0
Please Sign in or register to post replies

Write your reply to:

Draft