SwarmScmSource#getPathsInBranch can return null in certain cases.
In the case I debugged, I had reviewed a branch from a Swarm project which still had an open review.
https://github.com/jenkinsci/p4-plugin/pull/98
Ready for release.
Release in 1.10.0