Cannot Save as on MacOSX

11 vues (au cours des 30 derniers jours)
Matt Cliffe
Matt Cliffe le 29 Juil 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.

Réponses (1)

Anshika Chourasia
Anshika Chourasia le 6 Sep 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.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by