Browse Source

Merge pull request #291 from yingw/patch-1

fix Nullpoint exception
master
高杰 6 years ago
committed by GitHub
parent
commit
b8529166e2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ureport2-core/src/main/java/com/bstek/ureport/cache/CacheUtils.java

4
ureport2-core/src/main/java/com/bstek/ureport/cache/CacheUtils.java

@ -48,7 +48,9 @@ public class CacheUtils implements ApplicationContextAware{
public static void storeChartDataMap(Map<String, ChartData> map){
String key=CHART_DATA_key;
reportCache.storeObject(key, map);
if(reportCache!=null){
reportCache.storeObject(key, map);
}
}
public static Object getObject(String file){

Loading…
Cancel
Save