Apache OpenOffice (AOO) Bugzilla – Issue 26685
API: complex.toolkit.AccessibleStatusBarItem
Last modified: 2013-02-24 21:06:31 UTC
The AccessibleStatusBarItem test lets the Office crash on Solaris and Linux. I could not reproduce this on Windows. Attached is a stacktrace (of Solaris) and the test. To run the test, unpack Toolkit.zip, start an Office that listens on port 8100, go to the complex/toolkit directory and type "dmake run".
Created attachment 13911 [details] the testcase
Created attachment 13912 [details] stacktrace
created attachments, now reassign
accepted
TBE->SG: I cannot reproduce the crash. The test already fails in checkDrawDoc(). The problem is, that an object of role AccessibleRole.STATUS_BAR is searched for by using the method getAccessibleObjectForRole(). This method is called recursive for the whole accessibility hierarchy for a draw document. For one object getAccessibleChild() returns a null object. This causes a NullPointerException and the whole test stops. I propose that you modify your test in that way, that you check, if a child is null before you call getAccessibleObjectForRole() again. If a child is null you can print an error message, but continue the search.
I suppose you were meant to get this issue ;-)
reprioritize
Changed target.