[Solved] Unicode bug
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
[Solved] Unicode bug
Hi all,
I discovered a serious unicode bug that prevents UMS from starting up when one of the shared folders starts with a U. Java then interprets the last part in \\server\user as a unicode character, resulting in the following startup error:
The same goes for entering that folder and trying to stream from it, the PS3 then throws a DLNA protocol error 2114 when trying to list the shared folders.
Hope you guys can address this issue soon. I would love to give UMS since PMS stops streaming randomly for me...
Thanks!
I discovered a serious unicode bug that prevents UMS from starting up when one of the shared folders starts with a U. Java then interprets the last part in \\server\user as a unicode character, resulting in the following startup error:
Code: Select all
ERROR 2014-12-12 04:08:19.070 [main] A serious error occurred during PMS init
java.lang.IllegalArgumentException: Less than 4 hex digits in unicode value: '\user' due to end of CharSequence
at org.apache.commons.lang3.text.translate.UnicodeUnescaper.translate(UnicodeUnescaper.java:60) ~[ums.jar:4.3.0]
at org.apache.commons.lang3.text.translate.CharSequenceTranslator.translate(CharSequenceTranslator.java:85) ~[ums.jar:4.3.0]
at org.apache.commons.lang3.text.translate.CharSequenceTranslator.translate(CharSequenceTranslator.java:59) ~[ums.jar:4.3.0]
at net.pms.PMS.getSharedFoldersArray(PMS.java:863) [ums.jar:4.3.0]
at net.pms.PMS.getSharedFoldersArray(PMS.java:837) [ums.jar:4.3.0]
at net.pms.newgui.NavigationShareTab.initSharedFoldersGuiComponents(NavigationShareTab.java:765) ~[ums.jar:4.3.0]
at net.pms.newgui.NavigationShareTab.build(NavigationShareTab.java:151) ~[ums.jar:4.3.0]
at net.pms.newgui.LooksFrame.buildMain(LooksFrame.java:412) ~[ums.jar:4.3.0]
at net.pms.newgui.LooksFrame.buildContent(LooksFrame.java:382) ~[ums.jar:4.3.0]
at net.pms.newgui.LooksFrame.<init>(LooksFrame.java:251) ~[ums.jar:4.3.0]
at net.pms.PMS.init(PMS.java:515) [ums.jar:4.3.0]
at net.pms.PMS.createInstance(PMS.java:1041) [ums.jar:4.3.0]
at net.pms.PMS.main(PMS.java:1141) [ums.jar:4.3.0]
Hope you guys can address this issue soon. I would love to give UMS since PMS stops streaming randomly for me...
Thanks!
Re: Unicode bug
Hi streamer, thanks for reporting this, 4.3.1 will be released very soon with the fix 

Re: Unicode bug
Wow, I'm baffled
That was fast!
Works like a charm now, thanks - you rock!

Works like a charm now, thanks - you rock!
