Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

MR Failed to generate all the reports

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

MR was running good, but today we found in the reports queue, all the reports have the status : Failed

check the log file, it shows me "System.NullReferenceException: Object reference not set to an instance of an object."

Anyone can help me or guide me? 

Thanks

The followings are the detail error message

Microsoft.Dynamics.Performance.DataProvider.Core.RequestException: The source system request did not complete successfully. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.DimensionMemberAccessBase`3.FindCurrent(MultiMap`2 multiMap, String name)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.AccountFilterTransformer.FillDimensionFilterSet(Dictionary`2 dimensionFilterSet, GLSegmentCriteria accountCriteria)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.AccountFilterTransformer.FillDimensionFilterSet(Dictionary`2 dimensionFilterSet, GLFilterCriteria filterCriteria)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.AccountFilterTransformer.FillDimensionFilterSet(Dictionary`2 dimensionFilterSet, GLFilterCriteria filterCriteria)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.AccountFilterTransformer.FillScratchTempTable(GLAccountFilterCollection accountFilters)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.BalanceRequestHandler.CreateReaders(GLProvider provider, SqlConnection connection)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.GLProvider.HandleBalanceRequest(GLBalanceRequest request)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.GLSystemProvider.HandleRequest(GLBalanceRequest request)
at Microsoft.Dynamics.Performance.DataProvider.Core.SourceSystemRequest.Handle[TRequest](SourceSystemProvider provider, TRequest request)
at Microsoft.Dynamics.Performance.DataProvider.Core.SourceSystemProvider.SubmitRequest(SourceSystemRequest request)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.Performance.DataProvider.Core.SourceSystemProvider.SubmitRequest(SourceSystemRequest request)
at Microsoft.Dynamics.Performance.DataProvider.Core.SourceSystemProvider.HandleSubmit(SourceSystemRequest request)
at Microsoft.Dynamics.Performance.DataProvider.Core.SourceSystemConnection.Submit(SourceSystemRequest request)
at Microsoft.Dynamics.Performance.Reporting.DataProvider.Server.DirectLinkService.SubmitRequestDirect(SourceSystemConnection connection, GLRequest request)
at Microsoft.Dynamics.Performance.Reporting.Engine.Server.ProviderLink.SubmitRequest(GLRequest request, ProviderConnection context)
at Microsoft.Dynamics.Performance.Reporting.Engine.Server.ProviderLink.SubmitBalanceRequest(ProviderConnection context, GLBalanceRequest balanceRequest)
at Microsoft.Dynamics.Performance.Reporting.Engine.Server.GLLinkAdapter.RetrieveGLDataBatch(Int32 rowNumber)
at Microsoft.Dynamics.Performance.Reporting.Engine.Server.GLLinkAdapter.GetData()



System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.DimensionMemberAccessBase`3.FindCurrent(MultiMap`2 multiMap, String name)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.AccountFilterTransformer.FillDimensionFilterSet(Dictionary`2 dimensionFilterSet, GLSegmentCriteria accountCriteria)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.AccountFilterTransformer.FillDimensionFilterSet(Dictionary`2 dimensionFilterSet, GLFilterCriteria filterCriteria)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.AccountFilterTransformer.FillDimensionFilterSet(Dictionary`2 dimensionFilterSet, GLFilterCriteria filterCriteria)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.AccountFilterTransformer.FillScratchTempTable(GLAccountFilterCollection accountFilters)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.Data.BalanceRequestHandler.CreateReaders(GLProvider provider, SqlConnection connection)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.DataMart.GLProvider.HandleBalanceRequest(GLBalanceRequest request)
at Microsoft.Dynamics.Performance.DataProvider.GeneralLedger.GLSystemProvider.HandleRequest(GLBalanceRequest request)
at Microsoft.Dynamics.Performance.DataProvider.Core.SourceSystemRequest.Handle[TRequest](SourceSystemProvider provider, TRequest request)
at Microsoft.Dynamics.Performance.DataProvider.Core.SourceSystemProvider.SubmitRequest(SourceSystemRequest request)

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MR Failed to generate all the reports

    Hi Butch,

    Thanks for your response, the following are my answers for your questions

    the reports were running good this Monday but were not running Tuesday.

    When I click the Generate button of the report, it runs but later it shows me failed.

    we do not add any new company in AX,

    I am not sure if anyone rename the subaccount segments

  • Butch Adams Profile Picture
    Butch Adams 4,757 on at
    RE: MR Failed to generate all the reports

    So the reports were fine and then quit running out of the blue?

    Do the reports run when you kick them off yourself?

    Is there a new company in the database without any transactions?

    Did someone rename any of the subaccount segments?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MR Failed to generate all the reports

    I rebuilt the data mart DB, it solved the issue, but I still do not know the root cause

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans