Hi, I am trying to communicate with a C++ Qt D-Bus daemon with a java program to call a method, which returns a string. First I checked the actual availability of the method via D-Bus with the tool D-Feet. So I am able to call the method with this tool and I receive the result I expect. <br>
<br>The problem is, when I use dbus-java-2.7, I get the following error:<br><br>org.freedesktop.dbus.exceptions.DBusExecutionException: com.sun.proxy.$Proxy2.get_perf_data(org.freedesktop.dbus.UInt64, org.freedesktop.dbus.UInt64)<br>
    at org.freedesktop.dbus.AbstractConnection.callMethodAsync(Unknown Source)<br>    at de.tuberlin.kbs.performancemonitor.DataThread.retrieveDataFromDBus(DataThread.java:123)<br>    at de.tuberlin.kbs.performancemonitor.DataThread.run(DataThread.java:59)<br>
    at java.lang.Thread.run(Thread.java:722)<br><br>It is kind of obvious, that the "Unknown Source" might be the problem, but I am hopelessly lost trying to determine the reason for this. For creation of the connection and the interface I use the following:<br>
<br>UInt64 from = new UInt64(0);<br>UInt64 to = new UInt64(0);<br>dBusConnection = DBusConnection.getConnection(DBusConnection.SESSION);<br>dBusInterface =         dBusConnection.getPeerRemoteObject("de.tuberlin.kbs.performancemonitor", "/");<br>
if(dBusInterface.isRemote())<br>    dBusConnection.callMethodAsync(dBusInterface,         "get_perf_data",from,to);<br><br>The object IS remote and the method call produces the mentioned error. <br><br>What is the reason for "Unknown Source" and how can I fix that? <br>
<br>Thank you in advance!<br>