UMS ignores "auto_update = false" and fails updating
Posted: Wed Jul 24, 2024 5:53 pm
1) UMS does not care, that in ums.conf "auto_update = false" has been set. So it tried to update today.
2) As usual updating does not work, is hanging, nothing happens.
Log:
07:10:54 INFO Exception in thread "pool-1-thread-1" java.lang.NullPointerException: Cannot invoke "net.pms.configuration.UmsConfiguration.getProfileDirectory()" because "net.pms.external.update.AutoUpdater.CONFIGURATION" is null
07:10:54 INFO at net.pms.external.update.AutoUpdater.downloadUpdate(AutoUpdater.java:213)
07:10:54 INFO at net.pms.external.update.AutoUpdater.doGetUpdateFromNetwork(AutoUpdater.java:142)
07:10:54 INFO at net.pms.external.update.AutoUpdater.lambda$getUpdateFromNetwork$1(AutoUpdater.java:113)
07:10:54 INFO at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
07:10:54 INFO at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
07:10:54 INFO at java.base/java.lang.Thread.run(Unknown Source)
07:11:29 INFO Listing all users
I cannot reproduce the problem, since after a new start of ums autoupdate does not start again (I am sure it will, when next update is available.)
2) As usual updating does not work, is hanging, nothing happens.
Log:
07:10:54 INFO Exception in thread "pool-1-thread-1" java.lang.NullPointerException: Cannot invoke "net.pms.configuration.UmsConfiguration.getProfileDirectory()" because "net.pms.external.update.AutoUpdater.CONFIGURATION" is null
07:10:54 INFO at net.pms.external.update.AutoUpdater.downloadUpdate(AutoUpdater.java:213)
07:10:54 INFO at net.pms.external.update.AutoUpdater.doGetUpdateFromNetwork(AutoUpdater.java:142)
07:10:54 INFO at net.pms.external.update.AutoUpdater.lambda$getUpdateFromNetwork$1(AutoUpdater.java:113)
07:10:54 INFO at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
07:10:54 INFO at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
07:10:54 INFO at java.base/java.lang.Thread.run(Unknown Source)
07:11:29 INFO Listing all users
I cannot reproduce the problem, since after a new start of ums autoupdate does not start again (I am sure it will, when next update is available.)