diff --git a/Post/PViewDataGModel.cpp b/Post/PViewDataGModel.cpp
index 35622352eb1912ef5b03e2c74625a06b93d3791c..bc26a46e894811c3242daea9d3a040bf4a34f0ed 100644
--- a/Post/PViewDataGModel.cpp
+++ b/Post/PViewDataGModel.cpp
@@ -697,6 +697,7 @@ bool PViewDataGModel::skipElement(int step, int ent, int ele, bool checkVisibili
   stepData<double> *sd = _steps[step];
   if(!_steps[step]->getNumData()) return true;
   MElement *e = _getElement(step, ent, ele);
+  if(!e) return true;
   if(checkVisibility && !e->getVisibility()) return true;
   if(_type == NodeData){
     for(int i = 0; i < getNumNodes(step, ent, ele); i++)