Issue 26685 - API: complex.toolkit.AccessibleStatusBarItem
Summary: API: complex.toolkit.AccessibleStatusBarItem
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: Sun Solaris
: P4 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 17:19 UTC by steffen.grund
Modified: 2013-02-24 21:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
the testcase (47.63 KB, application/octet-stream)
2004-03-18 17:20 UTC, steffen.grund
no flags Details
stacktrace (3.82 KB, text/plain)
2004-03-18 17:21 UTC, steffen.grund
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description steffen.grund 2004-03-18 17:19:35 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".
Comment 1 steffen.grund 2004-03-18 17:20:52 UTC
Created attachment 13911 [details]
the testcase
Comment 2 steffen.grund 2004-03-18 17:21:27 UTC
Created attachment 13912 [details]
stacktrace
Comment 3 steffen.grund 2004-03-18 17:23:48 UTC
created attachments, now reassign
Comment 4 thomas.benisch 2004-03-19 17:29:15 UTC
accepted
Comment 5 thomas.benisch 2004-11-04 14:18:40 UTC
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.
Comment 6 stephan.wunderlich 2004-11-04 14:24:53 UTC
I suppose you were meant to get this issue ;-)
Comment 7 steffen.grund 2004-12-02 13:54:02 UTC
reprioritize
Comment 8 andreas.martens 2005-04-01 15:44:02 UTC
Changed target.
Comment 9 steffen.grund 2006-05-19 13:20:22 UTC
accepted