开发者社区 > 云原生 > 正文

1.4.1升级到1.4.2后,apollo config 报错

seata server 1.4.1 -> 1.4.2, registry config from apollo, not change codes or configs. 1.4.1 works well, but 1.4.2 cannot run

SLF4J: A number (17) of logging calls during the initialization phase have been intercepted and are SLF4J: now being replayed. These are subject to the filtering rules of the underlying logging system. SLF4J: See also http://www.slf4j.org/codes.html#replay 02:10:00.280 INFO --- [ main] io.seata.server.Server : The server is running in container. 02:10:00.380 INFO --- [ main] io.seata.config.FileConfiguration : The file name of the operation is file:/root/seata-config/registry 02:10:00.382 INFO --- [ main] io.seata.config.FileConfiguration : The configuration file used is /root/seata-config/registry.conf Exception in thread "main" java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:460) at java.util.Properties.setProperty(Properties.java:166) at java.lang.System.setProperty(System.java:798) at io.seata.config.apollo.ApolloConfiguration.readyApolloConfig(ApolloConfiguration.java:188) at io.seata.config.apollo.ApolloConfiguration.(ApolloConfiguration.java:77) at io.seata.config.apollo.ApolloConfiguration.getInstance(ApolloConfiguration.java:111) at io.seata.config.apollo.ApolloConfigurationProvider.provide(ApolloConfigurationProvider.java:29) at io.seata.config.ConfigurationFactory.buildConfiguration(ConfigurationFactory.java:131) at io.seata.config.ConfigurationFactory.getInstance(ConfigurationFactory.java:94) at io.seata.server.ParameterParser.init(ParameterParser.java:84) at io.seata.server.ParameterParser.(ParameterParser.java:60) at io.seata.server.Server.main(Server.java:63)

原提问者GitHub用户lehug

展开
收起
学习娃 2023-06-14 17:09:32 74 0
1 条回答
写回答
取消 提交回答
  • 问题已在1.5.0上被修复

    原回答者GitHub用户a364176773

    2023-06-14 17:40:50
    赞同 展开评论 打赏

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载