powered by Jive Software

Android Studio 4.1.1 AssertionError

Smack version 4.3.4.
After updating ANdroid Studio to 4.1.1, minimum gradle required is 6.5, I got this issue

java.lang.AssertionError
at org.jivesoftware.smack.AbstractXMPPConnection.sendStanza(AbstractXMPPConnection.java:718)
at com.bm.sc.bebasbayar.chat.xmpp.XMPPConnectionService.startTyping(XMPPConnectionService.kt:1018)
at com.bm.sc.bebasbayar.chat.helpers.MyBebChat$Companion.startTyping(MyBebChat.kt:141)
at com.bm.sc.bebasbayar.chat.views.ChattingActivity$initUI$$inlined$let$lambda$4.onTextChanged(ChattingActivity.kt:390)
at android.widget.TextView.sendOnTextChanged(TextView.java:11633)
at android.widget.TextView.handleTextChanged(TextView.java:11738)
at android.widget.TextView$ChangeWatcher.onTextChanged(TextView.java:14886)
at android.text.SpannableStringBuilder.sendTextChanged(SpannableStringBuilder.java:1267)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:576)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:507)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:37)
at android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:849)
at android.view.inputmethod.BaseInputConnection.commitText(BaseInputConnection.java:199)
at com.android.internal.widget.EditableInputConnection.commitText(EditableInputConnection.java:177)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:169)
at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:339)
at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:89)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7811)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1068)

See

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.