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

NEED SOLUTION - Fatal Exception: java.lang.NullPointerException #48

Open
Om25091210 opened this issue Nov 16, 2021 · 0 comments
Open

NEED SOLUTION - Fatal Exception: java.lang.NullPointerException #48

Om25091210 opened this issue Nov 16, 2021 · 0 comments

Comments

@Om25091210
Copy link

Fatal Exception: java.lang.NullPointerException: Can't toast on a thread that has not called Looper.prepare()
at com.android.internal.util.Preconditions.checkNotNull(Preconditions.java:157)
at android.widget.Toast.getLooper(Toast.java:179)
at android.widget.Toast.(Toast.java:164)
at android.widget.Toast.(Toast.java:154)
at www.sanju.motiontoast.MotionToast$Companion.darkColorToast(MotionToast.kt:978)
at com.aryomtech.dhitifoundation.public_notes.create_announcement$3.run(create_announcement.java:653)
at java.util.TimerThread.mainLoop(Timer.java:562)
at java.util.TimerThread.run(Timer.java:512)

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