UMS wont start

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
talmagal
Posts: 3
Joined: Wed Apr 17, 2019 2:43 pm

UMS wont start

Post by talmagal »

Hi im having similar issue as OP of this thread: https://www.universalmediaserver.com/fo ... =9&t=13457
Javaw.exe starts then immediatly closes

Followed similar steps
debug.log wont create
Uninstall/reinstall/updated Java
Uninstall/reinstall Ums
Deleted UMS/Universal media folder appdata/program files folders
Checked for older version of ums as i think i used to run it years ago : didnt find any
Ran same cmd line command that op did to maybe get some help

Code: Select all

C:\Program Files (x86)\Universal Media Server>java -Xmx768M -Djava.net.preferIPv
4Stack=true -Dfile.encoding=UTF-8 -classpath update.jar;ums.jar net.pms.PMS
Exception in thread "main" java.lang.ExceptionInInitializerError
        at net.pms.configuration.PmsConfiguration.<init>(PmsConfiguration.java:6
05)
        at net.pms.configuration.PmsConfiguration.<init>(PmsConfiguration.java:5
65)
        at net.pms.PMS.main(PMS.java:1016)
Caused by: java.nio.file.InvalidPathException: Trailing char < > at index 16: C:
\Program Files
        at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
        at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
        at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
        at sun.nio.fs.WindowsPath.parse(Unknown Source)
        at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
        at java.nio.file.Paths.get(Unknown Source)
        at net.pms.util.FileUtil.getOSPath(FileUtil.java:1904)
        at net.pms.util.FileUtil.findInOSPath(FileUtil.java:1957)
        at net.pms.util.FileUtil.findExecutableInOSPath(FileUtil.java:1922)
        at net.pms.configuration.WindowsProgramPaths.<init>(WindowsProgramPaths.
java:110)
        at net.pms.configuration.PlatformProgramPaths.<clinit>(PlatformProgramPa
ths.java:147)
        ... 3 more

C:\Program Files (x86)\Universal Media Server>
C:\Program Files (x86)\Universal Media Server>
Trying to figure out why UMS wont start.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: UMS wont start

Post by Nadahar »

It seems reasonably clear that your problem is with your PATH as well. If you post the content of your PATH, my guess is that it's easy to spot the problem. To list the PATH content, simply run from a cmd.exe shell:

Code: Select all

echo %path%
talmagal
Posts: 3
Joined: Wed Apr 17, 2019 2:43 pm

Re: UMS wont start

Post by talmagal »

Nadahar wrote: Wed Apr 17, 2019 3:29 pm It seems reasonably clear that your problem is with your PATH as well. If you post the content of your PATH, my guess is that it's easy to spot the problem. To list the PATH content, simply run from a cmd.exe shell:

Code: Select all

echo %path%
Think i got it fixed so dumb
C:\Program Files;
was C:\Program Files ;
Changed that and program starts up
talmagal
Posts: 3
Joined: Wed Apr 17, 2019 2:43 pm

Re: UMS wont start

Post by talmagal »

Sorry for the double post but ran into a issue with ums again.

Socan sttream most things just fine but anytime i try to stream .flac on ps4 it has to transcode to send it but no file sounds proper. Sounds weird and garbled.
but if i select another song for a brief second before it startsthe next track it sounds proper
Post Reply