SldService throws IndexOutOfBoundException when percentages and continuous parameters are both set to true.
Percentages are not correctly assigned here https://github.com/geoserver/geoserver/blob/e61ef4bd6af62bf256af33b2d6d045c59e923fb7/src/extension/sldService/src/main/java/org/geoserver/sldservice/utils/classifier/RasterSymbolizerBuilder.java#L273 since continuos option create a ColorMapEntry for all the breaks.
master pr