Error when starting up Matlab 2018b

3 visualizzazioni (ultimi 30 giorni)
Xining Yu
Xining Yu il 23 Dic 2018
Risposto: Roman Gorlov il 19 Apr 2019
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)

Risposte (3)

Roman Gorlov
Roman Gorlov il 19 Apr 2019
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 il 1 Apr 2019
I have this error aswell!

GuruChandra Vujjuru
GuruChandra Vujjuru il 19 Apr 2019
I have the same error

Categorie

Scopri di più su Manage Products in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by