alibaba/nacos · error · NacosException
400
400
Error message
Properties cannot be null
What it means
Error "Properties cannot be null" thrown in alibaba/nacos.
Source
Thrown at maintainer-client/src/main/java/com/alibaba/nacos/maintainer/client/config/ConfigMaintainerFactory.java:54
*/
public static ConfigMaintainerService createConfigMaintainerService(String serverList)
throws NacosException {
Properties properties = new Properties();
properties.setProperty("serverAddr", serverList);
return new NacosConfigMaintainerServiceImpl(properties);
}
/**
* create config maintainer service.
*
* @param properties properties
* @return config maintainer service
* @throws NacosException nacos exception
*/
public static ConfigMaintainerService createConfigMaintainerService(Properties properties)
throws NacosException {
if (properties == null) {
throw new NacosException(NacosException.INVALID_PARAM, "Properties cannot be null");
}
return new NacosConfigMaintainerServiceImpl(properties);
}
}
View on GitHub (pinned to 9b989acdf1)
Solutions
- Provide a non-null value for config maintainer properties null before invoking this operation.
When it happens
Trigger: Thrown at maintainer-client/src/main/java/com/alibaba/nacos/maintainer/client/config/ConfigMaintainerFactory.java:54 when the library encounters an invalid state.
Common situations: Creating the config maintainer factory with null properties.
AI-assisted analysis of alibaba/nacos@9b989acdf1 (2026-08-14).
Data as JSON: /api/errors/eaee85a0eb5b5677.
Report an issue: GitHub.