FAQ  •  Register  •  Login

Sudden java error fails the server

<<

cnarwc1

Serviio newbie

Posts: 2

Joined: Mon Dec 26, 2016 2:05 am

Post Tue Dec 27, 2016 2:02 am

Sudden java error fails the server

I'm pretty much a newbie, but I had Serviio running fine until suddenly it throws the java NullPointerException shown below from the Serviio log.
I upgraded from Serviio version 1.7.1.1 to version 1.8 and it broke at that point. I reinstalled java and Serviio 1.7.1.1, checked for broken packages, and it still fails. (Bad Christmas :!: )
Serviio is installed in my home directory and now fails whether run from the command line or on boot from “Startup Applications”. Anyone have suggestions?

I'm running Ubuntu 16.04 on an AMD Athlon II X2 240 Processor x2, a 32 bit OS installation with a 1TB hard disk.

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) Server VM (build 25.101-b13, mixed mode)

  Code:
16-12-25 20:00:41,917 INFO  [MediaServer] ------------------------------------------------------------------------
2016-12-25 20:00:41,917 INFO  [MediaServer] Serviio DLNA media streaming server v 1.7.1.1 (rev. b9bacfc89ab0)
2016-12-25 20:00:41,917 INFO  [MediaServer] Petr Nejedly 2009-2015
2016-12-25 20:00:41,917 INFO  [MediaServer] http://www.serviio.org
2016-12-25 20:00:41,917 INFO  [MediaServer]
2016-12-25 20:00:41,918 INFO  [MediaServer] Java 1.8.0_101-Oracle Corporation i386
2016-12-25 20:00:41,918 INFO  [MediaServer] OS Linux 4.4.0-57-generic
2016-12-25 20:00:41,918 INFO  [MediaServer] File encoding: UTF-8
2016-12-25 20:00:41,973 INFO  [MediaServer] Headless mode enabled: true
2016-12-25 20:00:41,973 INFO  [MediaServer] User: root
2016-12-25 20:00:41,973 INFO  [MediaServer] User home dir: /root
2016-12-25 20:00:41,973 INFO  [MediaServer] Temp dir: /tmp
2016-12-25 20:00:41,973 INFO  [MediaServer] ------------------------------------------------------------------------
2016-12-25 20:00:41,994 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2016-12-25 20:00:42,009 INFO  [DatabaseManager] Using DERBY database language
2016-12-25 20:00:57,204 INFO  [DBSchemaUpdateExecutor] Updating DB schema
2016-12-25 20:00:59,211 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: null
java.lang.NullPointerException
   at org.serviio.util.JdbcUtils.executeBatchStatement(JdbcUtils.java:59)
   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:95)
   at org.serviio.MediaServer.main(MediaServer.java:124)
<<

AndrewW

Serviio lover

Posts: 79

Joined: Sat Mar 19, 2011 8:15 am

Post Tue Dec 27, 2016 1:59 pm

Re: Sudden java error fails the server

have you tried removing serviio and reinstalling,
Also more of a security point, personally i would not run any app as root
<<

cnarwc1

Serviio newbie

Posts: 2

Joined: Mon Dec 26, 2016 2:05 am

Post Tue Dec 27, 2016 7:05 pm

Re: Sudden java error fails the server

Thanks. I had already reinstalled Serviio twice. I did it again, but this time I also replaced the library. It worked, and the library is rebuilding as I write this. Must have been corrupted somehow. :P

Return to User experiences

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.