DROOLS-573: fixing NPE and returning BAD_REQUEST for failure on container creation.