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 — NPE when getting non-existing topic or subscription · Issue #987 · googleapis/google-cloud-java

NPE when getting non-existing topic or subscription #987

New issue
Copy link
New issue
Copy link
Closed
Closed
NPE when getting non-existing topic or subscription#987
Copy link
Assignees
mziccard
Labels
api: pubsubIssues related to the Pub/Sub API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@mziccard
mziccard
opened on May 6, 2016
Issue body actions

DefaultPubSubRpc,get returns a Future such that Future.get() returns null if the resource was not found. In PubSubImpl.

In PubSubImpl transform the result using (Topic/Subscription).fromPbFunction() which do not handle the null case.

Activity

  1. mziccard
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    api: pubsubIssues related to the Pub/Sub API.
    on May 6, 2016
  2. mziccard commented on May 24, 2016

    @mziccard
    mziccard
    on May 24, 2016
    ContributorAuthor
    More actions

    This was fixed in #1015

  3. mziccard
    closed this as completedon May 24, 2016
  4. JustinBeckwith
    assigned
    mziccard
    on Feb 1, 2021
  5. github-actions
    added a commit that references this issue on Jul 8, 2022

    chore: fix minor typos in README and pom templates (#1479) (#987)

    cf3d6a1
  6. github-actions
    added a commit that references this issue on Aug 18, 2022

    deps: update dependency com.google.cloud:google-cloud-core to v2.8.9 (#…

    3b9ae1d
  7. github-actions
    added a commit that references this issue on Sep 19, 2022

    chore(main): release 3.1.1 (#987)

    a0ca1ea
  8. suztomo
    added a commit that references this issue on Feb 1, 2023

    deps: update dependency com.google.api:gax-bom to v2.19.4 (#987)

    d78d04a
  9. chingor13
    added a commit that references this issue on Jan 6, 2026

    fix(java): skip fixing poms for special modules (#1744) (#987)

    9d5061c
  10. suztomo
    added a commit that references this issue on Mar 30, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    94f81b8
  11. lqiu96
    added a commit that references this issue on Apr 1, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    3c2eef8
  12. meltsufin
    added 4 commits that reference this issue on Apr 29, 2026

    deps: update dependency com.google.protobuf:protobuf-java-util to v3.…

    ff71dc7

    chore(main): release 1.115.2 (#981)

    9942e38

    deps: update dependency com.google.protobuf:protobuf-java-util to v3.…

    087a089

    chore(main): release 1.115.2 (#981)

    b0def49
  13. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore: regenerate README (googleapis#987)

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

Metadata

Metadata

Assignees

  • @mziccard
    mziccard

Labels

api: pubsubIssues related to the Pub/Sub API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

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.