Bug#963960: dbus-java-bin: CreateInterface fails with XML parsing errors
Ronny Standtke
ronny.standtke at gmx.net
Mon Jun 29 10:51:16 BST 2020
Package: dbus-java-bin
Version: 2.8-9
Severity: important
Whatever I try, CreateInterface always fails with XML parsing errors, e.g.:
$ CreateInterface --system org.freedesktop.UDisks2
/org/freedesktop/UDisks2/block_devices/sda
[Fatal Error] introspect.dtd:1:3: The markup declarations contained or
pointed to by the document type declaration must be well-formed.
Exception in thread "main" org.xml.sax.SAXParseExceptionpublicId:
-//freedesktop//DTD D-BUS Object Introspection 1.0//EN; systemId:
http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd;
lineNumber: 1; columnNumber: 3; The markup declarations contained or
pointed to by the document type declaration must be well-formed.
at
java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:261)
at
java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
at
org.freedesktop.dbus.bin.CreateInterface.createInterface(CreateInterface.java:702)
at
org.freedesktop.dbus.bin.CreateInterface.main(CreateInterface.java:685)
It is not limited to udisks2. The same error occurs when trying to
create other interfaces, e.g.:
$ CreateInterface --system org.freedesktop.NetworkManager
/org/freedesktop/NetworkManager/Devices/1
This package, including it's upstream on freedesktop.org, seems to be
completely broken and out-of-date. There is an updated and improved
version on github:
https://github.com/hypfvieh/dbus-java.
Maybe it's a good idea to switch to this version?
Thanks
Ronny
More information about the pkg-java-maintainers
mailing list