CPT4 Processing Issue August 2025 version

The CPT processing crashes at the end:

[INFO ] 2025-09-02 07:19:13.850 [main] ConceptService - Writing updated data to CONCEPT.csv
Updated CPT4 records: 15224/18068[ERROR] 2025-09-02 11:09:26.945 [main] Application - org.odhsi.utils.cpt.Cpt4Exception: Cannot read or process resource: cpt4
java.util.concurrent.ExecutionException: org.odhsi.utils.cpt.Cpt4Exception: Cannot read or process resource: cpt4
at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_202]
at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_202]
at org.odhsi.utils.cpt.services.ConceptUpdater.updateCodes(ConceptUpdater.java:82) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.services.ConceptService.process(ConceptService.java:36) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.Application.main(Application.java:38) [cpt4.jar:?]
Caused by: org.odhsi.utils.cpt.Cpt4Exception: Cannot read or process resource: cpt4
at org.odhsi.utils.cpt.PredefinedReferencesLoader.loadAndProcessCSV(PredefinedReferencesLoader.java:58) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.PredefinedReferencesLoader.loadCachedResourceCSVFile(PredefinedReferencesLoader.java:43) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.PredefinedReferencesLoader.concepts(PredefinedReferencesLoader.java:34) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.services.ConceptUpdater.resolveConceptName(ConceptUpdater.java:124) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.services.ConceptUpdater.processConcept(ConceptUpdater.java:111) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.services.ConceptUpdater.access$000(ConceptUpdater.java:24) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.services.ConceptUpdater$RequestSubmitter.call(ConceptUpdater.java:105) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.services.ConceptUpdater$RequestSubmitter.call(ConceptUpdater.java:92) ~[cpt4.jar:?]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_202]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:1.8.0_202]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:1.8.0_202]
at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_202]
Caused by: java.lang.NullPointerException
at org.odhsi.utils.cpt.domain.Concept.getConceptId(Concept.java:60) ~[cpt4.jar:?]
at java.util.stream.Collectors.lambda$toMap$58(Unknown Source) ~[?:1.8.0_202]
at java.util.stream.ReduceOps$3ReducingSink.accept(Unknown Source) ~[?:1.8.0_202]
at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) ~[?:1.8.0_202]
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) ~[?:1.8.0_202]
at java.util.Iterator.forEachRemaining(Unknown Source) ~[?:1.8.0_202]
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source) ~[?:1.8.0_202]
at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0_202]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0_202]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) ~[?:1.8.0_202]
at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:1.8.0_202]
at java.util.stream.ReferencePipeline.collect(Unknown Source) ~[?:1.8.0_202]
at org.odhsi.utils.cpt.repository.ConceptRepository.readConceptsMap(ConceptRepository.java:65) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.repository.ConceptRepository.readCsvFile(ConceptRepository.java:40) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.PredefinedReferencesLoader.loadAndProcessCSV(PredefinedReferencesLoader.java:51) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.PredefinedReferencesLoader.loadCachedResourceCSVFile(PredefinedReferencesLoader.java:43) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.PredefinedReferencesLoader.concepts(PredefinedReferencesLoader.java:34) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.services.ConceptUpdater.resolveConceptName(ConceptUpdater.java:124) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.services.ConceptUpdater.processConcept(ConceptUpdater.java:111) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.services.ConceptUpdater.access$000(ConceptUpdater.java:24) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.services.ConceptUpdater$RequestSubmitter.call(ConceptUpdater.java:105) ~[cpt4.jar:?]
at org.odhsi.utils.cpt.services.ConceptUpdater$RequestSubmitter.call(ConceptUpdater.java:92) ~[cpt4.jar:?]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_202]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:1.8.0_202]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:1.8.0_202]
at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_202]
Exception in thread “main” org.odhsi.utils.cpt.Cpt4Exception: Cannot process CONCEPT.csv file. You can find more details in the logs/logfile.log file.
Reason: org.odhsi.utils.cpt.Cpt4Exception: Cannot read or process resource: cpt4
at org.odhsi.utils.cpt.Application.main(Application.java:43)

The log file contains 11823 FAILs.
Just as a test, I tried it with the cpt4.jar of the previous vocab version. That didn’t crash and had 415 FAILs.

Hi @bmosseveld

Thank you for reporting this issue. Our Athena team is fixing it right now, we’ll keep you updated.

@bmosseveld

This problem has been fixed. Please, generate new bundle in Athena and re-run cpt4.jar.

Thanks!