// Reading MED nodes to the corresponding SMDS structure
//------------------------------------------------------
PNodeInfo aNodeInfo = aMed->GetPNodeInfo(aMeshInfo);
+ if ( !aNodeInfo )
+ return DRS_FAIL;
PCoordHelper aCoordHelper = GetCoordHelper(aNodeInfo);