Community
Participate
Working Groups
The GridLayoutProvider throws an IndexOutOfBoundsException if the GridView provides columns with different heights. The problem is the implementation of getLocation, more specifically: final View leftView = gridView.getViewAt(x - 1, y); Dimension size = new Dimension(0, 0); if (leftView != null) { final IGraphicalEditPart leftEditPart = viewsToEditParts.get(leftView); size = this.getBounds(leftEditPart).getSize(); } The null-check is meaningless, since gridView.getViewAt(x - 1, y); will crash with the aforementioned exception if no such element exists.
Hi Robert, Could you provide some steps to reproduce, more details on your your environment (diagram description and your customizations) and maybe a screenshot of the diagram on which you encounter the issue ? Regards