Java DBus Multiple returns?
Arigead
captain.deadly at gmail.com
Mon Mar 22 03:15:09 PDT 2010
Matthew Johnson wrote:
> On Fri Mar 19 12:56, Arigead wrote:
>> Anyhow when I try to call the get_attr() method in Java I get an error
>> indicating that I've got the wrong number of arguments from a call:
>>
>> TestTuple<String, Variant<?>> tup = nav.get_attr("navit");
>
> Can you tell me exactly what the error message is?
>
> Matt
I'm running this in an OSGi Bundle so the stack trace had a bit of OSGi.
It's not very descriptive, well to me anyhow. Here it is.
ERROR 20100322 10:12:18 bid#20 - Error while starting bundle:
/home/john/work/persist/trunk/PersistContainer/MyApps/NavitDBusBundle-0.4.0.2.jar
(org.osgi.framework.BundleException: BundleActivator start failed)
org.osgi.framework.BundleException: BundleActivator start failed
at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:419)
at
org.knopflerfish.framework.PermissionOps.callStart0(PermissionOps.java:215)
at org.knopflerfish.framework.BundleImpl.start(BundleImpl.java:321)
at
org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.java:823)
at
org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.java:657)
at
org.apache.felix.fileinstall.DirectoryWatcher.doInstalled(DirectoryWatcher.java:392)
at
org.apache.felix.fileinstall.DirectoryWatcher.run(DirectoryWatcher.java:123)
Caused by: org.freedesktop.dbus.exceptions.DBusExecutionException: wrong
number of arguments
at
org.freedesktop.dbus.RemoteInvocationHandler.executeRemoteMethod(Unknown
Source)
at org.freedesktop.dbus.RemoteInvocationHandler.invoke(Unknown Source)
at com.lake.$Proxy10.get_attr(Unknown Source)
at com.lake.NavitDBusBundle.start(NavitDBusBundle.java:96)
at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:374)
... 6 more
More information about the dbus
mailing list