Bug #3107

Import, XTZ Pager, broken editions if words have no id

Added by Matthieu Decorde over 2 years ago. Updated over 2 years ago.

Status:New Start date:06/23/2021
Priority:Normal Due date:
Assignee:- % Done:


Category:Edition Spent time: -
Target version:TXM 0.8.2


If words have no id, the word indexes of the edition pages is empty:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
     at java.util.ArrayList.rangeCheck(ArrayList.java:659)
     at java.util.ArrayList.get(ArrayList.java:435)
     at org.txm.objects.Edition.getPage(Edition.java:288)
     at org.txm.objects.Edition.getFirstPage(Edition.java:277)
     at org.txm.edition.rcp.editors.EditionPanel.firstPage(EditionPanel.java:748)
     at org.txm.edition.rcp.editors.SynopticEditionEditor.firstPage(SynopticEditionEditor.java:268)
     at org.txm.edition.rcp.editors.SynopticEditionEditor._createPartControl(SynopticEditionEditor.java:731)
     at org.txm.rcp.editors.TXMEditor.createPartControl(TXMEditor.java:462) 


Possible solutions:
  • Stop the pager process
  • manages empty word indexes and use the w_0 word id if the page word id is not set


#1 Updated by Matthieu Decorde over 2 years ago

  • Description updated (diff)
  • % Done changed from 0 to 80

Also available in: Atom PDF