simple-linkable-text icon indicating copy to clipboard operation
simple-linkable-text copied to clipboard

Null Pointer Exception onTouchEvent

Open CanGokdere opened this issue 9 years ago • 3 comments

My problem is as follows, I am using linkableedittext in a fragment. When I first see the activity everything is fine, edittext request focus and I start typing. When I close the keyboard and the re-touch on edit text to get focus, it gives me crash report.
java.lang.NullPointerException at android.widget.Editor.onTouchUpEvent(Editor.java:1927) at android.widget.TextView.onTouchEvent(TextView.java:8865) at android.view.View.dispatchTouchEvent(View.java:7817)

I saw something like this: http://stackoverflow.com/questions/22563891/crash-on-samsung-devices-for-edittext-containing-links

So, I also think problem is with LinkMovementMethod. Any suggestions for me to fix it or does library requires an update for the solution ?

Edit: Testing on Samsung Galaxy S3

CanGokdere avatar Oct 04 '15 11:10 CanGokdere

Yes, I have This Problem too

siyanew avatar Nov 07 '16 12:11 siyanew

Yes, I have This Problem too

snowdream avatar Feb 28 '17 06:02 snowdream

Yes, I have This Problem too

Erica1217 avatar Sep 01 '17 03:09 Erica1217