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개)

Cris LaPierre
Cris LaPierre 2021년 4월 9일
For anyone needing accessiblity, perhaps the response in this post will be helpful.

카테고리

도움말 센터File Exchange에서 Startup 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