lightbulb-o Problem with Modelio.getInstance().getModelingSession();

6 years 9 months ago #1765 by Heng
Hi All,
I'm new here. I've just started with Programming with Modelio API(Modlio 2.2)

I was about to write a Test Program in Eclipse (Juno jdk1.7) in order to test the API. Modelio.jar and Modelapi.jar are added to the Build Path.

But if I start the main, I get a NUllpointer Exception from
public static void main(String[] args) {
		
		IModelingSession session = Modelio.getInstance().getModelingSession();
 
	}

The Modelio runs already , and has a Project opened in it.
Could someone tell me , what I should do to get it right?

Best Regards
Heng

Please Log in or Create an account to join the conversation.

6 years 9 months ago - 6 years 9 months ago #1768 by ebr
see my response here.

Please Log in or Create an account to join the conversation.

Moderators: tmachmaab
Time to create page: 0.036 seconds
^ Back to Top