MATLAB, macOS Catalina 10.15 Java error with accessibility keyboard enabled: Please Fix

java.lang.IndexOutOfBoundsException: Invalid line index=1 >= lineCount=1
at org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:91)
at sun.lwawt.macosx.CAccessibleText.getRangeForLine(CAccessibleText.java:338)
at sun.lwawt.macosx.CAccessibleText$11.call(CAccessibleText.java:189)
at sun.lwawt.macosx.CAccessibleText$11.call(CAccessibleText.java:187)
at sun.lwawt.macosx.LWCToolkit$CallableWrapper.run(LWCToolkit.java:597)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Error caused by having accessibility keyboard enabled. Can solve by unchecking box under System Preferences --> Accessibility --> Keyboard --> Accessibility Keyboard
I don't NEED the accessibility keyboard enabled but some people do, please fix bug. I'm running macOS Catalina 10.15.7 and the error was present on both MATLAB 2020b and 2021a.

Réponses (1)

For anyone needing accessiblity, perhaps the response in this post will be helpful.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by