mirror of https://github.com/apache/jclouds.git
permit NPE on cdn metadata while in beta
This commit is contained in:
parent
075c0c8e5e
commit
aa99223558
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue