dbus-java-2.7 CreateInterface Exception in thread "main" java.io.FileNotFoundException: http://standards.freedesktop.org/dbus/1.0/introspect.dtd-spec

ozgur cagdas ocagdas at yahoo.com
Thu Feb 11 03:11:14 PST 2010


Hi,

I am using dbus-java-2.7 bindings and trying to create the source file by using CreateInterface binary. I am getting the below exception 

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:1267)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:653)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1291)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1258)
        at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:259)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1167)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1064)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:977)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:624)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:486)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:810)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:740)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:110)
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:228)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:286)
        at org.freedesktop.dbus.bin.CreateInterface.createInterface(Unknown Source)
        at org.freedesktop.dbus.bin.CreateInterface.main(Unknown Source)

The obvious reason is http://standards.freedesktop.org/dbus/1.0/introspect.dtd-spec url is dead and the correct one should be http://standards.freedesktop.org/dbus/1.0/introspect.dtd. This problem and reason has already been reported in the post http://lists.freedesktop.org/archives/dbus/2009-July/011619.html however there is no reply yet.

Am I doing anything wrong or any fixes for this problem?


      


More information about the dbus mailing list