java.lang.NullPointerException macOS Sierra R2016a
6 views (last 30 days)
Show older comments
Anyone know how to fix this issue?
-Thomas
6 Comments
Justin Chu
on 1 Mar 2018
In my case, quitting Magnet will resolve the issue so that you don't have to uninstall it.
David Nerger
on 9 Jul 2020
Settings - Safety - Privacy - full harddrive access - tick matlab, that did it for me.
Answers (2)
Shengjie Xu
on 1 Aug 2018
It is the same app Magnet for me too... In the menu of Magnet, there is an option to ignore certain applications and ignoring MATLAB make the issue disappear. I'd like to know why the two apps conflict though just out of curiosity.
6 Comments
LiTuX Sol
on 27 Jul 2019
The exact same issue still exist on R2019a, High Sierra. If so many tools can be 'conflict' with MATLAB, I think it should be an issue of MATLAB itself, not other apps.
Currently I use the method given by @Shengjie Xu to bypass the issue. But you know, the issue is still there! Unless mathworks fix it.
Here is how I can reproduce the issue 100% of the time, hope to be useful:
- Install Magnet and enable it in Universal Access
- Open MATLAB
- Click on the triangle of Help, where a popup menu should come out (but not immediately this time);
- Click the triangle again (before popup menu shows), the cursor should change to busy;
- After the cursor back to arrow, click the triangle again, the popup menu is now shown;
- Click any items (e.g., about);
- You'll see the java exception text (mainly in red, the 'n' on the first line is in black) in the console window:

0 Comments
See Also
Categories
Find more on Standalone Applications 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!