Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force close when saving a new transaction or account with missing mandatory fields #76

Closed
ghost opened this issue Mar 27, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 27, 2015

The application crash when saving a transaction with missing mandatory field : for exemple saving an account with no name or a transaction with no payee.

I have the following stacktrace : com.afollestad.materialdialogs.MaterialDialog$DialogException: Bad window token, you cannot show a dialog before an Activity is created or after it's hidden.
at com.afollestad.materialdialogs.MaterialDialog.show(MaterialDialog.java:1546)
at com.money.manager.ex.CheckingAccountActivity.validateData(CheckingAccountActivity.java:1037)
at com.money.manager.ex.CheckingAccountActivity.updateData(CheckingAccountActivity.java:1065)
at com.money.manager.ex.CheckingAccountActivity.onActionDoneClick(CheckingAccountActivity.java:768)
at com.money.manager.ex.fragment.BaseFragmentActivity$4.onClick(BaseFragmentActivity.java:159)
at android.view.View.performClick(View.java:4756)
at android.view.View$PerformClick.run(View.java:19749)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

@AlessandroLazzari
Copy link
Contributor

Hello, I am aware of the bug. In the first beta will be fixed.

2015-03-27 21:58 GMT+01:00 prannou notifications@github.com:

The application crash when saving a transaction with missing mandatory
field : for exemple saving an account with no name or a transaction with no
payee.

I have the following stacktrace :
com.afollestad.materialdialogs.MaterialDialog$DialogException: Bad window
token, you cannot show a dialog before an Activity is created or after it's
hidden.
at
com.afollestad.materialdialogs.MaterialDialog.show(MaterialDialog.java:1546)
at
com.money.manager.ex.CheckingAccountActivity.validateData(CheckingAccountActivity.java:1037)
at
com.money.manager.ex.CheckingAccountActivity.updateData(CheckingAccountActivity.java:1065)
at
com.money.manager.ex.CheckingAccountActivity.onActionDoneClick(CheckingAccountActivity.java:768)
at
com.money.manager.ex.fragment.BaseFragmentActivity$4.onClick(BaseFragmentActivity.java:159)
at android.view.View.performClick(View.java:4756)
at android.view.View$PerformClick.run(View.java:19749)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)


Reply to this email directly or view it on GitHub
#76.

AlessandroLazzari added a commit that referenced this issue Mar 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant