diff --git a/naming/src/main/java/com/alibaba/nacos/naming/controllers/RaftController.java b/naming/src/main/java/com/alibaba/nacos/naming/controllers/RaftController.java index 40854d478..425a816a9 100644 --- a/naming/src/main/java/com/alibaba/nacos/naming/controllers/RaftController.java +++ b/naming/src/main/java/com/alibaba/nacos/naming/controllers/RaftController.java @@ -233,7 +233,7 @@ public class RaftController { String value = URLDecoder.decode(entity, "UTF-8"); value = URLDecoder.decode(value, "UTF-8"); - JsonNode jsonObject = JacksonUtils.createEmptyJsonNode(); + JsonNode jsonObject = JacksonUtils.toObj(value); Datum datum = JacksonUtils.toObj(jsonObject.get("datum").toString(), Datum.class); RaftPeer source = JacksonUtils.toObj(jsonObject.get("source").toString(), RaftPeer.class);