dbus-java-bin's CreateInterface utility fails with parser error

Bug #1665216 reported by Mark Clarke
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dbus-java (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

According to the documentation for the CreateInterface utility of dbus-java the following command should generate a java source file for the appropriate interface.

"CreateInterface --session org.freedesktop.Notifications /org/freedesktop/Notifications"

Instead of getting a generated file I get the error below. (This happens for any service and any interface that I select, not just the service/interface given in the example below.)

"[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 com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
 at 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)
"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dbus-java (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.