diff --git a/GPU/Workflow/src/GPUWorkflowSpec.cxx b/GPU/Workflow/src/GPUWorkflowSpec.cxx index 7f69513dea1d5..f7fc760b99125 100644 --- a/GPU/Workflow/src/GPUWorkflowSpec.cxx +++ b/GPU/Workflow/src/GPUWorkflowSpec.cxx @@ -520,7 +520,7 @@ int32_t GPURecoWorkflowSpec::runMain(o2::framework::ProcessingContext* pc, GPUTr static bool first = true; if (first) { first = false; - if (pc->services().get().inputTimesliceId == 0) { // TPC ConfigurableCarams are somewhat special, need to construct by hand + if (pc && pc->services().get().inputTimesliceId == 0) { // TPC ConfigurableCarams are somewhat special, need to construct by hand o2::conf::ConfigurableParam::write(o2::base::NameConf::getConfigOutputFileName(pc->services().get().name, "rec_tpc"), "GPU_rec_tpc,GPU_rec,GPU_proc_param,GPU_proc,GPU_global,trackTuneParams"); } }