Summary Fix Bugzilla bug
160417-[regression][acceptance]SWTException when delete highlight rule in
Bugzilla Bug (s) Resolved160417
eclipse 3.3, after deleting the last highlight rule, the table in the highlights
tab viewer will be disposed immediately. The "delete" method in
highlightspage has a "finally" block in which "getSelectionIndex"
method of the table is called and will cause the SWT exception. Fixed it by
calling "isDisposed" method to check if the table has been disposed before
any operation on the table.
The same problem in
Mappage also fixed in the same way.
Manual test and code review.
Notes to Build Team
Notes to Developers
Notes to QA
Notes to Documentation
Actuate Software (Shanghai)