Exception in thread "StopPlaying Event" java.lang.NullPointe

Developers forum for Univeral Media Server-related development (only for programmers)
Post Reply
rme
Posts: 15
Joined: Thu May 01, 2014 10:29 am

Exception in thread "StopPlaying Event" java.lang.NullPointe

Post by rme »

Got this exception while using UMS with pms-xbmc and do not know how to duplicate:

TRACE 2014-05-18 11:16:17.394 [mencoder-52] EOF
INFO 2014-05-18 11:16:18.868 [StopPlaying Event] Stopped playing Play on your Samsung AllShare
DEBUG 2014-05-18 11:16:18.869 [StopPlaying Event] The full filename of which is: /home/emberson/Videos/Movies/The Same Movie.mp4 and the address of the renderer is: 192.168.0.10
DEBUG 2014-05-18 11:16:18.869 [StopPlaying Event] Resume stop. This segment 20502 new time 212938
DEBUG 2014-05-18 11:16:18.869 [StopPlaying Event] add MapFile [name=Play, id=null, format=MPG, children=[]] to last played FileTranscodeVirtualFolder [id=1, name=Play, full path=0$5$1$1$1$1$1$2$1, ext=null, discovered=true] RecentlyPlayed [id=1, name=Recently Played, full path=0$1, ext=null, discovered=false]
INFO 2014-05-18 11:16:18.870 [StopPlaying Event] Exception in thread "StopPlaying Event" java.lang.NullPointerException
INFO 2014-05-18 11:16:18.871 [StopPlaying Event] at net.pms.dlna.RecentlyPlayed.add(RecentlyPlayed.java:107)
INFO 2014-05-18 11:16:18.872 [StopPlaying Event] at net.pms.dlna.RootFolder.stopPlaying(RootFolder.java:1366)
INFO 2014-05-18 11:16:18.873 [StopPlaying Event] at net.pms.dlna.DLNAResource.internalStop(DLNAResource.java:3254)
INFO 2014-05-18 11:16:18.873 [StopPlaying Event] at net.pms.dlna.DLNAResource.access$300(DLNAResource.java:67)
INFO 2014-05-18 11:16:18.874 [StopPlaying Event] at net.pms.dlna.DLNAResource$2$1.run(DLNAResource.java:2253)
INFO 2014-05-18 11:16:18.875 [StopPlaying Event] at java.lang.Thread.run(Thread.java:724)
DEBUG 2014-05-18 11:16:32.008 [UPNP-AliveMessageSender] Sending ALIVE...
TRACE 2014-05-18 11:16:32.008 [UPNP-AliveMessageSender] Sending message from multicast socket on network interface: name:null

I guess the line:
res1 = resolveCreateMethod(res.getMasterParent(), data);
returned null.
rme
Posts: 15
Joined: Thu May 01, 2014 10:29 am

Re: Exception in thread "StopPlaying Event" java.lang.NullPo

Post by rme »

An additional note, preceding this, a couple of log messages earlier, was a OOM Exception -
may be related.

RME
Post Reply