diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-01-12 22:09:27 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-01-12 22:11:30 +0100 |
commit | e19cdeaf7ddbcf39da47d9685d8e79e775dde7f4 (patch) | |
tree | 672e0ba1fd54058b9d590475b2b8a957c9f5084a /sd/source/ui/app/sdmod.cxx | |
parent | 5e223be2102a171c857be8db1327f23faea0ef78 (diff) |
sfx2: fix race in JunitTest UndoManager.checkBrokenScripts()
1) checkBrokenScripts(complex.sfx2.UndoManager)
java.lang.NullPointerException
at complex.sfx2.UndoManager.impl_clickButton(UndoManager.java:432)
at complex.sfx2.UndoManager.checkBrokenScripts(UndoManager.java:188)
impl_clickButton() gets the wrong accessible object and throws.
The .uno:SwitchControlDesignMode is dispatched async, so make sure
it's processesed before trying to click the button.
See UnoControl::getAccessibleContext() "in design mode, use a fallback".
This was running in "rr record --chaos".
Change-Id: Iee9f25c2fff56d32e6b579b5d44ee6df9870fd8b
Diffstat (limited to 'sd/source/ui/app/sdmod.cxx')
0 files changed, 0 insertions, 0 deletions