:I am having the same problem with the Serviio Media Server not starting up again after updating to OSX 15.2.
Unfortunately, I am not technical enough to interpret the log entries to determine the problem. Can anyone who is more knowledgeable please help me to get Servio Media Server running again?
Here is the first page of the last entry in my "servio.log" file:
2025-01-05T08:00:24,885 ERROR [MediaServer] An unexpected error occurred. Ending the application. Message: null
java.lang.NullPointerException: null
at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:50) ~[serviio.jar:?]
at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:86) ~[serviio.jar:?]
at org.serviio.MediaServer.main(MediaServer.java:128) ~[serviio.jar:?]
2025-01-05T14:22:31,758 INFO [MediaServer] ------------------------------------------------------------------------
2025-01-05T14:22:31,763 INFO [MediaServer] Serviio DLNA media streaming server v 2.4 (rev. f520ddf3d2ce4ae4f1f352761852647a7fab7d43)
2025-01-05T14:22:31,763 INFO [MediaServer] Petr Nejedly 2009-2018
2025-01-05T14:22:31,763 INFO [MediaServer]
http://www.serviio.org2025-01-05T14:22:31,763 INFO [MediaServer]
2025-01-05T14:22:31,764 INFO [MediaServer] Java 1.8.0_352-BellSoft x86_64
2025-01-05T14:22:31,764 INFO [MediaServer] OS Mac OS X 10.16
2025-01-05T14:22:31,764 INFO [MediaServer] File encoding: UTF-8
2025-01-05T14:22:31,768 INFO [MediaServer] Headless mode enabled: true
2025-01-05T14:22:31,768 INFO [MediaServer] User: root
2025-01-05T14:22:31,769 INFO [MediaServer] User home dir: /var/root
2025-01-05T14:22:31,769 INFO [MediaServer] Temp dir: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/
2025-01-05T14:22:31,769 INFO [MediaServer] ------------------------------------------------------------------------
2025-01-05T14:22:31,774 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2025-01-05T14:22:31,790 INFO [DatabaseManager] Using DERBY database language
2025-01-05T14:22:32,096 WARN [DBConnectionPool] Can't create a new connection for jdbc:derby:db;create=true
java.sql.SQLException: Failed to start database 'db' with class loader sun.misc.Launcher$AppClassLoader@63961c42, see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source) ~[derby.jar:?]
at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source) ~[derby.jar:?]
at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source) ~[derby.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_352]
at org.apache.derby.jdbc.InternalDriver.getNewEmbedConnection(Unknown Source) ~[derby.jar:?]
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) ~[derby.jar:?]
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) ~[derby.jar:?]
at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source) ~[derby.jar:?]
at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[?:1.8.0_352]
at java.sql.DriverManager.getConnection(DriverManager.java:270) ~[?:1.8.0_352]
at org.serviio.db.DBConnectionPool.newConnection(DBConnetionPool.java:186) ~[serviio.jar:?]
at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:123) ~[serviio.jar:?]
at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:149) ~[serviio.jar:?]
at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:71) ~[serviio.jar:?]
at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:64) ~[serviio.jar:?]
at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:49) ~[serviio.jar:?]
at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:86) ~[serviio.jar:?]
at org.serviio.MediaServer.main(MediaServer.java:128) ~[serviio.jar:?]
Caused by: org.apache.derby.iapi.error.StandardException: Failed to start database 'db' with class loader sun.misc.Launcher$AppClassLoader@63961c42, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source) ~[derby.jar:?]
... 22 more
Caused by: org.apache.derby.iapi.error.StandardException: Page Page(5,Container(0, 2544)) is at version 4,680,699, the log file contains change version 5,323,487, either there are log records of this page missing, or this page did not get written out to disk properly.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby.jar:?]
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.store.raw.data.PageBasicOperation.needsRedo(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.store.raw.log.FileLogger.redo(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.store.raw.log.LogToFile.recover(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source) ~[derby.jar:?]
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.store.access.RAMAccessManager$5.run(Unknown Source) ~[derby.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_352]
at org.apache.derby.impl.store.access.RAMAccessManager.bootServiceModule(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source) ~[derby.jar:?]
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.db.BasicDatabase$5.run(Unknown Source) ~[derby.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_352]
at org.apache.derby.impl.db.BasicDatabase.bootServiceModule(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source) ~[derby.jar:?]
at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.jdbc.EmbedConnection$4.run(Unknown Source) ~[derby.jar:?]
at org.apache.derby.impl.jdbc.EmbedConnection$4.run(Unknown Source) ~[derby.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_352]
at org.apache.derby.impl.jdbc.EmbedConnection.startPersistentService(Unknown Source) ~[derby.jar:?]
... 19 more
2025-01-05T14:22:34,185 ERROR [MediaServer] An unexpected error occurred. Ending the application. Message: null
java.lang.NullPointerException: null
at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:50) ~[serviio.jar:?]
at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:86) ~[serviio.jar:?]
at org.serviio.MediaServer.main(MediaServer.java:128) ~[serviio.jar:?]