Skip to content

NullPointerException happend with nacos data-sync  #1030

@plutokaito

Description

@plutokaito
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

Activity

yu199195

yu199195 commented on Jan 21, 2021

@yu199195
Member

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

plutokaito

plutokaito commented on Jan 21, 2021

@plutokaito
ContributorAuthor

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

Rookie45 commented on Jan 23, 2021

@Rookie45

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

plutokaito commented on Jan 24, 2021

@plutokaito
ContributorAuthor

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

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @plutokaito@yu199195@Rookie45

      Issue actions

        NullPointerException happend with nacos data-sync · Issue #1030 · apache/shenyu