Why do I always get this error when I run Matlab?

조회 수: 20 (최근 30일)
Miguel Navarro Martínez
Miguel Navarro Martínez 2019년 6월 9일
답변: PIYUSH AGGARWAL 2019년 6월 10일
When I open Matlab, I always get the following lines
Exception in thread "AWT-EventQueue-0": java.lang.NullPointerException
at com.mathworks.mde.desk.MLToolstripFactory$4$1.setDCTAvailability(MLToolstripFactory.java:384)
at com.mathworks.mde.desk.MLFeatures.setMatlabReady(MLFeatures.java:79)
at com.mathworks.mde.desk.MLDesktop.handleMatlabReady(MLDesktop.java:1085)
at com.mathworks.mde.desk.MLDesktop.access$500(MLDesktop.java:219)
at com.mathworks.mde.desk.MLDesktop$7$1.run(MLDesktop.java:893)
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:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
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)
Can someone tell me where they're coming from? And if possible, how to fix it?

답변 (1개)

PIYUSH AGGARWAL
PIYUSH AGGARWAL 2019년 6월 10일
This is related to a Java issue, for which there is information at http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7075600
You can have a look on the similar thread mentioned above. Best would be to try to upgrade your MATLAB version

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by