Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Exception in thread "AWT-EventQueue-0" , java.lang.​NullPointe​rException for MATLAB Command Window Usage

1 vue (au cours des 30 derniers jours)
Konark Kelaiya
Konark Kelaiya le 30 Juin 2014
Clôturé : Konark Kelaiya le 5 Août 2016
I have used
com.mathworks.mde.cmdwin.CmdWin.getInstance() , to get the insatnce of command window in script.
After creating Console Application using R2010b sp1,and running application, am getting below java nullpointer error upon application startup.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.mde.cmdwin.CmdWin$CWDTClientListener.run(CmdWin.java:407)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I have tried to include mde.jar in package but that didn't worked

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by