Bug #1710
Progression chart, IndexOutOfBoundsException exception when a selected chart point has been deleted from a linked concordance
Status: | Closed | Start date: | 03/02/2016 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% |
|
Category: | Charts | Spent time: | - | |
Target version: | TXM 0.8.2 |
Description
If someone remove lines from a concordance and press a point in the progression a stacktrace is thrown :
some missing lines:
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)
empty concordance:
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)
Results¶
History
#1 Updated by Sebastien Jacquot almost 7 years ago
- Subject changed from RCP: X.X, progression to concordance link and concordance lines deleted to RCP: X.X, Progression chart, IndexOutOfBoundsException exception when a selected chart point has been deleted from the linked concordance
- Category set to Charts
- Status changed from New to Feedback
- % Done changed from 0 to 80
Temporary fix has been implemented. No more exception occurs but we need to find a better way to manage that, eg.:
- disable the delete functionality in linked Concordance editor
- or update the chart when some lines are deleted
#2 Updated by Sebastien Jacquot almost 7 years ago
- Subject changed from RCP: X.X, Progression chart, IndexOutOfBoundsException exception when a selected chart point has been deleted from the linked concordance to RCP: X.X, Progression chart, IndexOutOfBoundsException exception when a selected chart point has been deleted from a linked concordance
#3 Updated by Sebastien Jacquot almost 7 years ago
- Subject changed from RCP: X.X, Progression chart, IndexOutOfBoundsException exception when a selected chart point has been deleted from a linked concordance to Progression chart, IndexOutOfBoundsException exception when a selected chart point has been deleted from a linked concordance
#4 Updated by Sebastien Jacquot almost 7 years ago
- Description updated (diff)
#5 Updated by Sebastien Jacquot almost 6 years ago
- Description updated (diff)
#6 Updated by Sebastien Jacquot almost 6 years ago
- Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)
Moved to 0.7.9, needs feedback.
#7 Updated by Sebastien Jacquot over 4 years ago
- Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0
#8 Updated by Sebastien Jacquot about 4 years ago
- Target version changed from TXM 0.8.0 to TXM 0.8.2
#9 Updated by Sebastien Jacquot over 3 years ago
- Status changed from Feedback to Closed
- % Done changed from 80 to 100
See http://forge.cbp.ens-lyon.fr/redmine/issues/1767 for behavior issue.