Android Question Android 8.0 Oreo Edittext crash issue

yge

Member
Licensed User
Hi guys. I noticed there is a problem with Android 8.0 Oreo and edittexts. It crashes on these two parts:


EditText3.Text = EditText3.Text.Replace(".","") line in this code:
B4X:
If New.Contains(".") Then
        EditText3.Text = EditText3.Text.Replace(".","")
    End If

and EditText3.Text = Old line in this code
B4X:
If New.Length > 12 Then
    EditText3.Text = Old
    EditText3.SelectionStart = EditText3.Text.Length
    End If

Any idea what could be wrong? It works perfectly on every other android.
 

stevel05

Expert
Licensed User
Longtime User
What is the error message?
 
Upvote 0

yge

Member
Licensed User
What is the error message?

I have no Android 8.0 device, this is from google play report. This happened with another 8.0 device and another edittext, but the same lines as this one.

B4X:
java.lang.StackOverflowError:
  at anywheresoftware.b4a.BA.Log (BA.java:562)
  at anywheresoftware.b4a.BA.addLogPrefix (BA.java:576)
  at anywheresoftware.b4a.BA.LogInfo (BA.java:583)
  at anywheresoftware.b4a.BA.Log (BA.java:560)
  at anywheresoftware.b4a.BA.addLogPrefix (BA.java:576)
  at anywheresoftware.b4a.BA.LogError (BA.java:580)
  at anywheresoftware.b4a.BA.printException (BA.java:298)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:208)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
  at android.widget.TextView.setText (TextView.java:5281)
  at android.widget.EditText.setText (EditText.java:113)
  at android.widget.TextView.setText (TextView.java:5238)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext3_textchanged (login.java:820)
  at java.lang.reflect.Method.invoke (Native Method)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
  at android.widget.TextView.setText (TextView.java:5281)
  at android.widget.EditText.setText (EditText.java:113)
  at android.widget.TextView.setText (TextView.java:5238)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext3_textchanged (login.java:805)
  at java.lang.reflect.Method.invoke (Native Method)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
  at android.widget.TextView.setText (TextView.java:5281)
  at android.widget.EditText.setText (EditText.java:113)
  at android.widget.TextView.setText (TextView.java:5238)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext3_textchanged (login.java:820)
  at java.lang.reflect.Method.invoke (Native Method)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
  at android.widget.TextView.setText (TextView.java:5281)
  at android.widget.EditText.setText (EditText.java:113)
  at android.widget.TextView.setText (TextView.java:5238)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext3_textchanged (login.java:805)
  at java.lang.reflect.Method.invoke (Native Method)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
  at android.widget.TextView.setText (TextView.java:5281)
  at android.widget.EditText.setText (EditText.java:113)
  at android.widget.TextView.setText (TextView.java:5238)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext3_textchanged (login.java:820)
  at java.lang.reflect.Method.invoke (Native Method)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
  at android.widget.TextView.setText (TextView.java:5281)
  at android.widget.EditText.setText (EditText.java:113)
  at android.widget.TextView.setText (TextView.java:5238)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext3_textchanged (login.java:805)
  at java.lang.reflect.Method.invoke (Native Method)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
  at android.widget.TextView.setText (TextView.java:5281)
  at android.widget.EditText.setText (EditText.java:113)
  at android.widget.TextView.setText (TextView.java:5238)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext3_textchanged (login.java:820)
  at java.lang.reflect.Method.invoke (Native Method)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
  at android.widget.TextView.setText (TextView.java:5281)
  at android.widget.EditText.setText (EditText.java:113)
  at android.widget.TextView.setText (TextView.java:5238)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext3_textchanged (login.java:805)
  at java.lang.reflect.Method.invoke (Native Method)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
  at android.widget.TextView.setText (TextView.java:5281)
  at android.widget.EditText.setText (EditText.java:113)
  at android.widget.TextView.setText (TextView.java:5238)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext3_textchanged (login.java:820)
  at java.lang.reflect.Method.invoke (Native Method)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
  at android.widget.TextView.setText (TextView.java:5281)
  at android.widget.EditText.setText (EditText.java:113)
  at android.widget.TextView.setText (TextView.java:5238)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext3_textchanged (login.java:805)
  at java.lang.reflect.Method.invoke (Native Method)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
  at android.widget.TextView.setText (TextView.java:5281)
  at android.widget.EditText.setText (EditText.java:113)
  at android.widget.TextView.setText (TextView.java:5238)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext3_textchanged (login.java:820)
  at java.lang.reflect.Method.invoke (Native Method)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
  at android.widget.TextView.setText (TextView.java:5281)
  at android.widget.EditText.setText (EditText.java:113)
  at android.widget.TextView.setText (TextView.java:5238)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext3_textchanged (login.java:805)
  at java.lang.reflect.Method.invoke (Native Method)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9409)
  at android.widget.TextView.setText (TextView.java:5434)
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
I don't have an 8 device either so impossible to debug it. It looks as though something may have changed in the callback process, but I can't try it either. There is little point guessing as neither of us can test it. Hopefully someone with an Android 8 device can offer an opinion.
 
Upvote 0

yge

Member
Licensed User
I don't have an 8 device either so impossible to debug it. It looks as though something may have changed in the callback process, but I can't try it either. There is little point guessing as neither of us can test it. Hopefully someone with an Android 8 device can offer an opinion.
I guess it is related to the changes made in Android 8.0 and I have android:targetSdkVersion="26". Hope someone would know what could be the problem. Thank you.
 
Upvote 0

KMatle

Expert
Licensed User
Longtime User
On my first days with B4A I had some issues (on any Android version) because I did NOT check if an Edittext was filled at all. Now I first check if the length is >0 because otherwise it's just empty and your app will crash on many functions. Check what happens if the user does an input and then deletes all the input by pressing backspace or so. For sure it's not related to Oreo.

So it's

B4X:
IF New.length > 0 AND New.Contains(".") Then ...

What it does: It's an AND condition and the code behind >0 will not be executed if the length is 0
 
Upvote 0

yge

Member
Licensed User
On my first days with B4A I had some issues (on any Android version) because I did NOT check if an Edittext was filled at all. Now I first check if the length is >0 because otherwise it's just empty and your app will crash on many functions. Check what happens if the user does an input and then deletes all the input by pressing backspace or so. For sure it's not related to Oreo.

So it's

B4X:
IF New.length > 0 AND New.Contains(".") Then ...

What it does: It's an AND condition and the code behind >0 will not be executed if the length is 0

Thank you for your answer. If the user does an input and then deletes all the input, it works ok. If the edittext is empty and the player presses backspace, it doesn't do anything because there is nothing to delete, but it doesn't crash, so it is ok too. When I press dot (.) it doesn't write it, which is ok too.This is the first time I see this issue in few months, and both affected devices are android 8.0 Oreo, plus I read somewhere on net that Oreo has some issues with edittext focus, so that is why I think it is related to android version. The part that is confusing me is why does it appear on android 8.0 only...
 
Upvote 0

yge

Member
Licensed User
Can you post the full code from the TextChanged event?

Sure. Here it is:

B4X:
Sub EditText1_TextChanged (Old As String, New As String)
    If New.Contains("@") Then
        EditText1.Text = EditText1.Text.Replace("@","")
    End If
    If New.Contains(".") Then
        EditText1.Text = EditText1.Text.Replace(".","")
    End If
    If New.Contains("-") Then
        EditText1.Text = EditText1.Text.Replace("-","")
    End If
    If New.Contains("_") Then
        EditText1.Text = EditText1.Text.Replace("_","")
    End If
    If New.Length > 12 Then
    EditText1.Text = Old
    EditText1.SelectionStart = EditText1.Text.Length
    End If
    
End Sub

Also, someone got another crash, ANR this time:

The "main" (tid=1) thread is in suspended state. This is likely due to garbage collection.
B4X:
"main" prio=5 tid=1 Suspended
  | group="main" sCount=1 dsCount=0 obj=0x76617000 self=0xb4827800
  | sysTid=5755 nice=0 cgrp=default sched=0/0 handle=0xb6fcdbec
  | state=S schedstat=( 0 0 0 ) utm=4356 stm=1004 core=1 HZ=100
  | stack=0xbe59a000-0xbe59c000 stackSize=8MB
  | held mutexes=
  at android.os.MessageQueue.removeMessages (MessageQueue.java:479)
- locked <0x0d04fab5> (a android.os.MessageQueue)
  at android.os.Handler.removeCallbacks (Handler.java:483)
  at android.widget.Editor.makeBlink (Editor.java:2058)
  at android.widget.TextView.spanChange (TextView.java:9205)
  at android.widget.TextView$ChangeWatcher.onSpanAdded (TextView.java:11818)
  at android.text.SpannableStringBuilder.sendSpanAdded (SpannableStringBuilder.java:985)
  at android.text.SpannableStringBuilder.setSpan (SpannableStringBuilder.java:694)
  at android.text.SpannableStringBuilder.setSpan (SpannableStringBuilder.java:611)
  at android.text.Selection.setSelection (Selection.java:125)
  at android.text.Selection.setSelection (Selection.java:134)
  at android.text.method.ArrowKeyMovementMethod.initialize (ArrowKeyMovementMethod.java:318)
  at android.widget.TextView.setText (TextView.java:4853)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:693)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setText (TextView.java:4684)
  at anywheresoftware.b4a.objects.TextViewWrapper.setText (TextViewWrapper.java:39)
  at anywheresoftware.b4a.objects.EditTextWrapper.setText (EditTextWrapper.java:226)
  at com.yourgamingexperience.hangman.login._edittext1_textchanged (login.java:708)
  at java.lang.reflect.Method.invoke! (Native method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
  at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
  at anywheresoftware.b4a.objects.EditTextWrapper$1.afterTextChanged (EditTextWrapper.java:83)
  at android.widget.TextView.sendAfterTextChanged (TextView.java:9084)
  at android.widget.TextView.setText (TextView.java:4894)
  at android.widget.TextView.setText (TextView.java:4709)
  at android.widget.EditText.setText (EditText.java:116)
  at android.widget.TextView.setTe

This report is pretty long, but it is related to the same rows I mentioned in the first post. The difference is only the garbage collection part...
 
Upvote 0

yge

Member
Licensed User
Don't update EditText1.Text multiple times.

B4X:
Dim s As String = New
s = s.Replace("@", "").Replace(".", "").Replace("-", "").Replace("_")
If s.Length > 12 Then
 s = old
End If
If s <> EditText1.Text Then
  EditText1.Text = s
 EditText1.SelectionStart = EditText1.Text.Length
End If

Updating Edittext1.Text many times is a general issue or it could be an issue on some devices/androids?

The code I sent worked perfectly everywhere I tested it. I tested every scenario I could think of on many devices, like pasting a string like "--__@@" or similar, and it replaces all the characters with nothing. I am going to update the code as you pointed out, and I will let you know if there are similar errors in the future. Thank you a lot for your answer!
 
Upvote 0

beacon

Member
Licensed User
Longtime User
The solution example will throw "missing parameter" but just change the final Replace("_") to Replace("_","") to resolve it. :)
 
Upvote 0
Top