Error when starting up Matlab 2018b

2 次查看(过去 30 天)
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!

GuruChandra Vujjuru
I have the same error

类别

Help CenterFile Exchange 中查找有关 Manage Products 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by