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

Regarding Runnable class issue

(1) ShareShare
ReportReport
Posted on by 31
Hi all, I wrote a simple runnable class code and tried to run it. Build is successfull, but unable to see the result. It is throwing the following error after clicking on start button 'object reference not set to an instance' . Please help to resolve this issue.
////

I have set the runnable class as Startup Object and also rebuilt the project. 
 
Code:
 
class PP_DataType
{
    public static void main(Args _args)
    {
        Info('Hello World from the Server Side');
    }
}
 
Please give me more insight on this.
 
Thanks!
  • Verified answer
    Mohamed Amine Mahmoudi Profile Picture
    26,826 Super User 2026 Season 1 on at
    Hi,
     
    Try to restart visual studio .
     
    BR
  • Suggested answer
    SS-21050922-0 Profile Picture
    31 on at
    Hi @Mohamed Amine Mahmoudi, thanks for your response.
     
    I restarted the Visual studio and it worked!!!

    Thanks!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 366

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 360 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans