Help: NVDA bug with Java GUI Applications

Ravi Pinapaka


When I create and run a Java GUI application using frames in Eclipse, NVDA doesn’t read anything in the screen. It properly reads the objects when I hover the mouse over the components and it announces all the objects when I press NVDA+B. However there’s no speech at all while navigating with the keyboard.


I’m sure it’s a problem with NVDA and not my code or the java access bridge because my application works fine with the Jaws screen reader.

Any ideas on how to fix it? I’m more comfortable with NVDA rather than Jaws and will be grateful if someone helps me to fix this issue.


Here is my entire NVDA log including the error for reference:

Note: I also tried disabling the remote add-on because there’s a line about it in the log as well. The result is the same.


INFO - __main__ (17:15:25.187):

Starting NVDA

INFO - core.main (17:15:25.582):

Config dir: C:\Users\ravi\AppData\Roaming\nvda

INFO - config.ConfigManager._loadConfig (17:15:25.582):

Loading config: C:\Users\ravi\AppData\Roaming\nvda\nvda.ini

INFO - core.main (17:15:26.457):

Developer Scratchpad mode enabled

INFO - core.main (17:15:26.609):

NVDA version 2019.1.1

INFO - core.main (17:15:26.609):

Using Windows version 10.0.17134 workstation

INFO - core.main (17:15:26.611):

Using Python version 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:22:17) [MSC v.1500 32 bit (Intel)]

INFO - core.main (17:15:26.611):

Using comtypes version 1.1.3

INFO - core.main (17:15:26.611):

Using configobj version 5.1.0 with validate version 1.0.1

INFO - synthDriverHandler.setSynth (17:15:26.983):

Loaded synthDriver eloquence

INFO - core.main (17:15:26.983):

Using wx version 4.0.3 msw (phoenix) wxWidgets 3.0.5

INFO - brailleInput.initialize (17:15:26.984):

Braille input initialized

INFO - braille.initialize (17:15:26.986):

Using liblouis version 3.8.0

INFO - braille.BrailleHandler.setDisplayByName (17:15:26.987):

Loaded braille display driver noBraille, current display has 0 cells.

INFO - _UIAHandler.UIAHandler.MTAThreadFunc (17:15:27.190):

UIAutomation: IUIAutomation5

INFO - core.main (17:15:28.480):

NVDA initialized

(after starting my program…)

ERROR - eventHandler.executeEvent (17:15:35.719):

error executing event: gainFocus on <NVDAObjects.Dynamic_EditableTextWithoutAutoSelectDetectionJAB object at 0x05AEC530> with extra args of {}

Traceback (most recent call last):

  File "eventHandler.pyo", line 155, in executeEvent

  File "eventHandler.pyo", line 92, in __init__

  File "eventHandler.pyo", line 100, in next

  File "C:\Users\ravi\AppData\Roaming\nvda\addons\remote\globalPlugins\remoteClient\", line 426, in event_gainFocus

  File "eventHandler.pyo", line 100, in next

  File "NVDAObjects\JAB\__init__.pyo", line 528, in event_gainFocus

  File "NVDAObjects\__init__.pyo", line 966, in event_gainFocus

  File "NVDAObjects\JAB\__init__.pyo", line 476, in reportFocus

  File "NVDAObjects\__init__.pyo", line 854, in reportFocus

  File "speech.pyo", line 403, in speakObject

  File "speech.pyo", line 277, in speakObjectProperties

  File "baseObject.pyo", line 47, in __get__

  File "baseObject.pyo", line 147, in _getPropertyViaCache

  File "NVDAObjects\JAB\__init__.pyo", line 244, in _get_keyboardShortcut

IndexError: invalid index


-Ravi Pinapaka


Sent from Mail for Windows 10

Join to automatically receive all group messages.