GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — storage/json-api: listBucket throws a null pointer exception when called upon an empty bucket · Issue #291 · GoogleCloudPlatform/java-docs-samples

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

New issue
Copy link
New issue
Copy link
Closed
Closed
storage/json-api: listBucket throws a null pointer exception when called upon an empty bucket#291
Copy link
Labels
🚨This issue needs some love.triage meI really want to be triaged.

Description

@MarcHebert
MarcHebert
opened on Aug 15, 2016
Issue body actions

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.

Activity

  1. jabubake commented on Apr 3, 2018

    @jabubake
    jabubake
    on Apr 3, 2018
    Contributor
    More actions

    @MarcHebert please re-open if you still have issues.
    @frankyn FYI

  2. jabubake
    closed this as completedon Apr 3, 2018
  3. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Apr 6, 2020
  4. ivanmkc
    added a commit that references this issue on Nov 3, 2022

    test(deps): update dependency com.google.truth:truth to v1.1 (#291)

    bd53e92
  5. averikitsch
    added a commit that references this issue on Nov 9, 2022

    test(deps): update dependency com.google.truth:truth to v1.1 (#291)

    a8c072e
  6. minherz
    added 3 commits that reference this issue on Nov 9, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v13.…

    9945edd

    chore(deps): update dependency com.google.cloud:libraries-bom to v13.…

    7b7b791

    chore(deps): update dependency com.google.cloud:libraries-bom to v13.…

    e1749ae
  7. Shabirmean
    added a commit that references this issue on Nov 10, 2022

    chore(samples): Retail Tutorials. Product Setup/Cleanup test resources (

    bcde8fd
  8. charlieyu1996
    added 2 commits that reference this issue on Nov 10, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v13 (#…

    f55d72f

    chore(deps): update dependency com.google.cloud:libraries-bom to v11 (#…

    f8c8b59
  9. Sita04
    added 2 commits that reference this issue on Nov 11, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v23.…

    033513e

    chore(deps): update dependency com.google.cloud:libraries-bom to v14 (#…

    1944215
  10. anguillanneuf
    added a commit that references this issue on Nov 15, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v13 (#…

    6e9d03f
  11. Sita04
    added a commit that references this issue on Nov 15, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v14 (#…

    ecd1e95
  12. Shabirmean
    added 3 commits that reference this issue on Nov 15, 2022

    chore(samples): Retail Tutorials. Product Setup/Cleanup test resources (

    7de32ef

    chore: moving the rest of the vision samples (#291)

    3b8249c

    chore(deps): update dependency com.google.cloud:libraries-bom to v14 (#…

    a8dbe52
  13. anguillanneuf
    added a commit that references this issue on Nov 17, 2022

    migrate code from googleapis/java-video-intelligence (#7425)

    13912b8
  14. Shabirmean
    added a commit that references this issue on Nov 17, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v14 (#…

    5876151
  15. charlieyu1996
    added a commit that references this issue on Nov 18, 2022

    merge from main to datacatalog branch (#7449)

    361657a
  16. gcf-merge-on-green
    added a commit that references this issue on Nov 18, 2022

    samples: migrate code from googleapis/java-vision (#7428)

    bc0bd72
  17. anguillanneuf
    added a commit that references this issue on Dec 5, 2022

    samples: migrate code from googleapis/java-vision (#7428)

    29117e9
  18. Sita04
    added a commit that references this issue on Jan 17, 2023

    chore(deps): update dependency com.google.cloud:libraries-bom to v23.…

    e1ee375
  19. Sita04
    added a commit that references this issue on Feb 7, 2023

    chore(deps): update dependency com.google.cloud.samples:shared-config…

    3e63072
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.