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.

1 件のコメント

Hyo Geon Park
Hyo Geon Park 2022 年 2 月 21 日
Thank you very much. This was really helpful for me.

サインインしてコメントする。

回答 (1 件)

Cris LaPierre
Cris LaPierre 2021 年 4 月 9 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2021a

質問済み:

2021 年 4 月 9 日

コメント済み:

2022 年 2 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by