APISessionImpl no such field "profiles"

Attempting to use Bonita 7.10,4 upgraded from 7.3.2. It seems to have transferred the workflows and organization OK. When my Java app attempts to log in using TenantAPIAccessor.getLoginAPI().login(user,pass) I can proxy the traffic and see that the server is sending back XML with a session ID and profiles (User,Administrator) . I get an error though as follows:

 


com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: No such field org.bonitasoft.engine.session.impl.APISessionImpl.profiles
---- Debugging information ----
field               : profiles
class               : org.bonitasoft.engine.session.impl.APISessionImpl
required-type       : org.bonitasoft.engine.session.impl.APISessionImpl
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path                : /org.bonitasoft.engine.session.impl.APISessionImpl/profiles
line number         : 11
version             : 1.4.8
-------------------------------
    at org.bonitasoft.engine.api.HTTPServerAPI.invokeMethod(HTTPServerAPI.java:143)
    at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:86)

Hello.

The field "profiles" was added on the session in 7.7.5

I think you might use a java client not in the same version as the server. What is the version of your `bonita-client` dependency in your java app?

 

HTH,

I am using the 7.10.4 version of the client, same as the version of the server.

I'm pretty sure it comes from a jar somewhere that doesn't have the right version.

Can you provide the full stack trace of the issue? This would help to understand where the serialization/deserialization issue happens.