Using new factory method in VMScalingCapabilities leads to NPE, if the old code is still trying to access the deprecated @Nonnull methods