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!
@ 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
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)
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:
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!
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.
I think it's caused by not having a DLL for a data type
Hi Lee,
Have you managed to replicate this on another installation?
What version of Umbraco are you using?
Cheers,
Chris
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
@ 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
Ok this is the error that seems to send it all into chaos? Anyone seen this before?
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
Damn - That's not good! Anyone on the core know if this has been sorted?
We're pushing this update to 4.0.4 (wonderful release number, no!) to be released ASAP.
Awesome... But am I going to be able to find this release?
..
..
..
Get it... :P ... I'll be off now
is working on a reply...
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.