How to reproduce
- Go to _admin
- Open SCC tool
- Edit a SCC where the content type selected does not exists (for example berenice changed the content type )
Actual behavior
Caused by: java.lang.NullPointerException at org.ametys.plugins.contentio.synchronize.SynchronizableContentsCollectionDAO.getSynchronizableContentsCollectionAsJson(SynchronizableContentsCollectionDAO.java:211) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) at org.ametys.plugins.contentio.synchronize.GetSynchronizableContentsCollectionsAction.act(GetSynchronizableContentsCollectionsAction.java:54)