-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed
Description
Environment
- Dubbo dubbo 2.7.9
- Operating System version: window 10
- java version "1.8.0_191"
Steps to reproduce this issue
- zookeeper 版本 3.6.2-bin (https://mirrors.tuna.tsinghua.edu.cn/apache/zookeeper/zookeeper-3.6.2/apache-zookeeper-3.6.2-bin.tar.gz)
zk 配置
initLimit=10
syncLimit=5
dataDir=C:\\openSource\\apache-zookeeper-3.6.2-bin\\data
dataLogDir=C:\\openSource\\apache-zookeeper-3.6.2-bin\\log
clientPort=2181
audit.enable=true
admin.serverPort=9991
- 当我运行dubbo-demo-annotation-provider 的org.apache.dubbo.demo.provider.Application#main 时候, 打印日志如下, 并没有报错
Connected to the target VM, address: '127.0.0.1:53362', transport: 'socket'
[22/02/21 22:23:29:481 CST] main INFO logger.LoggerFactory: using logger: org.apache.dubbo.common.logger.log4j.Log4jLoggerAdapter
- 运行 dubbo-demo-annotation-consumer 的 org.apache.dubbo.demo.consumer.Application#main, 报错
Exception in thread "main" java.lang.NullPointerException
at org.apache.dubbo.demo.consumer.comp.DemoServiceComponent.sayHello(DemoServiceComponent.java:40)
at org.apache.dubbo.demo.consumer.Application.main(Application.java:37)
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
期待的结果是调用 sayHello
Just put your stack trace here!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels