Problem with new user in Synchronous type

Hellow,I try to add a user by Syncronous type but i obtain this exception:exception: "BackendlessException{ code: ‘Internal client exception’, message: ‘null’}"and one more thing … in the catch control the sentence:"BackendlessFault fault = exception.getFault();"is not correct because the getFault method is not supported.
The Syncronous type from the Backendless API manual:

    BackendlessUser user = new BackendlessUser();
    user.setProperty("name", "joamarmir");
    user.setProperty("socialAccount", "ShareMyNeed");

    try {
       user = Backendless.UserService.register( user ); }
    catch( BackendlessException exception ) {
       int i = 0;

// an error has occurred, the error code can be retrieved with fault.getCode()


Android does not allow network communication on the main thread. Since an API call connects to our servers, it must be executed asynchronously when invoking a method from the main UI thread.



With Parse is possible to make save sentencies on the main thread under Android platform ,


Well, in this case, your “save” operation saved data only locally, I suppose, as network operations are not allowed on the main thread in Android. It must be that they then copy it in the separate thread to the backend asynchronously, but in this case, you may not know immediately that the operation succeeded.