5.1.4 web video: java.lang.NullPointerException

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
michaelt
Posts: 155
Joined: Tue Feb 03, 2015 11:18 am
Location: lost in the depths of my mind

5.1.4 web video: java.lang.NullPointerException

Post by michaelt »

Play a .mkv video with a stock (no mods) build of 5.1.4 to Chrome:

Code: Select all

INFO  18:48:16.834 [Thread-69] Exception in thread "Thread-69" java.lang.NullPointerException
DEBUG 18:48:16.835 [StartPlaying Event] The full filename of which is: /Users/umsmkv/aML/Video/Index/1-DVD_Black_Frame/HFRO.mkv and the address of the renderer is: 10.0.1.50
INFO  18:48:16.835 [Thread-69] 	at net.pms.remote.RemoteUtil$1.run(RemoteUtil.java:105)
INFO  18:48:16.836 [Thread-69] 	at java.lang.Thread.run(Thread.java:745)
Metering the code shows it may be related to transcoding to ogg (failing?? or bug??) and an unprotected reference in RemoteUtil.java:105

Code: Select all

                        try {
                            in.close();
A null check avoids the fault (and attempting to read) but the video still does not play in html5 mode.

This is a snippet of the debug.log around it in another run:

Code: Select all

DEBUG 20:19:12.562 [ffmpeg-2] Starting /Users/umsmkv/UMS_J8/ums-master-514/target/ums-5.1.4-distribution/UMS-514J8.app/Contents/Resources/osx/ffmpeg -y -loglevel info -i /Users/umsmkv/aML/Video/Index/1-DVD_Black_Frame/HFRO.mkv -filter_complex scale=720:404 -qscale:v 10 -acodec libvorbis -f ogg /var/folders/_3/rcxtd951583b_n0yvn6j50fh0000h0/T/universalmediaserver/ffmpegvideo_78_1434759552254
TRACE 20:19:12.562 [ffmpeg-2] Setting FONTCONFIG_PATH to "/Users/umsmkv/UMS_J8/ums-master-514/target/ums-5.1.4-distribution/UMS-514J8.app/Contents/Resources/fonts"
TRACE 20:19:12.763 [pool-2-thread-1] Sleeping for 2500 milliseconds
DEBUG 20:19:12.911 [ffmpeg-2] Reading pipe: /var/folders/_3/rcxtd951583b_n0yvn6j50fh0000h0/T/universalmediaserver/ffmpegvideo_78_1434759552254
TRACE 20:19:12.912 [ffmpeg-2] Opening file /var/folders/_3/rcxtd951583b_n0yvn6j50fh0000h0/T/universalmediaserver/ffmpegvideo_78_1434759552254 for reading...
TRACE 20:19:15.264 [pool-2-thread-1] Finished sleeping for 2500 milliseconds
DEBUG 20:19:15.264 [pool-2-thread-1] External input stream instance is null... sounds not good, waiting 500ms
DEBUG 20:19:15.766 [pool-2-thread-1] External input stream instance is null... sounds not good, waiting 500ms
DEBUG 20:19:16.267 [pool-2-thread-1] External input stream instance is null... sounds not good, waiting 500ms
DEBUG 20:19:16.767 [pool-2-thread-1] External input stream instance is null... sounds not good, waiting 500ms
DEBUG 20:19:17.269 [pool-2-thread-1] External input stream instance is null... sounds not good, waiting 500ms
DEBUG 20:19:17.769 [pool-2-thread-1] External input stream instance is null... sounds not good, waiting 500ms
DEBUG 20:19:18.270 [pool-2-thread-1] External input stream instance is null... sounds not good, waiting 500ms
DEBUG 20:19:18.770 [pool-2-thread-1] External input stream instance is null... sounds not good, waiting 500ms
DEBUG 20:19:19.272 [pool-2-thread-1] External input stream instance is null... sounds not good, waiting 500ms
DEBUG 20:19:19.773 [pool-2-thread-1] External input stream instance is null... sounds not good, waiting 500ms
ERROR 20:19:20.274 [Hanging External Process Stopper] External input stream instance is null... stopping process
DEBUG 20:19:20.275 [Hanging External Process Stopper] Stopping Unix process 45612: ffmpeg-2
TRACE 20:19:20.275 [Hanging External Process Stopper] Killing the Unix process: 45612
DEBUG 20:19:20.276 [Hanging External Process Stopper] Stopping Unix process 45611: mkfifo-3
TRACE 20:19:20.276 [Hanging External Process Stopper] Killing the Unix process: 45611
INFO  20:19:20.276 [Thread-70] dump(null, sun.net.httpserver.PlaceholderOutputStream@1383db4c, Chrome)
Attachments
ums_dbg-514-1.zip
(16.92 KiB) Downloaded 382 times
MacPro5,1 - 2.8 GHz, 32 GB, 20TB, OS X 10.11.6,
. . . . and a few others.
Samsung UN55C8000
Home Theater (WIP): OS X based now, dedicated Linux later.
michaelt
Posts: 155
Joined: Tue Feb 03, 2015 11:18 am
Location: lost in the depths of my mind

Re: 5.1.4 web video: more information

Post by michaelt »

added more trace info.
MacPro5,1 - 2.8 GHz, 32 GB, 20TB, OS X 10.11.6,
. . . . and a few others.
Samsung UN55C8000
Home Theater (WIP): OS X based now, dedicated Linux later.
Post Reply