Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Object could not be created because abstract method classname.XXX() has not been implemented.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am getting this weird error in a class. 

I have class A and 2 extended classes B and C. I have created an abstract method in class A and used them in B and C. It was working fine. But all of a sudden I get this error during compilation. Do you have any idea why this error pops up and what could be the possible solution?

Thanks

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Object could not be created because abstract method classname.XXX() has not been implemented.

    Thanks for your response. I have just investigated further and yes, it had a non-abstract implementation in another extended class (say C).

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 231,321 Most Valuable Professional on at
    RE: Object could not be created because abstract method classname.XXX() has not been implemented.

    It says that you forgot to provide an implementation of the abstract method. If B and C are not abstract, they both must have a (non-abstract) implementation of the abstract method from A.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans