After adding a pager to a custom control I can no longer open the custom control in the designer or any XPage that it is associated with. I keep getting a “Could not open the editor: Index does not exist” error. I have found some workarounds to retrieve the code from the control and start over but I am starting to think there is an issue with Eclipse based Designer. The custom control is still working correctly on the web despite the fact that Designer cannot open it. Some of the error details are listed below. If anyone knows what is actually causing the problem their help would be greatly appreciated.
java.lang.IndexOutOfBoundsException: Index does not exist
at org.eclipse.draw2d.Figure.add(Unknown Source)
at org.eclipse.draw2d.Figure.add(Unknown Source)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addChildVisual(Unknown Source)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(Unknown Source)
at com.ibm.etools.xve.editpart.XVENodeEditPart.refreshChildren(Unknown Source)
at com.ibm.designer.domino.xsp.editpart.NodeListenerEditPart.refreshChildren(Unknown Source)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(Unknown Source)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(Unknown Source)
at com.ibm.designer.domino.xsp.editpart.NodeListenerEditPart.refresh(Unknown Source)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(Unknown Source)