+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / 5.1 Edit Blog Posts: Object Reference not set to an instance of an Object

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

5 posts, 0 answered
  1. Stuart
    Stuart avatar
    33 posts
    Registered:
    01 Nov 2012
    15 Feb 2013
    Link to this post

    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

  2. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    20 Feb 2013
    Link to this post
    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
  3. Stuart
    Stuart avatar
    33 posts
    Registered:
    01 Nov 2012
    25 Feb 2013 in reply to Jen Peleva
    Link to this post

    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 : http://nycues.sportsclubla.com/WebResource.axd?d=GsYUlufx05o-xQ_2Kgkto1HnvTD5fy_EKF_DKisX04uak2NwImUxuOEaCUXWB4y8I0NqAp8IAShZwxneLtRwrpf4oZuvCi_w0d97U-Z2fJ_dZmervJUrbMHiA2D-bFKBx5vho3Z2r6t7q95vTXFW-w2&t=634840747600161649


    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

  4. Stuart
    Stuart avatar
    33 posts
    Registered:
    01 Nov 2012
    25 Feb 2013 in reply to Stuart
    Link to this post

    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 : http://sf.sportsclubla.com/Sitefinity/Services/Content/EventService.svc/00000000-0000-0000-0000-000000000000/?itemType=Telerik.Sitefinity.Events.Model.Event&OpenAccessDataProviderproviderName=&managerType=&provider=&workflowOperation=SaveDraft


    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

  5. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    28 Feb 2013
    Link to this post
    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
5 posts, 0 answered