Issue with 0x0 chars via DLNA
Hello =)
when I browse my music collection (mp3) on Serviio via DLNA I see the following error in console when selecting certain folders / playlists. The browsing then just ends with no result. It only happens in certain folders. So far my attempts to finding the problematic files with the NULL bytes were not successfull. When browsing the same collections via MediaBrowser I don't get this issue.
I'm using
- Serviio version 2.4
- on docker (via https://hub.docker.com/r/soerentsch/serviio)
- with an mp3 collection & m3u playlists
Is there any chance this error could be handled in Serviio or alternatively does anyone have any idea how to find the problematic source files?
Thank you in advance.
when I browse my music collection (mp3) on Serviio via DLNA I see the following error in console when selecting certain folders / playlists. The browsing then just ends with no result. It only happens in certain folders. So far my attempts to finding the problematic files with the NULL bytes were not successfull. When browsing the same collections via MediaBrowser I don't get this issue.
I'm using
- Serviio version 2.4
- on docker (via https://hub.docker.com/r/soerentsch/serviio)
- with an mp3 collection & m3u playlists
- Code:
[ContentDirectory] Browse for object id A_PL^PL*26 failed with exception: javax.xml.transform.TransformerException: org.xml.sax.SAXException: An invalid XML character (Unicode: 0x0) was found in the node's character data content.
java.lang.RuntimeException: javax.xml.transform.TransformerException: org.xml.sax.SAXException: An invalid XML character (Unicode: 0x0) was found in the node's character data content.
at org.serviio.util.XmlUtils.getStringFromDocument(XmlUtils.java:85) ~[serviio.jar:?]
at org.serviio.upnp.service.contentdirectory.ContentDirectory.setupSuccessfulResult(ContentDirectory.java:372) ~[serviio.jar:?]
at org.serviio.upnp.service.contentdirectory.ContentDirectory.Browse(ContentDirectory.java:165) ~[serviio.jar:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeOperation(ServiceInvoker.java:214) ~[serviio.jar:?]
at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:75) ~[serviio.jar:?]
at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.java:65) ~[serviio.jar:?]
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:66) ~[serviio.jar:?]
at org.apache.http.protocol.HttpService.doService(HttpService.java:437) ~[httpcore.jar:4.4.14]
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:78) ~[serviio.jar:?]
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:342) ~[httpcore.jar:4.4.14]
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:204) ~[serviio.jar:?]
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXException: An invalid XML character (Unicode: 0x0) was found in the node's character data content.
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:792) ~[?:?]
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:394) ~[?:?]
at org.serviio.util.XmlUtils.getStringFromDocument(XmlUtils.java:83) ~[serviio.jar:?]
... 12 more
Caused by: org.xml.sax.SAXException: An invalid XML character (Unicode: 0x0) was found in the node's character data content.
at com.sun.org.apache.xml.internal.serializer.ToStream.accumDefaultEscape(ToStream.java:1749) ~[?:?]
at com.sun.org.apache.xml.internal.serializer.ToStream.processDirty(ToStream.java:1644) ~[?:?]
at com.sun.org.apache.xml.internal.serializer.ToStream.outputCharacters(ToStream.java:1504) ~[?:?]
at com.sun.org.apache.xml.internal.serializer.ToStream.characters(ToStream.java:1404) ~[?:?]
at com.sun.org.apache.xml.internal.serializer.ToUnknownStream.characters(ToUnknownStream.java:723) ~[?:?]
at com.sun.org.apache.xml.internal.serializer.ToUnknownStream.characters(ToUnknownStream.java:307) ~[?:?]
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:243) ~[?:?]
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:229) ~[?:?]
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:229) ~[?:?]
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:229) ~[?:?]
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:134) ~[?:?]
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:96) ~[?:?]
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:718) ~[?:?]
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:780) ~[?:?]
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:394) ~[?:?]
at org.serviio.util.XmlUtils.getStringFromDocument(XmlUtils.java:83) ~[serviio.jar:?]
... 12 more
Is there any chance this error could be handled in Serviio or alternatively does anyone have any idea how to find the problematic source files?
Thank you in advance.