ome / omero-insight

Gradle project containing insight java client for OMERO
https://www.openmicroscopy.org/omero/
GNU General Public License v2.0
7 stars 14 forks source link

JXCollapsiblePane/TableLayout: ArrayIndexOutOfBoundsException: 1 >= 1 #439

Open dominikl opened 3 months ago

dominikl commented 3 months ago

QA 41686

java.lang.Exception: Abnormal termination due to an uncaught exception.
java.lang.ArrayIndexOutOfBoundsException: 1 >= 1
    at java.util.Vector.elementAt(Vector.java:479)
    at javax.swing.tree.VariableHeightLayoutCache.getNode(VariableHeightLayoutCache.java:994)
    at javax.swing.tree.VariableHeightLayoutCache.getMaxNodeWidth(VariableHeightLayoutCache.java:1007)
...
    at info.clearthought.layout.TableLayout.calculateLayoutSize(TableLayout.java:1458)
...
       at org.jdesktop.swingx.JXCollapsiblePane.getPreferredSize(JXCollapsiblePane.java:655)
...

Looks like a bug in JXCollapsiblePane or TableLayout. Not sure if it's possible to update these dependencies with a reasonable amount of work.