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
IFigure nextFocusOwner = focusOwner;
		if (focusOwner == null) {
			if (root.getChildren().size() != 0) {
				nextFocusOwner = findDeepestRightmostChildOf(root);
				if (isFocusEligible(nextFocusOwner))
					return nextFocusOwner;
			} else
				return null;
		}
		
		boolean found = false;
		
	 	while (!found) {
	 		IFigure parent = nextFocusOwner.getParent();
			
			/* 
			 * At root, return null to indicate traversal
			 * is complete.
			 */
			if (parent == null)
				return null;
			
			List siblings = parent.getChildren();
			int siblingPos = siblings.indexOf(nextFocusOwner);
			
			/*		
			 * Figure traversal is implemented using the post-order right to left 
			 * tree traversal algorithm.
			 * 
			 * Find the rightmost child.