GoogleCloudPlatform/cloud-storage-docs-json-api-examples — pull request #1 by CydeWeys (2014-07-23 22:01:30+00:00)
Title: Fix Null Pointer Exception thrown when bucket is empty

This error case is surprisingly common because most people running
this example will have just created a fresh bucket explicitly for
this purpose (like I had), and running into an exception immediately
that requires debugging isn't very friendly for the user.