Page 1 of 1

UMS unable to add files

Posted: Sat Apr 04, 2015 9:14 pm
by allo
Hi guys,
I have installed UMS and have it configured. PS3 can see all the folders but every one of them is empty. PS3 claims 'no titles to display'. Checking the log file on UMS I can see the following errors when I try to add media

Code: Select all

DEBUG 10:16:15.850 [Library Scanner] GlobalIdRepo: id not found: -1
ERROR 10:16:15.851 [Library Scanner] Error adding child: "Game.of.Thrones.S04E08.720p.HDTV.x264-KILLERS.mkv"
java.lang.Error: Invalid memory access
	at com.sun.jna.Native.invokeInt(Native Method) ~[ums.jar:5.1.1]
	at com.sun.jna.Function.invoke(Function.java:383) ~[ums.jar:5.1.1]
	at com.sun.jna.Function.invoke(Function.java:315) ~[ums.jar:5.1.1]
	at com.sun.jna.Library$Handler.invoke(Library.java:212) ~[ums.jar:5.1.1]
	at net.pms.dlna.$Proxy0.Open(Unknown Source) ~[na:5.1.1]
	at net.pms.dlna.MediaInfo.Open(MediaInfo.java:248) ~[ums.jar:5.1.1]
	at net.pms.dlna.LibMediaInfoParser.parse(LibMediaInfoParser.java:66) ~[ums.jar:5.1.1]
	at net.pms.configuration.FormatConfiguration.parse(FormatConfiguration.java:374) ~[ums.jar:5.1.1]
	at net.pms.formats.Format.parse(Format.java:270) ~[ums.jar:5.1.1]
	at net.pms.dlna.RealFile.resolve(RealFile.java:191) ~[ums.jar:5.1.1]
	at net.pms.dlna.DLNAResource.run(DLNAResource.java:1248) [ums.jar:5.1.1]
	at net.pms.dlna.RealFile.isValid(RealFile.java:64) ~[ums.jar:5.1.1]
	at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:544) [ums.jar:5.1.1]
	at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:504) [ums.jar:5.1.1]
	at net.pms.dlna.MapFile.manageFile(MapFile.java:106) [ums.jar:5.1.1]
	at net.pms.dlna.MapFile.analyzeChildren(MapFile.java:165) [ums.jar:5.1.1]
	at net.pms.dlna.RootFolder.scan(RootFolder.java:250) [ums.jar:5.1.1]
	at net.pms.dlna.RootFolder.scan(RootFolder.java:260) [ums.jar:5.1.1]
	at net.pms.dlna.RootFolder.scan(RootFolder.java:208) [ums.jar:5.1.1]
	at net.pms.dlna.DLNAMediaDatabase.run(DLNAMediaDatabase.java:764) [ums.jar:5.1.1]
	at java.lang.Thread.run(Unknown Source) [na:1.7.0_51]
DEBUG 10:16:15.852 [Library Scanner] GlobalIdRepo: id not found: -1
ERROR 10:16:15.853 [Library Scanner] Error adding child: "game.of.thrones.s04e09.720p.hdtv.x264-killers.mkv"
java.lang.Error: Invalid memory access
	at com.sun.jna.Native.invokeInt(Native Method) ~[ums.jar:5.1.1]
	at com.sun.jna.Function.invoke(Function.java:383) ~[ums.jar:5.1.1]
	at com.sun.jna.Function.invoke(Function.java:315) ~[ums.jar:5.1.1]
	at com.sun.jna.Library$Handler.invoke(Library.java:212) ~[ums.jar:5.1.1]
	at net.pms.dlna.$Proxy0.Open(Unknown Source) ~[na:5.1.1]
	at net.pms.dlna.MediaInfo.Open(MediaInfo.java:248) ~[ums.jar:5.1.1]
	at net.pms.dlna.LibMediaInfoParser.parse(LibMediaInfoParser.java:66) ~[ums.jar:5.1.1]
	at net.pms.configuration.FormatConfiguration.parse(FormatConfiguration.java:374) ~[ums.jar:5.1.1]
	at net.pms.formats.Format.parse(Format.java:270) ~[ums.jar:5.1.1]
	at net.pms.dlna.RealFile.resolve(RealFile.java:191) ~[ums.jar:5.1.1]
	at net.pms.dlna.DLNAResource.run(DLNAResource.java:1248) [ums.jar:5.1.1]
	at net.pms.dlna.RealFile.isValid(RealFile.java:64) ~[ums.jar:5.1.1]
	at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:544) [ums.jar:5.1.1]
	at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:504) [ums.jar:5.1.1]
	at net.pms.dlna.MapFile.manageFile(MapFile.java:106) [ums.jar:5.1.1]
	at net.pms.dlna.MapFile.analyzeChildren(MapFile.java:165) [ums.jar:5.1.1]
	at net.pms.dlna.RootFolder.scan(RootFolder.java:250) [ums.jar:5.1.1]
	at net.pms.dlna.RootFolder.scan(RootFolder.java:260) [ums.jar:5.1.1]
	at net.pms.dlna.RootFolder.scan(RootFolder.java:208) [ums.jar:5.1.1]
	at net.pms.dlna.DLNAMediaDatabase.run(DLNAMediaDatabase.java:764) [ums.jar:5.1.1]
	at java.lang.Thread.run(Unknown Source) [na:1.7.0_51]
Same error for each file added. Can anyone point me in the right direction? Would love to get this media server up and running. I've attached the debug too

java.lang.Error: Invalid memory access - Have I not allocated enough memory to UMS? I have set it to it's default

Re: UMS unable to add files

Posted: Mon Apr 06, 2015 2:59 am
by allo
Anyone have any ideas?

Re: UMS unable to add files

Posted: Mon Apr 06, 2015 4:57 pm
by SubJunk
Hi allo, try doing a clean install to reset the settings, and don't worry about using the scan folders button if you were, we do it in realtime and I have been thinking about just removing that button anyway

Re: UMS unable to add files

Posted: Mon Apr 06, 2015 7:02 pm
by allo
Hi SubJunk, have tried a clean install but still no luck. Have left the configuration as the default settings but none of the files appear on the PS3..

Re: UMS unable to add files

Posted: Thu Apr 09, 2015 4:50 am
by allo
Anyone have any ideas?

Re: UMS unable to add files

Posted: Fri Apr 10, 2015 12:20 pm
by SubJunk
I can look into this more if you follow the Problem Reporting Guidelines :)

Re: UMS unable to add files

Posted: Sun Apr 12, 2015 12:16 am
by allo
Sorry I thought I had attached the log file with the original post. Thanks for taking the time to look at this. As I said, ps3 picks up ums it's only when I select the folder my video files are in that it says 'no titles to display' or somtimes it prompts a dlna error. Any help would be appreciated!
ums_dbg.zip
(20.57 KiB) Downloaded 683 times

Re: UMS unable to add files

Posted: Sun Apr 12, 2015 10:46 am
by SubJunk
For some reason, MediaInfo can't read your files. Does running UMS as administrator help?

Re: UMS unable to add files

Posted: Sun Apr 12, 2015 11:17 pm
by allo
No unfortunately, have already tried that

Re: UMS unable to add files

Posted: Fri Apr 17, 2015 4:21 am
by allo
Had lost hope and uninstalled it the server but saw a new version was released. Now it's working with no issues! No idea what has been changed but it has done the job without any configuration! Happy days!