diff --git a/src/org/testKitGen/Arguments.java b/src/org/testKitGen/Arguments.java index 5f46f4bc..5d9dfe56 100644 --- a/src/org/testKitGen/Arguments.java +++ b/src/org/testKitGen/Arguments.java @@ -151,7 +151,13 @@ private String spec2Plat(String spec) { Properties platProp = new Properties(); platProp.load(platReader); plat = platProp.getProperty(spec); + if (plat == null) { + System.err.println("Error: Please update file " + Constants.BUILDPLAT_JSON + "! Add entry for " + spec + "."); + System.exit(1); + } } catch (IOException e) { + e.printStackTrace(); + System.exit(1); } return plat; }