5.1 Edit Blog Posts: Object Reference not set to an instance

Posted by Community Admin on 04-Aug-2018 16:36

5.1 Edit Blog Posts: Object Reference not set to an instance of an Object

All Replies

Posted by Community Admin on 15-Feb-2013 00:00

Hello,

One of the people in our Marketing department has been facing a recurring issue where he is unable to edit existing, published Blog posts. After making an edit and attempting to either Publish or Save as Draft, he gets a popup that informs him that there is an Error: Object Reference not set to an instance of an Object, and the information is not saved. The only recourse is to delete the post (which does in fact delete without error) and recreate it. This has happened to him a number of times over the past few days, although he was occasionally able to edit successfully. There doesn't seem to be a pattern to the posts he can edit versus those he can't.

I'd appreciate some advice on troubleshooting steps from here.

Thanks,
Stuart

Posted by Community Admin on 20-Feb-2013 00:00

Hi Stuart,

Do you get this behavior when running the project locally? Can you check the error logs under App_Data/Sitefinity for additional information on the error. They might give us a hint why it is raised.  

Regards,
Jen Peleva
the Telerik team

Posted by Community Admin on 25-Feb-2013 00:00

Hi,

Here is the message in the error log at the time of the same error yesterday:

------------------------------------------------------------------------
02/24/2013 15:52:47
Type : System.Web.HttpException, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : This is an invalid webresource request.
Source : System.Web
Help link : 
WebEventCode : 0
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : Void System.Web.IHttpHandler.ProcessRequest(System.Web.HttpContext)
HResult : -2147467259
Stack Trace :    at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Additional Info:

MachineName : WEB08VWIN-COLO
TimeStamp : 2/24/2013 8:52:47 PM
FullName : Telerik.Sitefinity.Utilities, Version=5.1.3210.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
AppDomainName : /LM/W3SVC/7/ROOT-1-130061770077523907
ThreadIdentity : 
WindowsIdentity : IIS APPPOOL\NewYork
Requested URL : nycues.sportsclubla.com/WebResource.axd


Category: ErrorLog

Priority: 0

EventId: 90000

Severity: Error

Title:Enterprise Library Exception Handling

Machine: WEB08VWIN-COLO

App Domain: /LM/W3SVC/7/ROOT-1-130061770077523907

ProcessId: 7844

Process Name: c:\windows\system32\inetsrv\w3wp.exe

Thread Name: 

Win32 ThreadId:6424

Extended Properties: 
----------------------------------------
----------------------------------------
Timestamp: 2/24/2013 9:05:50 PM

Message: HandlingInstanceID: d59e33c5-9be5-4ec4-b5b6-7e72b91f5cbc
An exception of type 'System.Web.HttpException' occurred and was caught.
------------------------------------------------------------------------

Hopefully this is related to the error. 

I can attach full log files if that would be helpful, just let me know what you'd like.

Stuart

Posted by Community Admin on 25-Feb-2013 00:00

Hi, 

I think that was the wrong error; I was just trying to go off by time. This time, our blogger gave me the error right after it happened and I was able to grab the end of the log: Object reference not set to an instance of an object.

Timestamp: 2/25/2013 9:56:36 PM

Message: HandlingInstanceID: 264720c8-51c4-4b84-ad77-47ebf5053262
An exception of type 'System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' occurred and was caught.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
02/25/2013 16:56:36
Type : System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Object reference not set to an instance of an object.
Source : mscorlib
Help link : 
Detail : An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.ServiceModel.Activities.WorkflowOperationContext.HandleEndResumeBookmark(IAsyncResult result)
   at System.ServiceModel.Activities.WorkflowOperationContext.OnResumeBookmark()
   at System.ServiceModel.Activities.WorkflowOperationContext..ctor(Object[] inputs, OperationContext operationContext, String operationName, Boolean performanceCountersEnabled, Boolean propagateActivity, Transaction currentTransaction, WorkflowServiceInstance workflowInstance, IInvokeReceivedNotification notification, WorkflowOperationBehavior behavior, ServiceEndpoint endpoint, TimeSpan timeout, AsyncCallback callback, Object state)
   at System.ServiceModel.Activities.Description.WorkflowOperationBehavior.WorkflowOperationInvoker.OnBeginServiceOperation(WorkflowServiceInstance workflowInstance, OperationContext operationContext, Object[] inputs, Transaction currentTransaction, IInvokeReceivedNotification notification, TimeSpan timeout, AsyncCallback callback, Object state)
   at System.ServiceModel.Activities.Dispatcher.ControlOperationInvoker.ControlOperationAsyncResult.PerformOperation()
   at System.ServiceModel.Activities.Dispatcher.ControlOperationInvoker.ControlOperationAsyncResult.HandleEndGetInstance(IAsyncResult result)
   at System.ServiceModel.Activities.Dispatcher.ControlOperationInvoker.ControlOperationAsyncResult.Process()
   at System.ServiceModel.Activities.Dispatcher.ControlOperationInvoker.ControlOperationAsyncResult..ctor(ControlOperationInvoker invoker, Object[] inputs, IInvokeReceivedNotification notification, TimeSpan timeout, AsyncCallback callback, Object state)
   at System.ServiceModel.Activities.Dispatcher.ControlOperationInvoker.InvokeBegin(Object instance, Object[] inputs, IInvokeReceivedNotification notification, AsyncCallback callback, Object state)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
Action : 
Code : System.ServiceModel.FaultCode
Reason : Object reference not set to an instance of an object.
Data : System.Collections.ListDictionaryInternal
TargetSite : Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
HResult : -2146233087
Stack Trace : 
Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Telerik.Sitefinity.ContentWorkflows.IService.SendMessage(String operationName, Boolean isCheckedOut, Guid workflowDefinitionId, Guid contentId, String providerName, Dictionary`2 contextBag)
   at Telerik.Sitefinity.ContentWorkflows.ServiceClient.SendMessage(String operationName, Boolean isCheckedOut, Guid workflowDefinitionId, Guid contentId, String providerName, Dictionary`2 contextBag)
   at Telerik.Sitefinity.Workflow.WorkflowManager.MessageWorkflow(String wokflowUrl, String operationName, WorkflowDefinition workflowDefinition, Guid contentId, String providerName, Boolean isCheckedOut, Dictionary`2 contextBag)
   at Telerik.Sitefinity.Workflow.WorkflowManager.MessageWorkflow(Guid itemId, Type itemType, String providerName, String operationName, Boolean isCheckedOut, Dictionary`2 contextBag)
   at Telerik.Sitefinity.Modules.ContentServiceBase`5.SaveContentUsingWorkflow(ContentItemContext`1 context, String parentId, String providerName, String workflowOperation)
   at Telerik.Sitefinity.Modules.ContentServiceBase`5.SaveContentInternal(ContentItemContext`1 context, String providerName, String workflowOperation)
   at SyncInvokeSaveContent(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

Additional Info:

MachineName : WEB08VWIN-COLO
TimeStamp : 2/25/2013 9:56:36 PM
FullName : Telerik.Sitefinity.Utilities, Version=5.1.3210.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
AppDomainName : /LM/W3SVC/9/ROOT-1-130062735795612301
ThreadIdentity : 
WindowsIdentity : IIS APPPOOL\SanFrancisco
Requested URL : sf.sportsclubla.com/.../


Category: ErrorLog

Priority: 0

EventId: 90000

Severity: Error

Title:Enterprise Library Exception Handling

Machine: WEB08VWIN-COLO

App Domain: /LM/W3SVC/9/ROOT-1-130062735795612301

ProcessId: 9944

Process Name: c:\windows\system32\inetsrv\w3wp.exe

Thread Name: 

Win32 ThreadId:4864

Extended Properties: 

Thanks,
Stuart

Posted by Community Admin on 28-Feb-2013 00:00

Hi Stuart,

Unfortunately, the exception is not informative enough to be sure what is causing the problem. I would recommend you to try to isolate this behavior (see under what conditions it gets reproduced) and open a support ticket, where our team will be able to investigate the problem in depth.

Kind regards,
Jen Peleva
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed