add check if supportedCurrencies is null
@@ -107,6 +107,9 @@ public class DefaultInternationalPrice extends ValidatingConfig<StandaloneCatalo
@Override
public ValidationErrors validate(final StandaloneCatalog catalog, final ValidationErrors errors) {
final Currency[] supportedCurrencies = catalog.getSupportedCurrencies();
+ if (supportedCurrencies == null) {
+ return errors;
+ }
for (final Price p : prices) {
final Currency currency = p.getCurrency();
if (!currencyIsSupported(currency, supportedCurrencies)) {
