Error when starting up Matlab 2018b

1 回表示 (過去 30 日間)
Xining Yu
Xining Yu 2018 年 12 月 23 日
回答済み: Roman Gorlov 2019 年 4 月 19 日
hello there,
I am experienceing the following errors, when I start the Matalb 2018b.
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(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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)

回答 (3 件)

Roman Gorlov
Roman Gorlov 2019 年 4 月 19 日
I received this comments from tthe helpfull mathworks support, but not hiding the toolstrip the issue was solved for me. Apparantly it was an issue that happened whenever the parallel computing toolbox is installed but not licensed.
This is a known bug in R2018b which is fixed in R2019a and newer, which seems to pop-up on setups like yours.
To resolve this issue please see the information below (this resolved it for other customers in the past):
The error message itself should indeed be harmless and can be ignored. To get rid of the error message either:
1. Do not hide the Toolstrip, or
2. Make sure a valid Parallel Computing Toolbox license is installed if you also really want to work with this toolbox, or
3. Uninstall Parallel Computing Toolbox if you do not want to work with it anyway.

Roman Gorlov
Roman Gorlov 2019 年 4 月 1 日
I have this error aswell!
  1 件のコメント
Mathias Pietsch
Mathias Pietsch 2019 年 4 月 11 日
same here.

サインインしてコメントする。


GuruChandra Vujjuru
GuruChandra Vujjuru 2019 年 4 月 19 日
I have the same error

カテゴリ

Help Center および File ExchangeManage Products についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by