X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2FBASE%2Futil%2FAliHLTRawReaderPublisherComponent.cxx;h=4f77695f954cccf296a94f0374385b24fbba034e;hb=6daf06e2f52823c7bfb334fbc2952b7dd007fec4;hp=e552133bce90e75ae0408bcb488bc50806aabccf;hpb=ff84822673489f5e0bbad038ca2fb1c791cf5214;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/BASE/util/AliHLTRawReaderPublisherComponent.cxx b/HLT/BASE/util/AliHLTRawReaderPublisherComponent.cxx index e552133bce9..4f77695f954 100644 --- a/HLT/BASE/util/AliHLTRawReaderPublisherComponent.cxx +++ b/HLT/BASE/util/AliHLTRawReaderPublisherComponent.cxx @@ -226,8 +226,10 @@ int AliHLTRawReaderPublisherComponent::GetEvent(const AliHLTComponentEventData& list processedIds; while (pRawReader->ReadHeader() && (iResult>=0 || iResult==-ENOSPC)) { const AliRawDataHeader* pHeader=pRawReader->GetDataHeader(); - assert(pHeader!=NULL); - if (pHeader==NULL) continue; + if (pHeader==NULL) { + HLTError("can not get data header from RawReader, skipping data block ..."); + continue; + } unsigned int readSize=pRawReader->GetDataSize()+sizeof(AliRawDataHeader); int id=pRawReader->GetEquipmentId(); AliInfo(Form("got header for id %d, size %d", id, readSize));