-
-
Notifications
You must be signed in to change notification settings - Fork 298
fix crash caused by updateScheduledMessagesAvailability (e.g. by screen rotation) #5767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mahibi
merged 1 commit into
master
from
bugfix/noid/fixScheduledMessageAvailabilityCrash
Jan 29, 2026
Merged
fix crash caused by updateScheduledMessagesAvailability (e.g. by screen rotation) #5767
mahibi
merged 1 commit into
master
from
bugfix/noid/fixScheduledMessageAvailabilityCrash
Jan 29, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…en rotation)
binding was not initialized. crash:
2026-01-29 09:58:13.087 3875-3875 TransactionExecutor com.nextcloud.talk2 E Failed to execute the transaction: tId:1538356034 ClientTransaction{
tId:1538356034 transactionItems=[
tId:1538356034 ConfigurationChangeItem{deviceId=0, config{1.0 ?mcc0mnc [en_DE,de_DE,ar_EG] ldltr sw434dp w964dp h434dp 450dpi nrml long layoutCompatNeeded land finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 2712, 1220) mAppBounds=Rect(0, 0 - 2712, 1220) mMaxBounds=Rect(0, 0 - 2712, 1220) mDisplayRotation=ROTATION_90 mWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_90} as.2 s.3409 fontWeightAdjustment=0 ?spn ?gid}}
tId:1538356034 ActivityRelaunchItem{mActivityToken=android.os.BinderProxy@db25a03,pendingResults=null,pendingNewIntents=null,config={mGlobalConfig={1.0 ?mcc0mnc [en_DE,de_DE,ar_EG] ldltr sw434dp w964dp h434dp 450dpi nrml long layoutCompatNeeded land finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 2712, 1220) mAppBounds=Rect(0, 0 - 2712, 1220) mMaxBounds=Rect(0, 0 - 2712, 1220) mDisplayRotation=ROTATION_90 mWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_90} as.2 s.3409 fontWeightAdjustment=0 ?spn ?gid} mOverrideConfig={1.0 ?mcc0mnc [en_DE,de_DE,ar_EG] ldltr sw434dp w964dp h434dp 450dpi nrml long layoutCompatNeeded land finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 2712, 1220) mAppBounds=Rect(0, 0 - 2712, 1220) mMaxBounds=Rect(0, 0 - 2712, 1220) mDisplayRotation=ROTATION_90 mWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_90} as.2 s.3 fontWeightAdjustment=0 ?spn ?gid}},activityWindowInfo=ActivityWindowInfo{isEmbedded=false, taskBounds=Rect(0, 0 - 2712, 1220), taskFragmentBounds=Rect(0, 0 - 2712, 1220)},configChanges=1152,preserveWindow=false}
tId:1538356034 Target activity: com.nextcloud.talk.chat.ChatActivity
tId:1538356034 ResumeActivityItem{mActivityToken=android.os.BinderProxy@db25a03,procState=-1,isForward=false,shouldSendCompatFakeFocus=false}
tId:1538356034 Target activity: com.nextcloud.talk.chat.ChatActivity
tId:1538356034 ]
tId:1538356034 }
2026-01-29 09:58:13.087 3875-3875 AndroidRuntime com.nextcloud.talk2 D Shutting down VM
2026-01-29 09:58:13.090 3875-3875 AndroidRuntime com.nextcloud.talk2 E FATAL EXCEPTION: main (Fix with AI)
Process: com.nextcloud.talk2, PID: 3875
kotlin.UninitializedPropertyAccessException: lateinit property binding has not been initialized
at com.nextcloud.talk.chat.MessageInputFragment.getBinding(MessageInputFragment.kt:128)
at com.nextcloud.talk.chat.MessageInputFragment.handleButtonsVisibility(MessageInputFragment.kt:704)
at com.nextcloud.talk.chat.MessageInputFragment.updateScheduledMessagesAvailability(MessageInputFragment.kt:756)
at com.nextcloud.talk.chat.ChatActivity.initObservers$lambda$6(ChatActivity.kt:979)
at com.nextcloud.talk.chat.ChatActivity.$r8$lambda$_QqnoIWSyNJn8ELB500xQ0ODlUk(Unknown Source:0)
at com.nextcloud.talk.chat.ChatActivity$$ExternalSyntheticLambda73.invoke(D8$$SyntheticClass:0)
at com.nextcloud.talk.chat.ChatActivity$sam$androidx_lifecycle_Observer$0.onChanged(Unknown Source:2)
at androidx.lifecycle.LiveData.considerNotify(LiveData.java:134)
at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:147)
at androidx.lifecycle.LiveData$ObserverWrapper.activeStateChanged(LiveData.java:482)
Signed-off-by: Marcel Hibbe <[email protected]>
Collaborator
Author
|
/backport to stable-23.0 |
Contributor
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/5767.apk |
Contributor
AndyScherzinger
approved these changes
Jan 29, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

binding was not initialized. crash:
🖼️ Screenshots
🚧 TODO
🏁 Checklist
/backport to stable-xx.x