Access violation stops JabWrapper
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- accessibility, operating-systems
Research direction
Reproduce the test setup that creates JavaAccessBridgeWrapper, then inspect jab_wrapper.py around WindowsAccessBridge loading and jab_utils.py:53-55 around pump_background, GetMessage, and DispatchMessage. Compare the stated Windows configuration with the failure and document or verify a fix that prevents the access violation during initialization.
Written by the indexing model from the issue text.
Description
When running setup for tests to init the JabWrapper, I am getting:
DEBUG root:jab_wrapper.py:112 Loading WindowsAccessBridge
DEBUG root:jab_wrapper.py:118 WindowsAccessBridge loaded succesfully
DEBUG root:jab_utils.py:55 Dispatching msg=<cparam 'P' (0x0000018D35679CF0)>
DEBUG root:jab_utils.py:55 Dispatching msg=<cparam 'P' (0x0000018D35679CF0)>
DEBUG root:jab_utils.py:55 Dispatching msg=<cparam 'P' (0x0000018D35679CF0)>
DEBUG root:jab_utils.py:55 Dispatching msg=<cparam 'P' (0x0000018D35679CF0)>
Windows fatal exception: access violation
Current thread 0x0000030c (most recent call first):
File "C:\Users\Me\PycharmProjects\test_proj\utils\jab_utils.py", line 53 in pump_background
The offending line is "while GetMessage(message, 0, 0, 0) > 0" at:
try:
jab_wrapper = JavaAccessBridgeWrapper()
pipe.put(jab_wrapper)
message = byref(wintypes.MSG())
while GetMessage(message, 0, 0, 0) > 0:
TranslateMessage(message)
logging.debug("Dispatching msg={}".format(repr(message)))
DispatchMessage(message)
I have enabled Access Bridge for Windows, referenced the dll as an env var, removed user prefs for accessibility at .accessibility.properties and made sure that jabswitch is enabled.
Any ideas?
- Dominant language
- Python
- Stars
- 20
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from robocorp/java-access-bridge-wrapper
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
robocorp/java-access-bridge-wrapper#17 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
robocorp/java-access-bridge-wrapper#7 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
robocorp/java-access-bridge-wrapper#5 · 1 comment ·
All issues in robocorp/java-access-bridge-wrapper
Similar issues
-
bug confirmed issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
open-webui/open-webui#30750 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 90/100