Bug #1710

Updated by Sebastien Jacquot about 4 years ago

If someone remove lines from a concordance and press a point in the progression a stacktrace is thrown :

some missing lines:
<pre>
Caused by: org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
at org.eclipse.jface.viewers.StructuredSelection.<init>(StructuredSelection.java:74)
at org.txm.rcp.chartsengine.base.events.progression.ProgressionEventCallBack$2.run(ProgressionEventCallBack.java:319)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
</pre>

empty concordance:
<pre>
Caused by: java.lang.IndexOutOfBoundsException
at org.txm.functions.concordances.Concordance.getLines(Concordance.java:408)
at org.txm.functions.concordances.Concordance.indexOf(Concordance.java:1598)
at org.txm.rcp.chartsengine.base.events.progression.ProgressionEventCallBack.updateLinkedConcordanceEditor(ProgressionEventCallBack.java:280)
at org.txm.rcp.chartsengine.base.events.progression.ProgressionEventCallBack$1.run(ProgressionEventCallBack.java:114)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
</pre>

h4. Results


SJ: *OK*, Win 7 x64

Back