Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Exception retrieving custom activity info - Object reference not set to an instance of an object

Posted on by 240

After installation of December 2016 Update for Dynamics 365 I cannot edit Workflows. I'm getting following error when I try to open Draft workflow:

Error Details:

Exception retrieving custom activity info - Object reference not set to an instance of an object.


Full Stack:

[CrmException: Exception retrieving custom activity info - Object reference not set to an instance of an object.]
   at Microsoft.Crm.Workflow.ObjectModel.CustomActivityInfoMetadataBase.GetCustomActivityInfo(ActivityInfo activityInfo, Int32 isolationMode)
   at Microsoft.Crm.Workflow.ObjectModel.CustomActivityInfoMetadataBase.GetCustomActivityInfo(Guid pluginTypeId)
   at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureCustomActivityStepMenu(CommandBarPopup addStepButton)
   at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.BuildStepMenu()
   at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureWorkflowStepMenu()
   at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureMenus()
   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
   at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

[HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Other Message:


Error Number:

0x8004501D

*This post is locked for comments

  • Otakar Venta Profile Picture
    Otakar Venta 240 on at
    RE: Exception retrieving custom activity info - Object reference not set to an instance of an object

    Hi,

    the error message "Exception retrieving custom activity info" pointed my attention to "custom activity" and I knew that some custom activity was part of the solution "LDG AG Utilities". I have just tried to uninstall this solution and it resolved my problem. You can try uninstall all managed solutions and check if it resolves your problem. Good luck!

    Otakar

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Exception retrieving custom activity info - Object reference not set to an instance of an object

    Hi Otakar,

    How did you know which solution was causing it? I'm having the same problem but I don't have this solution installed.

    Thanks.

  • Verified answer
    Otakar Venta Profile Picture
    Otakar Venta 240 on at
    RE: Exception retrieving custom activity info - Object reference not set to an instance of an object

    I have resolved this issue by unistalling managed solution LDG AG Utilities 1.7.0.1

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans