"OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT&q

Posted by Community Admin on 03-Aug-2018 12:57

"OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT" when trying to publish the page

All Replies

Posted by Community Admin on 10-Jan-2017 00:00

We are experiencing an issue on our site that some times while publishing a page/content we are getting "OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT".  After checking all modules and logs we found that this issue comes from Sitefinity backend not from any of our modules. For the temporary fix we are restarting site from IIS and the error is gone and it allows to publish the site properly. 

The main issue comes from Sitefinity side when it tries to refresh the old cache and stuck in it. Due to this reason when anybody hits on ”Publish” button it is throwing error of “Object Error” and not allow to save new data. It is not able to clear the old cache and not able to generate a new cache of pages/contents (or better to say not able to save new data). But it is not affecting front end site that works fine.

I tried to find out why this is happening. I checked all logs when this issue came and found that none of our modules are throwing any error and found that Sitefinity’s internal code is throwing error which is as below.

----------------------------------------
Timestamp: 09/01/2017 03:23:16

Message: HandlingInstanceID: 809bf336-7274-4735-84f7-e02ee4bf8b54
An exception of type 'System.NullReferenceException' occurred and was caught.
-----------------------------------------------------------------------------
01/09/2017 03:23:16
Type : System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Object reference not set to an instance of an object.
Source : Telerik.Sitefinity
Help link : 
Data : System.Collections.ListDictionaryInternal
TargetSite : Void CleanDeadReferences()
HResult : -2147467261
Stack Trace :    at Telerik.Sitefinity.Data.CacheDependencyHandler.CleanDeadReferences()
   at Telerik.Sitefinity.Data.CacheDependencyHandler.BackgroundWork(Action work)

Additional Info:

MachineName : 667231-VS06
TimeStamp : 09/01/2017 03:23:16
FullName : Telerik.Sitefinity.Utilities, Version=7.2.5320.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
AppDomainName : /LM/W3SVC/20/ROOT-1-131283596997318294
ThreadIdentity : 
WindowsIdentity : NT AUTHORITY\NETWORK SERVICE

Category: ErrorLog, Priority: 0, EventId: 9010, Severity: Warning, Title:Enterprise Library Exception Handling, Machine: 667231-VS06
App Domain: /LM/W3SVC/20/ROOT-1-131283596997318294, ProcessId: 10292, Process Name: c:\windows\system32\inetsrv\w3wp.exe, 

Thread Name: Win32 ThreadId:20084

Extended Properties: 
----------------------------------------
We have implemented the fix for this as per this KB (http://knowledgebase.progress.com/articles/Article/object-reference-not-set-to-an-instance-of-an-object-when-trying-to-publish-a-page) but still the issue remains the same.

If anybody has gone through such an issue and know fix for it then please share your thoughts in this.

Many thanks in advance!!!!!

Posted by Community Admin on 06-Apr-2017 00:00
no answer
Posted by Community Admin on 25-Aug-2017 00:00
Did you ever get this sorted out? We are experiencing the same issues and can no longer sync/publish some content items.
This thread is closed