浏览代码
fix Nullpoint exception
NullPointException when set : ureport.disableHttpSessionReportCache=true
master
Yin Guo Wei
6 年前
提交者
GitHub
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有
1 个文件被更改,包括
3 次插入 和
1 次删除
-
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){ |
|
|
|