diff --git a/core/core-frontend/src/views/data-visualization/index.vue b/core/core-frontend/src/views/data-visualization/index.vue
index 93b1ddc04d..86063df759 100644
--- a/core/core-frontend/src/views/data-visualization/index.vue
+++ b/core/core-frontend/src/views/data-visualization/index.vue
@@ -409,7 +409,7 @@ eventBus.on('handleNew', handleNew)
cache = cacheManager.getCache(cacheName);
- cache.remove(key);
+ if(cache != null){
+ cache.remove(key);
+ }
}
@PostConstruct