Accessibility and Java apps = Bad Things
Accessibility and Java apps = Bad Things
- Subject: Accessibility and Java apps = Bad Things
- From: Matt Gough <email@hidden>
- Date: Wed, 22 Oct 2003 14:07:47 +0100
There seems to be major problems with Accessibility APIs when used to gather
info on Java apps. These range from the Java app crashing to hanging
indefinitely.
E.g.
1. Open UIElementInspector
2. Open /Developer/Examples/Java/JFC/SwingSet2/SwingSet2.jar
3. Let SwingSet2 settle down for a few seconds until it has loaded its
various panels.
4. Click on the 'Source Code' tab in its window.
The app hangs inside axServerMessageHandler.
Doing the same without UIElementInspector running works OK.
To see a crash:
1. Download <
http://www.aquafold.net/download/osx/adstudio-osx.tar.gz>
2. Open UIElementInspector
3. Open the downloaded app (Aqua Data Studio)
4. move the mouse over the app's main window.
It will crash with the backtrace at the bottom
Are these issues known about already. Is it the OS or the apps that are
'faulty'?
(This happens on Panther 7B85 and Jaguar 10.2.8)
Matt Gough
There seems to be major problems with Accessibility APIs when used to gather
info on Java apps. These range from the Java app crashing to hanging
indefinitely.
E.g
1. Open UIElementinspector
2. Open /Developer/Examples/Java/JFC/SwingSet2/SwingSet2.jar
3. Let SwingSet2 settle down for a few seconds until it has loaded its
various panels.
4. Click on the 'Source Code' tab in its window.
The app hangs inside axServerMessageHandler.
Doing the same without UIElementInspector running works OK.
To see a crash:
1. Download <
http://www.aquafold.net/download/osx/adstudio-osx.tar.gz>
2. Open UIElementinspector
3. Open the downloaded app (Aqua Data Studio)
4. move the mouse over the app's main window.
It will crash with the backtrace at the bottom
Are these issues known about already. Is it the OS or the apps that are
'faulty'?
(This happens on Panther 7B85 and Jaguar 10.2.8)
Matt Gough
objc_msgSend (objc_msgSend + 20)
-[TabGroupAccessibility getAdditionalAttributesWithEnv:withAxContext:]
(-[TabGroupAccessibility getAdditionalAttributesWithEnv:withAxContext:] +
236)
-[JavaComponentAccessibility getAttributes] (-[JavaComponentAccessibility
getAttributes] + 1480)
-[JavaComponentAccessibility accessibilityAttributeValue:]
(-[JavaComponentAccessibility accessibilityAttributeValue:] + 36)
-[JavaComponentAccessibility accessibilityIsIgnored]
(-[JavaComponentAccessibility accessibilityIsIgnored] + 44)
AnyIgnoredElements (AnyIgnoredElements + 56)
NSAccessibilityUnignoredChildren (NSAccessibilityUnignoredChildren + 32)
-[JavaChildrenAttribute getValue] (-[JavaChildrenAttribute getValue] + 60)
NSAccessibilityChildrenOrEmptyArray (NSAccessibilityChildrenOrEmptyArray +
44)
NSAccessibilityUnignoredChildren (NSAccessibilityUnignoredChildren + 140)
-[JavaChildrenAttribute getValue] (-[JavaChildrenAttribute getValue] + 60)
-[JavaComponentAccessibility getChildWithEnv:forAccessible:]
(-[JavaComponentAccessibility getChildWithEnv:forAccessible:] + 84)
-[JavaComponentAccessibility getChildWithEnv:forAccessible:]
(-[JavaComponentAccessibility getChildWithEnv:forAccessible:] + 184)
-[JavaComponentAccessibility accessibilityHitTest:]
(-[JavaComponentAccessibility accessibilityHitTest:] + 744)
-[NSViewAWT accessibilityHitTest:] (-[NSViewAWT accessibilityHitTest:] + 96)
-[NSWindow(NSWindowAccessibility) accessibilityHitTest:]
(-[NSWindow(NSWindowAccessibility) accessibilityHitTest:] + 360)
-[NSApplication(NSApplicationAccessibility) accessibilityHitTest:]
(-[NSApplication(NSApplicationAccessibility) accessibilityHitTest:] + 156)
CopyElementAtPosition (CopyElementAtPosition + 228)
_AXXMIGCopyElementAtPosition (_AXXMIGCopyElementAtPosition + 216)
_XCopyElementAtPosition (_XCopyElementAtPosition + 140)
AccessibilityClientDefs_server (AccessibilityClientDefs_server + 168)
axServerMessageHandler (axServerMessageHandler + 24)
__CFMachPortPerform (__CFMachPortPerform + 224)
__CFRunLoopDoSource1 (__CFRunLoopDoSource1 + 200)
__CFRunLoopRun (__CFRunLoopRun + 1344)
CFRunLoopRunSpecific (CFRunLoopRunSpecific + 328)
......
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.