From f55f9f63225baefb5527cd1e1578c8a5c34ae98d Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 21 Jul 2018 22:43:44 +0700 Subject: [PATCH] Fix NPE --- source/net/filebot/LicenseModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/LicenseModel.java b/source/net/filebot/LicenseModel.java index 7ebfe1e3..017d9ef2 100644 --- a/source/net/filebot/LicenseModel.java +++ b/source/net/filebot/LicenseModel.java @@ -9,7 +9,7 @@ public enum LicenseModel { MicrosoftStore { - private final Resource AUMID = Resource.lazy(() -> getAppUserModelID().equals("PointPlanck.FileBot")); + private final Resource AUMID = Resource.lazy(() -> getAppUserModelID() == null || getAppUserModelID().equals("PointPlanck.FileBot")); @Override public Object check() throws LicenseError {