Skip to content
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

🐞 [BUG] Setting group message title crashes the app #13

Closed
octoshrimpy opened this issue Nov 14, 2023 · 2 comments
Closed

🐞 [BUG] Setting group message title crashes the app #13

octoshrimpy opened this issue Nov 14, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@octoshrimpy
Copy link
Owner

octoshrimpy commented Nov 14, 2023

EXPECTED

convo changes title

OBSERVATIONS

app crashes


moezbhatti/qksms#1924

@octoshrimpy octoshrimpy added the bug Something isn't working label Nov 14, 2023
@octoshrimpy octoshrimpy changed the title Setting group message title crashes the app 🐞 [BUG] Setting group message title crashes the app Nov 25, 2023
@navyjosh
Copy link

navyjosh commented Feb 9, 2024

QUIK log eb6632978531.txt
Confirmed this is happening:

OS: GrapheneOS

Crash Trace:


type: crash
osVersion: google/oriole/oriole:14/UQ1A.240205.002/2024020500:user/release-keys
package: dev.octoshrimpy.quik:2221
process: dev.octoshrimpy.quik
processUptime: 22023 + 94 ms
installer: com.android.packageinstaller

io.reactivex.exceptions.OnErrorNotImplementedException: Running transactions on the UI thread has been disabled. It can be enabled by setting 'RealmConfiguration.Builder.allowWritesOnUiThread(true)'.
Caused by: io.realm.exceptions.RealmException: Running transactions on the UI thread has been disabled. It can be enabled by setting 'RealmConfiguration.Builder.allowWritesOnUiThread(true)'.
	at dev.octoshrimpy.quik.feature.conversationinfo.ConversationInfoPresenter.bindIntents(ConversationInfoPresenter.kt:150)
	at [[ ↑↑ Inferred subscribe point ↑↑ ]].(:0)
	at [[ ↓↓ Original trace ↓↓ ]].(:0)
	at io.realm.BaseRealm.checkAllowWritesOnUiThread(BaseRealm.java:553)
	at io.realm.Realm.executeTransaction(Realm.java:1629)
	at dev.octoshrimpy.quik.repository.ConversationRepositoryImpl.setConversationName(ConversationRepositoryImpl.kt:123)
	at dev.octoshrimpy.quik.feature.conversationinfo.ConversationInfoPresenter$bindIntents$$inlined$withLatestFrom$2.apply(Observables.kt:192)
	at io.reactivex.internal.operators.observable.ObservableWithLatestFrom$WithLatestFromObserver.onNext(ObservableWithLatestFrom.java:76)
	at io.reactivex.subjects.PublishSubject$PublishDisposable.onNext(PublishSubject.java:308)
	at io.reactivex.subjects.PublishSubject.onNext(PublishSubject.java:228)
	at dev.octoshrimpy.quik.feature.conversationinfo.ConversationInfoController$nameDialog$2$1.invoke(ConversationInfoController.kt:53)
	at dev.octoshrimpy.quik.feature.conversationinfo.ConversationInfoController$nameDialog$2$1.invoke(ConversationInfoController.kt:53)
	at dev.octoshrimpy.quik.common.widget.TextInputDialog._init_$lambda$2(TextInputDialog.kt:39)
	at dev.octoshrimpy.quik.common.widget.TextInputDialog.$r8$lambda$eFPQCCDNIvFzySAddZAKh335qyc(Unknown Source:0)
	at dev.octoshrimpy.quik.common.widget.TextInputDialog$$ExternalSyntheticLambda2.onClick(Unknown Source:4)
	at androidx.appcompat.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:205)
	at android.os.Looper.loop(Looper.java:294)
	at android.app.ActivityThread.main(ActivityThread.java:8279)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)

@octoshrimpy
Copy link
Owner Author

fixed by #58 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants