GUAC-587: The extension manifest must not be null.

This commit is contained in:
Michael Jumper
2015-05-14 22:22:22 +00:00
parent f879da6ee5
commit 60b1029653

View File

@@ -226,6 +226,8 @@ public class Extension {
// Parse manifest
manifest = mapper.readValue(extension.getInputStream(manifestEntry), ExtensionManifest.class);
if (manifest == null)
throw new GuacamoleServerException("Contents of " + MANIFEST_NAME + " must be a valid JSON object.");
}