#4731 Fix crash when importing formations or well paths after summary import in ensemble RFT

This commit is contained in:
Gaute Lindkvist 2019-09-18 09:09:49 +02:00
parent 1e7acd8a10
commit 3e9bf9d1d8

View File

@ -680,7 +680,7 @@ RigEclipseWellLogExtractor* RimWellLogRftCurve::extractor()
RimWellPath* wellPath = proj->wellPathFromSimWellName( m_wellName() );
eclExtractor = wellLogCollection->findOrCreateExtractor( wellPath, m_eclipseResultCase );
if ( !eclExtractor )
if ( !eclExtractor && m_eclipseResultCase )
{
QString simWellName = RimWellPlotTools::simWellName( m_wellName );
std::vector<const RigWellPath*> wellPaths = RiaSimWellBranchTools::simulationWellBranches( simWellName,