mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for WebStatFilter NullPointerExcepton
This commit is contained in:
@@ -193,7 +193,9 @@ public class WebStatFilter implements Filter {
|
||||
Profiler.release(nanos);
|
||||
|
||||
Map<ProfileEntryKey, ProfileEntryReqStat> requestStatsMap = Profiler.getStatsMap();
|
||||
uriStat.getProfiletat().record(requestStatsMap);
|
||||
if (uriStat != null) {
|
||||
uriStat.getProfiletat().record(requestStatsMap);
|
||||
}
|
||||
Profiler.removeLocal();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user