web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Error in a standard extension

(1) ShareShare
ReportReport
Posted on by 1,875
A few days ago I was modifying the FreeTextInvoice report that we have customized.
Everything was working fine and suddenly from one day to the next it started giving the following error:
 
System.NullReferenceException: 'Object reference not set to an instance of an object.'
This exception was originally thrown at this call stack:
    [External Code]
    Dynamics.AX.Application.SrsReportProviderMetadata.`getReportSchema(Dynamics.AX.Application.SrsReportDataProvider) in AxClass_SrsReportProviderMetadata.xpp
    Dynamics.AX.Application.SrsReportProviderQueryBuilder.`initialize() in AxClass_SrsReportProviderQueryBuilder.xpp
    [External Code]

 
 
The error seems to come from the parmFreetextInvoiceHeaderFooterTmp_W method
 
 
 
 
 
I have restarted the reporting, the machine, cleaned caches, compiled all the models and nothing works.
I have removed the modifications and it doesn't work either, the error appears before reaching anything that is touched.
 
Any ideas what else I could try?
 
I have the same question (0)
  • Martin Dráb Profile Picture
    239,451 Most Valuable Professional on at
    Which is the reference containing null? The dictMethod variable?
  • XB Profile Picture
    1,875 on at
    No, as seen in the image dictmethod has information but shows the error in the getattribute
  • Martin Dráb Profile Picture
    239,451 Most Valuable Professional on at
    I'm sorry, but can you please help me to see it? I failed to find this information in your screenshots.
  • XB Profile Picture
    1,875 on at
    In the second screenshot, you can see that the dictmethod variable is informed, and the error is given when calling the getAttribute method
  • Martin Dráb Profile Picture
    239,451 Most Valuable Professional on at
    Ah, I was blind. :-)
     
    Unfortunately I have don't have many ideas. Did you rebuild the model after removing your changes?
  • XB Profile Picture
    1,875 on at
    yeah, I rebuild my model and all models.
  • Waed Ayyad Profile Picture
    9,135 Super User 2026 Season 1 on at
    Hi,
     
    Did you try to remove the customizations and see if the error is still there?
     
     
    Thanks,
    Waed Ayyad
     
     
  • Verified answer
    XB Profile Picture
    1,875 on at
    Now is working fine.
     
    I remove customization and compile my model but only works when I compile again all modules.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 608

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 591 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans