Error when starting up Matlab 2018b
3 views (last 30 days)
Show older comments
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)
0 Comments
Answers (3)
Roman Gorlov
on 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.
0 Comments
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!