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

NullPointerException happend with nacos data-sync #1030

Closed
plutokaito opened this issue Jan 21, 2021 · 4 comments
Closed

NullPointerException happend with nacos data-sync #1030

plutokaito opened this issue Jan 21, 2021 · 4 comments
Assignees
Labels
type: bug Something isn't working

Comments

@plutokaito
Copy link
Contributor

Describe the bug

when i start admin with nacos data-sync which one has no plugins, no selectors and so on; on other way , this is a new application; and now i start bootstrap, there is npe happend.
image

Environment

  • Soul version(s): 2.2.1

Steps to reproduce

Expected behavior

Debug logs

Click to expand
replace this line with your debug logs
@plutokaito plutokaito added the type: bug Something isn't working label Jan 21, 2021
@yu199195
Copy link
Member

can you fix it? or ask how to config nacos befer soul。。。

@plutokaito
Copy link
Contributor Author

can you fix it? or ask how to config nacos befer soul。。。

ok,

  1. i will ask someone how to config nacos before soul;
    2.i will confirm in the right config, is NullPointerException happen,
    3.if it happened, i try to fix it.

@Rookie45
Copy link

can you fix it? or ask how to config nacos befer soul。。。

ok,

  1. i will ask someone how to config nacos before soul;
    2.i will confirm in the right config, is NullPointerException happen,
    3.if it happened, i try to fix it.

I also met this problem,through debugging, it is found that Nacos mechanism is the cause. The server(soul-admin)config must change before nacos recording,so you should change plugin,selector and rule configs on admin web page,then this exception will disappear. Hope to help you.

@plutokaito
Copy link
Contributor Author

lt refer to config nacos to fix it.

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

No branches or pull requests

3 participants