Open dkokorev opened 2 months ago
When does this happen? Can you provide a sample to reproduce this? Changing code with some random numbers may not be the ultimate solution when the cause of the error is unknown.
When does this happen? Can you provide a sample to reproduce this?
This happens when a dbus struct contains more than 10 levels of nesting.
Changing code with some random numbers may not be the ultimate solution when the cause of the error is unknown.
For simplicity I just used the initial allocation size from here:
public static String[] getDBusType(Type _dataType, boolean _basic) throws DBusException {
return recursiveGetDBusType(new StringBuffer[10], _dataType, _basic, 0);
}
Will be fixed in next release.
Hi, using dbus-java 3.2.0 I got an exception:
It's because of the problem in org.freedesktop.dbus.Marshalling class (the same code up to the latest version of dbus-java):
My solution is something like this: