Skip to content
This repository was archived by the owner on Feb 25, 2022. It is now read-only.
This repository was archived by the owner on Feb 25, 2022. It is now read-only.

App crash when Account name left empty #10

Description

@luelista
05-20 00:30:28.486 32737 32737 D AndroidRuntime: Shutting down VM
05-20 00:30:28.487 32737 32737 E AndroidRuntime: FATAL EXCEPTION: main
05-20 00:30:28.487 32737 32737 E AndroidRuntime: Process: de.wikilab.android.ldapsync, PID: 32737
05-20 00:30:28.487 32737 32737 E AndroidRuntime: java.lang.IllegalStateException: Could not execute method for android:onClick
05-20 00:30:28.487 32737 32737 E AndroidRuntime:        at android.view.View$DeclaredOnClickListener.onClick(View.java:5689)
[...]
05-20 00:30:28.487 32737 32737 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: the name must not be empty: 
05-20 00:30:28.487 32737 32737 E AndroidRuntime:        at android.accounts.Account.<init>(Account.java:78)
05-20 00:30:28.487 32737 32737 E AndroidRuntime:        at android.accounts.Account.<init>(Account.java:63)
05-20 00:30:28.487 32737 32737 E AndroidRuntime:        at de.wikilab.android.ldapsync.authenticator.AccountSettingsActivity.createAccount(AccountSettingsActivity.java:123)
05-20 00:30:28.487 32737 32737 E AndroidRuntime:        ... 12 more

reported by Marian by email

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions