Commit a7673d5
tmf: Fix HistogramDataProvider index OOB
For the event statistics histogram view, the HistogramDataProvider
will occasionally fail with an IndexOutOfBoundsException when its
fetchXY method is called before its state-system backed statistics
have been populated with attributes.
Add a check to verify that the y-values provided by the statistics is
is large enough for the x-values.
Signed-off-by: Adam Wendelin <[email protected]>1 parent a6eb70c commit a7673d5
File tree
1 file changed
+3
-0
lines changed- tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/internal/tmf/core/histogram
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
129 | 132 | | |
130 | 133 | | |
131 | 134 | | |
| |||
0 commit comments