diff --git a/src/main/java/com/alibaba/druid/support/http/stat/WebAppStatUtils.java b/src/main/java/com/alibaba/druid/support/http/stat/WebAppStatUtils.java index fc8fb35509..9e53240722 100644 --- a/src/main/java/com/alibaba/druid/support/http/stat/WebAppStatUtils.java +++ b/src/main/java/com/alibaba/druid/support/http/stat/WebAppStatUtils.java @@ -82,7 +82,7 @@ public class WebAppStatUtils { try { Method method = webStat.getClass().getMethod("getSessionStatData", String.class); - Object obj = method.invoke(webStat); + Object obj = method.invoke(webStat, sessionId); return (Map) obj; } catch (Exception e) { LOG.error("getSessionStatData error", e); @@ -98,7 +98,7 @@ public class WebAppStatUtils { try { Method method = webStat.getClass().getMethod("getURIStatData", String.class); - Object obj = method.invoke(webStat); + Object obj = method.invoke(webStat, uri); return (Map) obj; } catch (Exception e) { LOG.error("getURIStatData error", e);