diff --git a/src/STEPCAFControl/STEPCAFControl_Reader.cxx b/src/STEPCAFControl/STEPCAFControl_Reader.cxx index cae2a1bf28..7395804d8f 100644 --- a/src/STEPCAFControl/STEPCAFControl_Reader.cxx +++ b/src/STEPCAFControl/STEPCAFControl_Reader.cxx @@ -4657,6 +4657,8 @@ TDF_Label STEPCAFControl_Reader::SettleShapeData(const Handle(StepRepr_Represent const Handle(Transfer_TransientProcess)& TP) const { TDF_Label aResult = theLab; + if (theItem.IsNull()) + return aResult; Handle(TCollection_HAsciiString) hName = theItem->Name(); if (hName.IsNull() || hName->IsEmpty())