Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] pulsar-admin functions list without specifying tenant and namespace return a NPE error #23880

Open
3 tasks done
jiangpengcheng opened this issue Jan 23, 2025 · 0 comments · May be fixed by #23881
Open
3 tasks done
Labels
type/bug The PR fixed a bug or issue reported a bug

Comments

@jiangpengcheng
Copy link
Contributor

Search before asking

  • I searched in the issues and found nothing similar.

Read release policy

  • I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

Version

e5bd774

Minimal reproduce step

  1. start pulsar in standalone mode:
bin/pulsar standalone
  1. list functions:
bin/pulsar-admin functions list

null

Reason: java.lang.NullPointerException: path is 'null'.

What did you expect to see?

an empty list since no functions exist:

What did you see instead?

an error:

null

Reason: java.lang.NullPointerException: path is 'null'.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@jiangpengcheng jiangpengcheng added the type/bug The PR fixed a bug or issue reported a bug label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant