Skip to content

App crashes on startup #335

@naveensingh

Description

@naveensingh

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.6.0

Affected Android/Custom ROM version

Android 14

Affected device model

Unknown, but this bug looks device-agnostic

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Installed, not started
  2. Enable in Android Settings
  3. Used the system selector to select it

Expected behavior

No crashes

Actual behavior

The app is crashing. Stack trace:

FATAL EXCEPTION: main
Process: org.fossify.keyboard, PID: 8029
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.fossify.keyboard/org.fossify.keyboard.activities.SplashActivity}: kotlin.UninitializedPropertyAccessException: lateinit property binding has not been initialized
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3993)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4180)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)
	at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:231)
	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:152)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:93)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2595)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8601)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:863)
Caused by: kotlin.UninitializedPropertyAccessException: lateinit property binding has not been initialized
	at org.fossify.keyboard.services.SimpleKeyboardIME.e(Unknown Source:33)
	at org.fossify.keyboard.services.SimpleKeyboardIME.onSharedPreferenceChanged(Unknown Source:56)
	at android.app.SharedPreferencesImpl$EditorImpl.notifyListeners(SharedPreferencesImpl.java:645)
	at android.app.SharedPreferencesImpl$EditorImpl.apply(SharedPreferencesImpl.java:519)
	at A.r.q(Unknown Source:8)
	at o5.b.p(Unknown Source:4)
	at n5.j.R(Unknown Source:22)
	at org.fossify.keyboard.activities.SplashActivity.onCreate(Unknown Source:101)
	at android.app.Activity.performCreate(Activity.java:8960)
	at android.app.Activity.performCreate(Activity.java:8938)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1530)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3975)
	... 13 more

Screenshots/Screen recordings

No response

Additional information

Original report: #334

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions