Browse Source
Merge pull request #291 from yingw/patch-1
fix Nullpoint exception
master
高杰
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
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){ |
|
|
|