Skip to content

storage/json-api: listBucket throws a null pointer exception when called upon an empty bucket #291

Description

@MarcHebert

In StorageSample.java calling listBucket on a bucket that is empty will throw a null pointer exception instead of returning an empty list or null. As a result, in the main method, bucketContents will never be null despite there being an intended check and warning logged to System.out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions