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

dubbo 2.7.1下的zookeeper客户端监听出现空指针问题 #3866

Closed
onethin opened this issue Apr 12, 2019 · 3 comments · Fixed by #4126
Closed

dubbo 2.7.1下的zookeeper客户端监听出现空指针问题 #3866

onethin opened this issue Apr 12, 2019 · 3 comments · Fixed by #4126
Assignees
Labels
type/bug Bugs to being fixed
Milestone

Comments

@onethin
Copy link

onethin commented Apr 12, 2019

Environment

  • Dubbo version: 2.71
  • Operating System version: Windows 10
  • Java version: Oracle JDK 1.8.1_191

Steps to reproduce this issue

使用curator版本2.13.0,作为dubbo:refenence,应用启动报错如下异常:
2019-04-12 15:40:24.145 ERROR ZookeeperDynamicConfiguration-thread-1 TreeCache.handleException:760 []
java.lang.NullPointerException: null
at java.lang.String.(String.java:515) ~[?:1.8.0_191]
at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient$CuratorWatcherImpl.childEvent(CuratorZookeeperClient.java:298) ~[dubbo-2.7.1.jar:2.7.1]
at org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:741) [curator-recipes-2.13.0.jar:?]
at org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:735) [curator-recipes-2.13.0.jar:?]
at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:93) [curator-framework-2.13.0.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]

@cvictory cvictory self-assigned this Apr 16, 2019
@yintiefu
Copy link

yintiefu commented May 5, 2019

遇到同样的问题

@ZM227
Copy link

ZM227 commented May 22, 2019

同问,升降curator和zk的版本依然无法解决问题

@lovepoem lovepoem added bug type/bug Bugs to being fixed and removed bug labels May 23, 2019
@lovepoem lovepoem added this to the 2.7.2 milestone May 23, 2019
cvictory added a commit to cvictory/dubbo that referenced this issue May 23, 2019
@cvictory cvictory mentioned this issue May 23, 2019
6 tasks
@cvictory
Copy link
Contributor

@ZM227 @yintiefu can you try to in 2.7.2-SNAPSHOT?

@cvictory cvictory changed the title dubbo 2.7.1是否与curator-recipes-2.13.0不兼容? dubbo 2.7.1下的zookeeper客户端监听出现空指针问题 May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bugs to being fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants