Bug 143659 [Accessibility] Press Tab key will cause eclipse crash when focus isn't on any report item in Editor view
Press Tab key will cause eclipse crash when focus isn't on any report item in Editor view Steps to reproduce: 1. New a report 2. Click the blank area in Layout of Editor view 3. Press Tab key Expected result: Something in layout will get focus Actual result: Eclipse crashed
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/parts/ReportFocusTraverseManager.java
nextFocusOwner = ((IFigure)(siblings.get(siblingPos + 1)));
				if (isFocusEligible(nextFocusOwner))
					found = true;
			} else {
				boolean untraversedSiblingFound = false;			
				while (!untraversedSiblingFound) {
					IFigure p = nextFocusOwner.getParent();	
					IFigure gp = p.getParent();
					
					if (gp != null) {
						int parentSiblingCount = gp.getChildren().size();
						int parentIndex = gp.getChildren().indexOf(p);
						if (parentIndex < parentSiblingCount - 1) {
							nextFocusOwner = ((IFigure)p.getParent()
														.getChildren()
														.get(parentIndex + 1));
							untraversedSiblingFound = true;
							if (isFocusEligible(nextFocusOwner))		
								found = true;
						} else
							nextFocusOwner = p;
					} else {
						nextFocusOwner = null;
						untraversedSiblingFound = true;
						found = true;
					}
				}
			}		
		}
		return nextFocusOwner;