Fixes CID 112047
Change-Id: Ib48dc0fdf1b50c0904ba22683de6cf5f7fe331ea
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81625
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-by: Hudson CI
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
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 */