UMS 3.6.0: DLNAResource.java 726 null pointer

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

UMS 3.6.0: DLNAResource.java 726 null pointer

Post by rme »

In file DLNAResource.java at line 726:

if (resumeRes != null) {
-> resumeRes.getMedia().setThumbready(false);
}

Seems like when resumeRes is created by cloning the child (line 517), the child does not have a DLNAMediaInfo yet.
The child has its media set on line 564, but at that point the resumeRes does not clone it.

The file being played is a mp4. There are also a eng and swe srt files (curious, since its an english language film).

Did not know where to report this.
Tiago Costa
Posts: 12
Joined: Mon Apr 28, 2014 5:35 pm

Re: UMS 3.6.0: DLNAResource.java 726 null pointer

Post by Tiago Costa »

Well pointed! I've noticed this yesterday, but I'm not at home, so I was leaving this to be fixed this week. As you pointed earlier, I fixed this earlier too in a pull request :P. But you will have to wait until a new version with this fix is released.
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

Re: UMS 3.6.0: DLNAResource.java 726 null pointer

Post by SubJunk »

Thanks for reporting this, we'll release a version with the fix soon :)
Post Reply