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

NPE in ConsulConfigMigration #1956

Closed
obermeier opened this issue Sep 22, 2023 · 2 comments · Fixed by #1957
Closed

NPE in ConsulConfigMigration #1956

obermeier opened this issue Sep 22, 2023 · 2 comments · Fixed by #1957
Assignees
Labels
bug Something isn't working
Milestone

Comments

@obermeier
Copy link
Member

Apache StreamPipes version

dev (current development state)

Affected StreamPipes components

Backend

What happened?

Hi, I updated between two 0.93.0-SNAPSHOT versions and realized that I get a NPE during the execution of ConsulConfigMigration in the latest version. It is searching for a SP_PULSAR_URL entry in Consul and if it does not exists the backend terminates.
Adding a SP_PULSAR_URL entry to Consul is a quick hack.

PULSAR-URL

Is this a bug or just a strange configuration in my test env ?

How to reproduce?

No response

Expected behavior

No response

Additional technical information

No response

Are you willing to submit a PR?

Yes, I am willing to submit a PR!

@dominikriemer
Copy link
Member

Hi @obermeier, good catch 👍
Do you know if your existing 0.93.0-SNAPSHOT version was a bit older (from a time before we added the Pulsar support)?
I submitted a PR to quick-fix this, but still need to test this with an older version.

@obermeier
Copy link
Member Author

Hi @dominikriemer, thank you for this fix. I am not sure but I think it was before the Pulsar time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants