Bug #22995
module instance and class name missing in exception printing
Occurs In:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
art
Description
Running mu2e using art v3_03_01 I find that the exception printout no longer lists the module instance and class where the exception occurs. For
an example see below, the line is blank following 'going through module'
%MSG-s ArtException: PostEndJob 25-Jul-2019 19:12:54 CDT ModuleEndJob cet::exception caught in art ---- OtherArt BEGIN ---- EventProcessorFailure BEGIN EventProcessor: an exception occurred during current event processing ---- ScheduleExecutionFailure BEGIN Path: ProcessingStopped. ---- ProductNotFound BEGIN getByLabel: Found zero products matching all criteria Looking for type: std::map<art::Ptr<mu2e::SimParticle>,double> Looking for module label: compressDigiMCs Looking for productInstanceName: cosmicTimeMap cet::exception going through module ---- ProductNotFound END Exception going through path RecoPath ---- ScheduleExecutionFailure END ---- EventProcessorFailure END ---- OtherArt END %MSG
Related issues
History
#1 Updated by Kyle Knoepfel over 1 year ago
This is known bug. We will relate this issue to another one that reports the same problem.
#2 Updated by Kyle Knoepfel over 1 year ago
- Assignee set to Kyle Knoepfel
#3 Updated by Kyle Knoepfel over 1 year ago
- Status changed from New to Assigned
#4 Updated by Kyle Knoepfel over 1 year ago
- Target version set to 1994
- Description updated (diff)
#5 Updated by Kyle Knoepfel over 1 year ago
- Status changed from Assigned to Resolved
- Category set to Infrastructure
- SSI Package art added
The problem was due to an incorrect ordering of function calls used to populate the exception message. This has been fixed with commits:
The entire exception-handling system needs to be refreshed, but at least the module information should now be provided with art 3.04.00, whose release timescale has yet to be determined.
#6 Updated by Kyle Knoepfel over 1 year ago
- % Done changed from 0 to 100
#7 Updated by Kyle Knoepfel about 1 year ago
- Target version changed from 1994 to 3.04.00
#8 Updated by Kyle Knoepfel about 1 year ago
- Related to Bug #23174: Print the message of STL exceptions added
#9 Updated by Kyle Knoepfel about 1 year ago
- Status changed from Resolved to Closed