thumb-key icon indicating copy to clipboard operation
thumb-key copied to clipboard

One-time crash immediately after update

Open Terrance opened this issue 7 months ago • 0 comments

Steps to reproduce

This seemed to happen right after F-Droid updated Thumb-Key to 3.3.0 in the background -- I believe I tapped an input field as F-Droid's update complete notification showed up.

Expected behavior

Keyboard shows as normal.

Actual behavior

Crash picked up by LogFox:

FATAL EXCEPTION: main
Process: com.dessalines.thumbkey, PID: 24011
java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.view.inputmethod.InputConnection.requestCursorUpdates(int)' on a null object reference
	at Z1.f.a(SourceFile:156)
	at f2.e.q(SourceFile:192)
	at V.a.q(SourceFile:52)
	at N.q.a(SourceFile:222)
	at f2.e.q(SourceFile:71)
	at V.a.q(SourceFile:52)
	at N.q.a(SourceFile:222)
	at L.i2.a(SourceFile:74)
	at A.p.q(SourceFile:918)
	at V.a.q(SourceFile:52)
	at N.q.b(SourceFile:150)
	at L.p0.h(SourceFile:253)
	at a1.n.e(SourceFile:34)
	at f2.f.a(SourceFile:83)
	at f2.a.q(SourceFile:76)
	at N.p.M(SourceFile:483)
	at N.p.T(SourceFile:58)
	at N.p.s(SourceFile:158)
	at N.p.K(SourceFile:29)
	at N.u.v(SourceFile:36)
	at N.v0.s(SourceFile:123)
	at N.t0.r(SourceFile:377)
	at N.A.doFrame(SourceFile:14)
	at w0.Q.doFrame(SourceFile:48)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1386)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1396)
	at android.view.Choreographer.doCallbacks(Choreographer.java:1033)
	at android.view.ChoreographerExtImpl.checkScrollOptSceneEnable(ChoreographerExtImpl.java:411)
	at android.view.Choreographer.doFrame(Choreographer.java:900)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1371)
	at android.os.Handler.handleCallback(Handler.java:942)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:240)
	at android.os.Looper.loop(Looper.java:351)
	at android.app.ActivityThread.main(ActivityThread.java:8377)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
	Suppressed: m3.g: [N.i0@2c28af4, w0.q0@fe3b21d, r0{Cancelling}@3a5dc92, S@1bf9663]

Tapping the input a few seconds later showed the keyboard as normal, so just a false start of sorts.

version of the program

3.3.0

Android version

Android 13

Device

OnePlus Nord CE

Other details

No response

Acknowledgements

  • [X] I have written a short but informative title.
  • [X] I have updated the app to the latest version.
  • [X] I have searched the existing issues and this is a new one, NOT a duplicate or related to another open issue.
  • [X] This is not a question or a discussion, in which case I should have gone to lemmy.ml/c/thumbkey
  • [X] This is a single bug report, in case of multiple bugs I will open a separate issue for each one (they can always link to each other if related)
  • [ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements. 🤡
  • [X] I have filled out all of the requested information in this form.

Terrance avatar Jul 09 '24 22:07 Terrance