<BUG>try {validateParentList(parents);validatePluginList(plugins);} catch (InvalidArtifactException e) {throw new JsonParseException(e.getMessage());}</BUG><CONTEXT>JsonObject obj = json.getAsJsonObject();Set<ArtifactRange> parents = context.deserialize(obj.get("parents"), PARENTS_TYPE);parents = parents == null ? Collections.<ArtifactRange>emptySet() : parents;Set<PluginClass> plugins = context.deserialize(obj.get("plugins"), PLUGINS_TYPE);plugins = plugins == null ? Collections.<PluginClass>emptySet() : plugins;<extra_id_0>return new SystemArtifactConfig(parents, plugins);</CONTEXT>
[DELETED]