rocketmq-5.0.0 % sh bin/mqbroker -c conf/2m-noslave/broker-a.properties --enable-proxy find an unexpect err.java.lang.NullPointerException java.lang.NullPointerException at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) at java.base/java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006) at java.base/java.util.Properties.put(Properties.java:1329) at java.base/java.util.Properties.setProperty(Properties.java:229) at java.base/java.lang.System.setProperty(System.java:896) at org.apache.rocketmq.proxy.service.mqclient.MQClientAPIFactory.init(MQClientAPIFactory.java:58) at org.apache.rocketmq.proxy.service.mqclient.MQClientAPIFactory.(MQClientAPIFactory.java:51) at org.apache.rocketmq.proxy.service.LocalServiceManager.(LocalServiceManager.java:62) at org.apache.rocketmq.proxy.service.ServiceManagerFactory.createForLocalMode(ServiceManagerFactory.java:28) at org.apache.rocketmq.proxy.processor.DefaultMessagingProcessor.createForLocalMode(DefaultMessagingProcessor.java:100) at org.apache.rocketmq.proxy.processor.DefaultMessagingProcessor.createForLocalMode(DefaultMessagingProcessor.java:96) at org.apache.rocketmq.proxy.ProxyStartup.createMessagingProcessor(ProxyStartup.java:190) at org.apache.rocketmq.proxy.ProxyStartup.main(ProxyStartup.java:79)
org.apache.rocketmq.proxy.service.mqclient.MQClientAPIFactory.init(MQClientAPIFactory.java:58)——该回答整理自钉群“群2-Apache RocketMQ 中国开发者钉钉群”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
涵盖 RocketMQ、Kafka、RabbitMQ、MQTT、轻量消息队列(原MNS) 的消息队列产品体系,全系产品 Serverless 化。RocketMQ 一站式学习:https://rocketmq.io/