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

Application Crashing #30

Open
pcsaunak opened this issue May 30, 2018 · 0 comments
Open

Application Crashing #30

pcsaunak opened this issue May 30, 2018 · 0 comments

Comments

@pcsaunak
Copy link

pcsaunak commented May 30, 2018

As soon as I try to submit any thing it crashes, for example, when the app first starts up, it asks for password. When I type the password for the second time it crashes. with the below error

android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?

the same thing happens if I try to open the app again ,it navigates from splash screen to the home screen where I need to add my expense. As soon as I enter the number and hit the "Ok" button on the soft keyboard the app crashes . Here is the complete crash log.
Tried running the app on android 8 and android 7 but the same.
I did update the app a bit so that I could compile it in the latest android studio version.
Also updated the "@Linkview" of butterknife to "@BindView"

05-30 02:38:04.303 29347-29347/com.nightonke.cocoin E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.nightonke.cocoin, PID: 29347
android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:679)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:342)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
at com.github.johnpersano.supertoasts.ManagerSuperToast.displaySuperToast(ManagerSuperToast.java:189)
at com.github.johnpersano.supertoasts.ManagerSuperToast.handleMessage(ManagerSuperToast.java:146)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)

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