Did you add a `, inboundPorts=\"1,2,3\"` to the location spec string, when it was null? If you're not passing in any inboundPorts then I'd expect it to be null.