dbus-java FileNotFoundException in CreateInterface

Benjamin Federau befe0001 at stud.fh-kl.de
Sat Jul 25 06:12:24 PDT 2009


Hello,

I get the following exception by executing CreateInterface

Exception in thread "main" java.io.FileNotFoundException: 
http://standards.freedesktop.org/dbus/1.0/introspect.dtd-spec
	at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1288)
	at 
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:677)
	at 
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1315)
	at 
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1282)
	at 
com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:283)
	at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1192)
	at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1089)
	at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1002)
	at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
	at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
	at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
	at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
	at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
	at 
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
	at 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
	at 
org.freedesktop.dbus.bin.CreateInterface.createInterface(CreateInterface.java:704)
	at org.freedesktop.dbus.bin.CreateInterface.main(CreateInterface.java:687)



I use dbus-java-2.5.1 and the sun jdk 1.6.0_12 on Debian lenny.

Here is the beginning of an introspection data string.

-------------- snip -----------------------------------------
  <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 
1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
   <interface name="org.freedesktop.DBus.Introspectable">
....
--------------------------------------------------------------

I found out that the url 
http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd changes to 
http://standards.freedesktop.org/dbus/1.0/introspect.dtd-spec and there 
is no file introspect.dtd-spec in http://standards.freedesktop.org/dbus/1.0/

Is this a known issue? Or how can I fix it so that CreateInterface works 
again?

--
B. Federau


More information about the dbus mailing list