You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
final AsciiTable at = new AsciiTable();
at.addRule();
at.addRow("c_2_1", null, "c_2_3");
at.addRule();
at.setTextAlignment(TextAlignment.CENTER);
System.out.println(at.render());
Exception occurred:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 80, Size: 80
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at de.vandermeer.asciithemes.TA_GridHelpers.adjustBorder(TA_GridHelpers.java:194)
at de.vandermeer.asciithemes.TA_Grid.addGrid(TA_Grid.java:306)
at de.vandermeer.asciitable.AT_Renderer.renderAsCollection(AT_Renderer.java:282)
at de.vandermeer.asciitable.AT_Renderer.render(AT_Renderer.java:128)
at de.vandermeer.asciitable.AT_Renderer.render(AT_Renderer.java:112)
at de.vandermeer.asciitable.AsciiTable.render(AsciiTable.java:185)
at test.Test.main(Test.java:44)
The text was updated successfully, but these errors were encountered:
When using column span, the table must contain at least one row with non-null value, otherwise exception happen. For example, I try...
The column spans are shown as expected:
But if I removed the first row:
Exception occurred:
The text was updated successfully, but these errors were encountered: