Page 1 of 1

UMS 3.6.0: DLNAResource.java 726 null pointer

Posted: Mon May 05, 2014 6:49 am
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.

Re: UMS 3.6.0: DLNAResource.java 726 null pointer

Posted: Mon May 05, 2014 9:29 am
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.

Re: UMS 3.6.0: DLNAResource.java 726 null pointer

Posted: Mon May 05, 2014 11:35 am
by SubJunk
Thanks for reporting this, we'll release a version with the fix soon :)