mirror of
https://github.com/apache/jclouds.git
synced 2025-02-16 06:56:45 +00:00
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) {
|
||||
// nulls not permitted from cache loader
|
||||
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…
x
Reference in New Issue
Block a user