Exception in thread "AWT-EventQueue-0" , java.lang.NullPointerException for MATLAB Command Window Usage
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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
Answers (0)
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!