lami: getSymbolColors can return null
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.lami.ui / src / org / eclipse / tracecompass / internal / provisional / analysis / lami / ui / viewers / LamiScatterViewer.java
index 71af50faf029483c98f2328cae07dcea01486b28..d25c446bb0a525a2343866e99df343090bcdfc0b 100644 (file)
@@ -688,6 +688,10 @@ public class LamiScatterViewer extends LamiXYChartViewer {
             Color lightColor = lightColorsIt.next();
             Color color = colorsIt.next();
             Color[] colors = ((ILineSeries) series).getSymbolColors();
+            if (colors == null) {
+                /* Should never happen */
+                continue;
+            }
 
             if (currentSelections.isEmpty()) {
                 /* Put all symbols to the normal colors */
This page took 0.024581 seconds and 5 git commands to generate.