diff --git a/source/net/filebot/web/AcoustIDClient.java b/source/net/filebot/web/AcoustIDClient.java index 08c303e2..c2e63cd6 100644 --- a/source/net/filebot/web/AcoustIDClient.java +++ b/source/net/filebot/web/AcoustIDClient.java @@ -175,7 +175,7 @@ public class AcoustIDClient implements MusicIdentificationService { debug.log(Level.WARNING, e.getMessage(), e); return null; } - }).filter(Objects::nonNull).sorted(new MostFieldsNotNull()).findFirst().get(); + }).filter(Objects::nonNull).sorted(new MostFieldsNotNull()).findFirst().orElse(null); } return null;