I was trying to create a template using the ComputeService backed by the nova API (I was connecting to OVH, which does not have a jClouds provider). However, one of their regions was down for maintenance. This caused the following error:
I feel that jClouds shold handle this case gracefully and simply skip the offending API, rather than failing with NullPointerExceptions and making it impossible to create templates as long as any endpoint is down for whatever reason.
This is the reply one gets when querying the given URL directly:
I verified on OVH's site that this region was indeed down for maintenance: http://travaux.ovh.net/?do=details&id=32795&PHPSESSID=b0747f889c42d0b97fedeb393cc16b0e