Bug #3107

Mis à jour par Matthieu Decorde il y a plus de 4 ans

If words have no id, the word indexes of the edition pages is empty:
<pre>
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)
</pre>

h3. Solution

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

Retour