Skip to content

Commit

Permalink
Do not throw an exception when ROOT reports a missing dictionary problem
Browse files Browse the repository at this point in the history
In the case where ROOT prints a message about a missing collection
proxy we no longer throw an exception. This was needed to handle the
case of reading an old file using a release for which a class in that
file no longer exists. The framework doesn't need the exception since
it has other ways of detecting the missing dictionary and then take
appropriate action.
  • Loading branch information
Dr15Jones committed Aug 12, 2014
1 parent c080f54 commit f1eed60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions FWCore/Services/src/InitRootHandlers.cc
Expand Up @@ -124,6 +124,9 @@ namespace {
(el_message.find("already in TClassTable") != std::string::npos) ||
(el_message.find("matrix not positive definite") != std::string::npos) ||
(el_message.find("not a TStreamerInfo object") != std::string::npos) ||
//This deals with a missing dictionary problem
( (el_message.find("Collection proxy for") !=std::string::npos &&
el_message.find("was not properly initialized!") != std::string::npos)) ||
(el_location.find("Fit") != std::string::npos) ||
(el_location.find("TDecompChol::Solve") != std::string::npos) ||
(el_location.find("THistPainter::PaintInit") != std::string::npos) ||
Expand Down

0 comments on commit f1eed60

Please sign in to comment.