diff --git a/apps/backend/src/main/java/no/nav/data/integration/behandling/BehandlingService.java b/apps/backend/src/main/java/no/nav/data/integration/behandling/BehandlingService.java index 24170a390..502c53c1f 100644 --- a/apps/backend/src/main/java/no/nav/data/integration/behandling/BehandlingService.java +++ b/apps/backend/src/main/java/no/nav/data/integration/behandling/BehandlingService.java @@ -26,7 +26,7 @@ public class BehandlingService { private List getDatabehandlerForBehandling(BkatProcess process) { List dataBehandlerList = new ArrayList<>(); - if(!process.getDataProcessing().getProcessors().isEmpty()) { + if(process.getDataProcessing() != null && !process.getDataProcessing().getProcessors().isEmpty()) { process.getDataProcessing().getProcessors().forEach(databehandlerId -> { DataBehandler databehandler = getDataBehandler(databehandlerId); if(databehandler != null) {