필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 7 (최근 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개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by