Project

General

Profile

Bug #22995

module instance and class name missing in exception printing

Added by David Brown 4 months ago. Updated 3 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
07/25/2019
Due date:
% Done:

100%

Estimated time:
Spent time:
Occurs In:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
art
Duration:

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

Related to art - Bug #23174: Print the message of STL exceptionsClosed08/26/2019

History

#1 Updated by Kyle Knoepfel 3 months ago

This is known bug. We will relate this issue to another one that reports the same problem.

#2 Updated by Kyle Knoepfel 2 months ago

  • Assignee set to Kyle Knoepfel

#3 Updated by Kyle Knoepfel 2 months ago

  • Status changed from New to Assigned

#4 Updated by Kyle Knoepfel about 1 month ago

  • Target version set to 1994
  • Description updated (diff)

#5 Updated by Kyle Knoepfel about 1 month 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 about 1 month ago

  • % Done changed from 0 to 100

#7 Updated by Kyle Knoepfel 13 days ago

  • Target version changed from 1994 to 3.04.00

#8 Updated by Kyle Knoepfel 10 days ago

  • Related to Bug #23174: Print the message of STL exceptions added

#9 Updated by Kyle Knoepfel 3 days ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF