permit NPE on cdn metadata while in beta

This commit is contained in:
Adrian Cole 2011-12-19 17:56:55 -08:00
parent 075c0c8e5e
commit aa99223558
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ public class PublicUriForObjectInfo implements Function<ObjectInfo, URI> {
} catch (CacheLoader.InvalidCacheLoadException e) { } catch (CacheLoader.InvalidCacheLoadException e) {
// nulls not permitted from cache loader // nulls not permitted from cache loader
return null; return null;
} catch (NullPointerException e) {
// nulls not permitted from cache loader
// TODO this shouldn't occur when the above exception is reliably presented
return null;
} }
} }
} }