BaseXdb / basex

BaseX Main Repository.
http://basex.org
BSD 3-Clause "New" or "Revised" License
694 stars 265 forks source link

GUI: Text rendering: Out of bounds #2327

Closed ChristianGruen closed 3 months ago

ChristianGruen commented 3 months ago

Caused by 5e350dfef36a38c8a480f7548f508e8dc6ac0c5d:

java.lang.StringIndexOutOfBoundsException: offset 18290, count -1, length 49583
  at java.base/java.lang.String.checkBoundsOffCount(String.java:3304)
  at java.base/java.lang.String.<init>(String.java:505)
  at org.basex.util.Token.string(Token.java:132)
  at org.basex.gui.text.TextIterator.substring(TextIterator.java:98)
  at org.basex.gui.text.TextRenderer.mark(TextRenderer.java:497)
  at org.basex.gui.text.TextRenderer.write(TextRenderer.java:446)
  at org.basex.gui.text.TextRenderer.paintComponent(TextRenderer.java:130)