Copied to clipboard

Flag this post as spam?

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


  • Lee 1130 posts 3088 karma points
    Feb 11, 2010 @ 10:48
    Lee
    0

    BIG Bug Appeared :(

    I posted a few days ago about a bug that appeared and put it down to a DataType change - But it seems it was down to the first suspicion of using the publish at feature

    Symptom:

    Client set an article to publish at 8.30am this morning, as soon as 8.30am passes the article (node) doesn't publish but the entire tree in the admin is producing 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.

    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.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +54
       umbraco.controls.ContentControl..ctor(Content c, publishModes CanPublish, String Id) +756
       umbraco.cms.presentation.editContent.OnInit(EventArgs e) +368
       System.Web.UI.Control.InitRecursive(Control namingContainer) +333
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

    Would REALLY appreciate some help on this as I have just had a look around and cannot see what could cause it!

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Feb 11, 2010 @ 10:55
    Sebastiaan Janssen
    2

    I've seen this before and I don't exactly know what's causing it. Touching the web.config should solve this though.

    Check the umbracoLog and Windows event log for more errors at around 8:30, that might help finding out what happened.

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Feb 11, 2010 @ 10:57
    Aaron Powell
    0

    I think it's caused by not having a DLL for a data type

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Feb 11, 2010 @ 10:59
    Chris Houston
    0

    Hi Lee,

    Have you managed to replicate this on another installation?

    What version of Umbraco are you using?

    Cheers,

    Chris

  • Lee 1130 posts 3088 karma points
    Feb 11, 2010 @ 11:01
    Lee
    2

    Hey Sebastiaan - I love you :)

    I did what you suggested, downloaded the web.config added a random bit of white space and re-uploaded and its working again!!

    What heck is causing this???  I'll check the log table now too

  • Lee 1130 posts 3088 karma points
    Feb 11, 2010 @ 11:03
    Lee
    0

    @ Slace - Why would it only do this when you use the publish at option on a node?  And what DDL would I be missing if its a direct download from Codeplex?

    @Chris - Its 4.03 and I haven't tried to replicate yet

  • Lee 1130 posts 3088 karma points
    Feb 11, 2010 @ 11:39
    Lee
    0

    Ok this is the error that seems to send it all into chaos?  Anyone seen this before?

    Error publishing node: System.TypeInitializationException: The type initializer for 'umbraco.cms.businesslogic.datatype.controls.Factory' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.BusinessLogic.Utils.TypeFinder.FindClassesOfType[T](Boolean useSeperateAppDomain) at umbraco.cms.businesslogic.datatype.controls.Factory.Initialize() at umbraco.cms.businesslogic.datatype.controls.Factory..cctor() --- End of inner exception stack trace --- at umbraco.cms.businesslogic.datatype.DataTypeDefinition.get_DataType() at umbraco.cms.businesslogic.property.Property.MakeNew(PropertyType pt, Content c, Guid versionId) at umbraco.cms.businesslogic.Content.createNewVersion() at umbraco.cms.businesslogic.web.Document.PublishWithResult(User u) at umbraco.cms.businesslogic.web.Document.Publish(User u) at umbraco.presentation.publishingService.CheckPublishing(Object sender)

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Feb 11, 2010 @ 11:54
    Chris Houston
    3

    Hi Lee,

    Just googled it and came across another forum post related to the same error:

    http://our.umbraco.org/forum/core/general/6003-Object-reference-not-set-to-an-instance-of-an-object-in-Admin-Backend

    Morten Bock pointed that post to the following bug on Codeplex which currently has 35 votes!

    http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=24993

    It might not help, but if it is a confirmed issue maybe you can help add light to the codeplex issue.

    Cheers,

    Chris

  • Lee 1130 posts 3088 karma points
    Feb 11, 2010 @ 12:10
    Lee
    0

    Damn - That's not good!  Anyone on the core know if this has been sorted?

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Feb 11, 2010 @ 12:30
    Niels Hartvig
    0

    We're pushing this update to 4.0.4 (wonderful release number, no!) to be released ASAP.

  • Lee 1130 posts 3088 karma points
    Feb 11, 2010 @ 13:31
    Lee
    0

    Awesome... But am I going to be able to find this release?

    ..

    ..

    ..

    Get it... :P ... I'll be off now

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies