Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Sales forum / Issue loading Product ...
Sales forum

Issue loading Product Categories

(0) ShareShare
ReportReport
Posted on by

Hello! Team is receiving error messages when trying to load Product Categories. We are getting a "Parent Category" error, are there any solutions to this or a way to load multiple Product Categories at a time?

Categories:
  • NG_ATL2019 Profile Picture
    NG_ATL2019 on at
    RE: Issue loading Product Categories

    ErrorDetails.jpg

  • NG_ATL2019 Profile Picture
    NG_ATL2019 on at
    RE: Issue loading Product Categories

    Here is a screenshot and error details:

    Unhandled exception:
    Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
    Message: An unexpected error occurred.Detail:
    <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
      <ActivityId>03930afc-8263-4011-b94d-57143fce4421</ActivityId>
      <ErrorCode>-2147220970</ErrorCode>
      <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
        <KeyValuePairOfstringanyType>
          <d2p1:key>ApiExceptionSourceKey</d2p1:key>
          <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Plugin/Microsoft.Crm.Common.ObjectModel.CategoryService</d2p1:value>
        </KeyValuePairOfstringanyType>
        <KeyValuePairOfstringanyType>
          <d2p1:key>ApiOriginalExceptionKey</d2p1:key>
          <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmException: An unexpected error occurred. ---&gt; System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Crm.Common.ObjectModel.CategoryService.GetMaxSequenceNumber(IBusinessEntity category, ExecutionContext context)
       at Microsoft.Crm.Common.ObjectModel.CategoryService.Update(IBusinessEntity entity, ExecutionContext context)
       --- End of inner exception stack trace ---
       at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass2_1.&lt;Execute&gt;b__0()</d2p1:value>
        </KeyValuePairOfstringanyType>
        <KeyValuePairOfstringanyType>
          <d2p1:key>ApiStepKey</d2p1:key>
          <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">04d3c3be-76a8-402a-b4ee-1163dcca2413</d2p1:value>
        </KeyValuePairOfstringanyType>
        <KeyValuePairOfstringanyType>
          <d2p1:key>ApiDepthKey</d2p1:key>
          <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">1</d2p1:value>
        </KeyValuePairOfstringanyType>
        <KeyValuePairOfstringanyType>
          <d2p1:key>ApiActivityIdKey</d2p1:key>
          <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">03930afc-8263-4011-b94d-57143fce4421</d2p1:value>
        </KeyValuePairOfstringanyType>
        <KeyValuePairOfstringanyType>
          <d2p1:key>ApiPluginSolutionNameKey</d2p1:key>
          <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
        </KeyValuePairOfstringanyType>
        <KeyValuePairOfstringanyType>
          <d2p1:key>ApiStepSolutionNameKey</d2p1:key>
          <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
        </KeyValuePairOfstringanyType>
      </ErrorDetails>
      <Message>An unexpected error occurred.</Message>
      <Timestamp>2019-06-13T13:08:45.0343603Z</Timestamp>
      <ExceptionRetriable>false</ExceptionRetriable>
      <ExceptionSource i:nil="true" />
      <InnerFault i:nil="true" />
      <OriginalException i:nil="true" />
      <TraceText i:nil="true" />
    </OrganizationServiceFault>

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich Super User 2024 Season 2 on at
    RE: Issue loading Product Categories

    Hi NG_ATL2019,

    Can you please post a screenshot of the error along with any associated error logs? This will help us to pinpoint the issue.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans