The ATOF reconstruction engine crashes with a NullPointerException when the timeOffsets array has not been initialized. The error occurs in ATOFHit.convertTdcToTime at line 204, called during hit construction (ATOFHit.<init> line 417). This suggests the calibration constants for ATOF time offsets were not loaded from CCDB, or the relevant table/variation is missing for the current run.
Stack Trace
java.lang.NullPointerException: Cannot load from double array because "timeOffsets" is null
at org.jlab.rec.atof.hit.ATOFHit.convertTdcToTime(ATOFHit.java:204)
at org.jlab.rec.atof.hit.ATOFHit.<init>(ATOFHit.java:417)
at org.jlab.rec.atof.hit.HitFinder.findHits(HitFinder.java:92)
at org.jlab.service.atof.ATOFEngine.processDataEvent(ATOFEngine.java:106)
at org.jlab.clas.reco.ReconstructionEngine.filterEvent(ReconstructionEngine.java:368)
at org.jlab.clas.reco.ReconstructionEngine.execute(ReconstructionEngine.java:407)
Environment
- CJ 13.8.2
- timestamp: 04/04/2026-07:00:00
The ATOF reconstruction engine crashes with a
NullPointerExceptionwhen thetimeOffsetsarray has not been initialized. The error occurs inATOFHit.convertTdcToTimeat line 204, called during hit construction (ATOFHit.<init>line 417). This suggests the calibration constants for ATOF time offsets were not loaded from CCDB, or the relevant table/variation is missing for the current run.Stack Trace
Environment