Cannot Save as on MacOSX

9 visualizzazioni (ultimi 30 giorni)
Matt Cliffe
Matt Cliffe il 29 Lug 2021
I cannot use Save As to save any document. I have full permissions for the folders I am saving in and can use save.
Save works, but save as a copy does not. The first time I try save as I get a flurry of errors starting with:
'java.lang.NullPointerException
at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:57)
at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:36)
at java.lang.reflect.Field.get(Field.java:393)
at sun.lwawt.macosx.CAccessibility.getAccessibleRoleFor(CAccessibility.java:248)
at sun.lwawt.macosx.CAccessibility$12.call(CAccessibility.java:263)
at sun.lwawt.macosx.CAccessibility$12.call(CAccessibility.java:260)'
My suspicion is that Matlab is not asking for the correct rights for the save window, somehow. I am running 10.15.7 and 2018b.

Risposte (1)

Anshika Chourasia
Anshika Chourasia il 6 Set 2021
In my understanding, the above error is related to "Accessibility", which is also known as "Universal Access" for MAC. You can find this setting in Apple menu -> System preferences -> Universal Access. There is an issue with third-party applications on MAC that interferes with Java's accessibility code.
The workaround for this issue is to completely disable Accessibility ("Universal Access") in your MAC, reboot your computer and restart MATLAB afterwards.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by