Executable launch error

Hi,

I have created a language using MPS. To launch language, I have created bat-file and executable(.exe).

I have create the executable(.exe) with all the setups similar to bat-file including the classpath.

I am able to launch the executable successfully for the first time. Thereafter, when I try launch, it gives the following error. But, I have been successfully launched through bat-file any number of times.

Previously, I am using MPS 3.4.3 where I did not get any errors. This is happened when I upgrade to MPS-2017.2.

Any ideas ?

Error :

java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
    at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:210)
    at com.intellij.idea.MainImpl$1.lambda$null$0(MainImpl.java:49)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:345)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NullPointerException
    at com.intellij.openapi.components.impl.ComponentManagerImpl.lambda$getComponentConfigs$1(ComponentManagerImpl.java:300)
    at com.intellij.ide.plugins.PluginManagerCore.loadDescriptors(PluginManagerCore.java:792)
    at com.intellij.ide.plugins.PluginManagerCore.loadDescriptors(PluginManagerCore.java:993)
    at com.intellij.ide.plugins.PluginManagerCore.initializePlugins(PluginManagerCore.java:1186)
    at com.intellij.ide.plugins.PluginManagerCore.initPlugins(PluginManagerCore.java:1362)
    at com.intellij.ide.plugins.PluginManagerCore.getPlugins(PluginManagerCore.java:122)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentConfigs(ComponentManagerImpl.java:300)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:93)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:433)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:419)
    at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:203)
    ... 16 more

 

Please sign in to leave a comment.