Info
此问题已关闭。 请重新打开它进行编辑或回答。
Exception in thread "AWT-EventQueue-0" , java.lang.NullPointerException for MATLAB Command Window Usage
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!