UMS 5.0.0/Java7u75/Win7x64 Exceptions

For help and support with Universal Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
orgon3
Posts: 33
Joined: Fri Jun 15, 2012 7:12 pm

UMS 5.0.0/Java7u75/Win7x64 Exceptions

Post by orgon3 » Wed Jan 28, 2015 10:04 pm

First and always, thanks for dedicating your time to this awesome project! Everyone always says Plex is the best, yet it can't even rewind through the PS3. Pfth!

I upgraded from 4.4.0 to 5.0.0 without any hiccups. I have attached my debug log to help, but here's the header and then the important part:

Code: Select all

01-28 02:39:10  Starting Universal Media Server 5.0.0
01-28 02:39:10  Based on PS3 Media Server by shagrath, copyright 2008-2014
01-28 02:39:10  http://www.universalmediaserver.com
01-28 02:39:10  
01-28 02:39:10  Build: 420e5aa50 (2015-01-25)
01-28 02:39:10  Java: Java HotSpot(TM) 64-Bit Server VM 1.7.0_75 64-bit by Oracle Corporation
01-28 02:39:10  OS: Windows 7 64-bit 6.1
01-28 02:39:10  Encoding: UTF-8
01-28 02:39:10  Memory: 1138 MB
01-28 02:39:10  Language: en

Code: Select all

01-28 04:42:29  Exception in thread "tsMuxeR-new.exe-19-1" java.lang.NullPointerException
01-28 04:42:29  	at net.pms.io.BufferedOutputFileImpl.write(BufferedOutputFileImpl.java:357)
01-28 04:42:29  	at net.pms.io.OutputBufferConsumer.run(OutputBufferConsumer.java:57)
01-28 04:42:40  Exception in thread "tsMuxeR-new.exe-43-1" java.lang.NullPointerException
01-28 04:42:40  	at net.pms.io.BufferedOutputFileImpl.shiftVideo(BufferedOutputFileImpl.java:575)
01-28 04:42:40  	at net.pms.io.BufferedOutputFileImpl.write(BufferedOutputFileImpl.java:373)
01-28 04:42:40  	at net.pms.io.OutputBufferConsumer.run(OutputBufferConsumer.java:57)
Now, based on the time stamps from when the movie was started and the length of the movie, those errors appeared exactly 10 minutes before the movie ended (after credits and everything). I come to the conclusion that UMS is streaming and buffering 10 minutes of video, and the NullPointerException exceptions happened when there was no more of the video file-stream to read.

The movie ended without any issues at all, so this did not affect playback.

The only other weird thing, and I'm not sure if this is intended or a result of how the streaming works, but after the file stopped playing, the counter on the Status page for the movie kept going, and far exceeded the total possible run-time. It stayed this way, and counting, until I started to play another video. (I mention if this is a result of how streaming works, as in I'm not sure if the server ever definitely knows if the PS3 has stopped streaming. Although, one could concur that if the input stream reads EOF, once the buffer empties the video has stopped playing.)
Attachments
ums_dbg.zip
(46.95 KiB) Downloaded 102 times

Madoka
Posts: 328
Joined: Fri Jun 01, 2012 12:51 pm

Re: UMS 5.0.0/Java7u75/Win7x64 Exceptions

Post by Madoka » Thu Jan 29, 2015 8:40 am

The PS3 does not report the time back to UMS so that timer is just a timer counting time since you stated playing the file. It keeps running if you pause the video as well. Perhaps they could put a line the the PS3 configuration file to disable the timer (or for any renderer that behaves similarly).

Post Reply