A java.lang.NullPointerException can occur in when feeding uuids of components of project having :
- A project has 2 active snapshots (should not be possible but it's what happen for a user)
- A project has become the module of another project (which is no more possible now)
The migration should not fail but should ignore components of such project.
More details on stackoverflow :