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

ToastManager crashes on SC-01G of Android 5.0. #298

Closed
justoneplanet opened this issue Sep 9, 2015 · 0 comments
Closed

ToastManager crashes on SC-01G of Android 5.0. #298

justoneplanet opened this issue Sep 9, 2015 · 0 comments

Comments

@justoneplanet
Copy link

+Devices
SC-01G

+What steps will reproduce the problem?
1.Delete a word on the dictionary tool.

+What is the expected output?
The selected word is deleted correctly.

+What do you see instead?
Crashing of the app.

+What version of the product are you using? On what operating system?
Android 5.0
Any versions have this problem.
You'll see the code of ToastManager.java in current master.
https://github.com/google/mozc/blob/master/src/android/src/com/google/android/inputmethod/japanese/userdictionary/ToastManager.java

+Please provide any additional information below.
"toast.setView(null);" generates the following exception...
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setOnTouchListener(android.view.View$OnTouchListener)' on a null object reference
at android.widget.Toast.setView(Toast.java:188)

@yukawa yukawa closed this as completed in 79d24b1 Aug 7, 2016
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