Cannot Save as on MacOSX

10 ビュー (過去 30 日間)
Matt Cliffe
Matt Cliffe 2021 年 7 月 29 日
回答済み: Anshika Chourasia 2021 年 9 月 6 日
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
Anshika Chourasia 2021 年 9 月 6 日
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 Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by