Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Error in a standard extension

(2) ShareShare
ReportReport
Posted on by 1,867
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?
 
  • Verified answer
    XB Profile Picture
    XB 1,867 on at
    Error in a standard extension
    Now is working fine.
     
    I remove customization and compile my model but only works when I compile again all modules.
  • Waed Ayyad Profile Picture
    Waed Ayyad 6,408 Super User 2024 Season 2 on at
    Error in a standard extension
    Hi,
     
    Did you try to remove the customizations and see if the error is still there?
     
     
    Thanks,
    Waed Ayyad
     
     
  • XB Profile Picture
    XB 1,867 on at
    Error in a standard extension
    yeah, I rebuild my model and all models.
  • Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    Error in a standard extension
    Ah, I was blind. :-)
     
    Unfortunately I have don't have many ideas. Did you rebuild the model after removing your changes?
  • XB Profile Picture
    XB 1,867 on at
    Error in a standard extension
    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
    Martin Dráb 230,445 Most Valuable Professional on at
    Error in a standard extension
    I'm sorry, but can you please help me to see it? I failed to find this information in your screenshots.
  • XB Profile Picture
    XB 1,867 on at
    Error in a standard extension
    No, as seen in the image dictmethod has information but shows the error in the getattribute
  • Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    Error in a standard extension
    Which is the reference containing null? The dictMethod variable?

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans