java.lang.​NullPointe​rException macOS Sierra R2016a

8 Ansichten (letzte 30 Tage)
Thomas Mickelborg
Thomas Mickelborg am 22 Jan. 2017
Kommentiert: Ann Cui am 30 Sep. 2020
Anyone know how to fix this issue?
-Thomas
  6 Kommentare
Justin Chu
Justin Chu am 1 Mär. 2018
In my case, quitting Magnet will resolve the issue so that you don't have to uninstall it.
David Nerger
David Nerger am 9 Jul. 2020
Settings - Safety - Privacy - full harddrive access - tick matlab, that did it for me.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Shengjie Xu
Shengjie Xu am 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 Kommentare
Yu Wang
Yu Wang am 30 Apr. 2020
Works for me too! It's amazing how people figure out these things.
Ann Cui
Ann Cui am 30 Sep. 2020
It works like a charm! Thanks for the solution!

Melden Sie sich an, um zu kommentieren.


LiTuX Sol
LiTuX Sol am 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:
  1. Install Magnet and enable it in Universal Access
  2. Open MATLAB
  3. Click on the triangle of Help, where a popup menu should come out (but not immediately this time);
  4. Click the triangle again (before popup menu shows), the cursor should change to busy;
  5. After the cursor back to arrow, click the triangle again, the popup menu is now shown;
  6. Click any items (e.g., about);
  7. You'll see the java exception text (mainly in red, the 'n' on the first line is in black) in the console window:
matlab_issue_universal_.png

Kategorien

Mehr zu Standalone Applications finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by