diff --git a/scouter.server/src/main/java/scouter/server/CounterManager.java b/scouter.server/src/main/java/scouter/server/CounterManager.java index 3c8360891..185d40444 100644 --- a/scouter.server/src/main/java/scouter/server/CounterManager.java +++ b/scouter.server/src/main/java/scouter/server/CounterManager.java @@ -538,6 +538,9 @@ public String normalizeCountersXml(String xmlString) throws JAXBException { if (counters.familys == null) { counters.familys = new Familys0(new ArrayList<>()); } + if (counters.familys.family == null) { + counters.familys.family = new ArrayList<>(); + } List families = counters.familys.family.stream() .filter(f -> !f.name.contains("zws-metric."))