Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Error: Map object not initiallized

Posted on by Microsoft Employee

Hello all,

I'm working on SSRS report, my requirement is it to get only those records whatever raw i select of a listpage's grid.

I'm able to generate report but when i apply controller class im getting error.

If you want to have a look at my code

following are screen shots.

RDP class

5226.DP-class.jpg

getTempTable method

7282.get.jpg

processReport method

7587.processReport.jpg

Controller class

1212.controller-class.jpg

setRange method of controller class

setRange-method.jpg

main method of controller class

main.jpg

I'm getting this error.

2620.12345.jpg

If i comment selected line of code in main method report will open but all records will come.

main-comment.jpg

After searching in google about this error i found a hot fix file to install in my system but that was for ax 2009 version. In 2012 it has been already released.

can anyone help me to fix it.?

*This post is locked for comments

  • Suggested answer
    Ankit Singh Profile Picture
    Ankit Singh 35 on at
    RE: Error: Map object not initiallized

    Could you please overide your query in below method of controller class-

    protected void prePromptModifyContract()
     {}

  • Ahmed Muhammad Alam Profile Picture
    Ahmed Muhammad Alam 3,085 on at
    RE: Error: Map object not initiallized

    Means how to fix it.

  • Martin Dráb Profile Picture
    Martin Dráb 230,056 Most Valuable Professional on at
    RE: Error: Map object not initiallized

    The problem is that you're trying to pick a contract from a collection that hasn't been initialized yet.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error: Map object not initiallized

    i want to keep this thread alive

  • Martin Dráb Profile Picture
    Martin Dráb 230,056 Most Valuable Professional on at
    RE: Error: Map object not initiallized

    You seem to have two threads about the same thing. Please choose which one you want to keep alive and I'll lock the other one.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans