Cannot Save as on MacOSX

15 次查看(过去 30 天)
Matt Cliffe
Matt Cliffe 2021-7-29
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.

回答(1 个)

Anshika Chourasia
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.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by