proofpoint/cloud-management — comment on commit 79aa852d797b1d157bb90d5419ab19c59496bea9
File: src/main/java/com/proofpoint/cloudmanagement/service/InstancesResource.java line 55
By markkent:

Because you're not catching the potential NPEs in createInstance(), you will 500 if the user passes a bad flavor ID, which isn't what you want. Need to improve the error handling in here.

This would probably have been caught if you'd added tests for this class...