Skip to content

NPE occurred when the configuration was deleted. #3533

Closed

Description

@hekrxe
  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.0
  • Operating System version: MacOS
  • Java version: 1.8

Steps to reproduce this issue

When tag router is deleted by Dubbo Admin

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps?

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

java.lang.NullPointerException: null
	at java.lang.String.<init>(String.java:515) ~[na:1.8.0_161]
	at org.apache.dubbo.configcenter.support.zookeeper.CacheListener.childEvent(CacheListener.java:86) ~[dubbo-2.7.0.jar:2.7.0]
	at org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:685) [curator-recipes-2.8.0.jar:na]
	at org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:679) [curator-recipes-2.8.0.jar:na]
	at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92) [curator-framework-2.8.0.jar:na]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_161]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_161]
	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_161]

Activity

  1. added a commit that references this issue on Feb 24, 2019
  2. added this to the 2.7.1 milestone on Mar 4, 2019
  3. changed the title [-]NPE occurred when the configuration was deleted. (...configcenter...zookeeper.CacheListener#childEvent)[/-] [+]NPE occurred when the configuration was deleted.[/+] on Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions