FailedBinderTransaction-TransactionTooLargeException

I am trying to use parse.com with my Android app. I create credentials, but I get TransactionTooLargeExcepetion. I believe this is because I have exceeded the amount of data that I receive or send. However, I can not point out the problem, because I am only trying to send 2 lines to the server. I am adding a stack trace image and a small amount of code for your reference. Thanks so much for any guidance, everyone!

public class ParseStarterProjectActivity extends Activity {
    // Sign Up/sign in Variables
    Button signup;
    String userName;
    String userPassword;

    EditText user;
    EditText pass;

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

//      // Test Parse Object
//      ParseObject testObject = new ParseObject("TestObject");
//      testObject.put("foo", "bar");
//      testObject.saveInBackground();

        user = (EditText) findViewById(R.id.editText);
        pass = (EditText) findViewById(R.id.editText2);

        signup = (Button) findViewById(R.id.button);
        //signup = (Button) findViewById(R.id.button2);

        // Button onClick Listener
        signup.setOnClickListener(new View.OnClickListener() {
            @Override         
            public void onClick(View arg0) {
                userName = user.getText().toString();
                userPassword = pass.getText().toString();

                //send to parse
                ParseUser user = new ParseUser();
                user.setUsername(userName);
                user.setPassword(userPassword);
                user.signUpInBackground(new SignUpCallback() {
                    public void done(ParseException e) {
                        if (e == null) {
                            Toast.makeText(getApplicationContext(),
                                           "Success",
                                           Toast.LENGTH_SHORT).show();
                        } else {
                            Toast.makeText(getApplicationContext(),
                                           "Failed",
                                           Toast.LENGTH_SHORT).show();
                        }
                    }
                });
            }
        });
    }
}

StackTrace Output:

    17:52:54.747  15613-15613/com.parse.starter D/Error﹕ ERR: TOTAL BYTES WRITTEN: 12282164
    06-01 17:52:54.748  15613-15613/com.parse.starter E/JavaBinder﹕ !!! FAILED   BINDER TRANSACTION !!!
    06-01 17:52:54.748  15613-15613/com.parse.starter E/AndroidRuntime﹕ Error reporting crash
android.os.TransactionTooLargeException
        at android.os.BinderProxy.transactNative(Native Method)
        at android.os.BinderProxy.transact(Binder.java:496)
        at   android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:4100)
        at     com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:89)
        at com.parse.ErrorReporter.uncaughtException(ErrorReporter.java:1084)
        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
06-01 17:52:54.749  15613-15613/com.parse.starter I/Process﹕ Sending signal.    PID: 15613 SIG: 9
+4
source share
2 answers

, . - . , . , , .

0

, JSON API Recycler, Retrofit, , GSON, POJO- , , , / "".

0

All Articles