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

App crashes on start #1439

Closed
Outlet2048 opened this issue Sep 9, 2023 · 17 comments
Closed

App crashes on start #1439

Outlet2048 opened this issue Sep 9, 2023 · 17 comments

Comments

@Outlet2048
Copy link

Just updated to the latest version and whenever I open the app for the first time it crashes
Opening it again works just fine

Until the app gets killed in the background or something and then it repeats

Oneplus9pro
Android 13

@psrunner71
Copy link

I also just updated Android and when I open the app it crashes.

Lenovo Tab M10 Plus 3rd Gen (TB125FU)
Android 13

@lucyferu
Copy link

Opening it again works just fine

same here, but reopening never works.
the app crashes always.

@Gitsaibot
Copy link
Contributor

A debug log would be helpful.

@shuvashish76
Copy link

FATAL EXCEPTION: main
Process: ws.xsoh.etar, PID: 1050
java.lang.IllegalArgumentException: Object returned from onCreateLoader must not be null
	at androidx.loader.app.LoaderManagerImpl.createAndInstallLoader(LoaderManagerImpl.java:385)
	at androidx.loader.app.LoaderManagerImpl.initLoader(LoaderManagerImpl.java:421)
	at com.android.calendar.month.MonthByWeekFragment$3.run(MonthByWeekFragment.java:140)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:193)
	at android.app.ActivityThread.main(ActivityThread.java:6718)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Android : 9
App version : 1.0.35

@Gitsaibot
Copy link
Contributor

Gitsaibot commented Sep 12, 2023

@theimpulson I think this has something to do with your migration to androidx fragment library. Do you have an idea?

Maybe same as: https://stackoverflow.com/questions/60175687/loadermanager-loadercallbacks-android-studio

@theimpulson
Copy link
Contributor

@theimpulson I think this has something to do with your migration to androidx fragment library. Do you have an idea?

Maybe same as: https://stackoverflow.com/questions/60175687/loadermanager-loadercallbacks-android-studio

I will check

@Gitsaibot
Copy link
Contributor

@ALL Would be nice if you could test this apk: https://github.com/Etar-Group/Etar-Calendar/actions/runs/6181056696

@lucyferu
Copy link

@ALL Would be nice if you could test this apk: https://github.com/Etar-Group/Etar-Calendar/actions/runs/6181056696

it works just fine 😸

@JanaKasparova
Copy link

Sorry, keeps crashing for me. I can see a daily schedule for a while but that's all :( I have two version installed: 1.0.30 and the above mentioned version. I do not know if that matters.

@lucyferu
Copy link

Sorry, keeps crashing for me. I can see a daily schedule for a while but that's all :( I have two version installed: 1.0.30 and the above mentioned version. I do not know if that matters.

I also have both installed, but the testing one works for me nonetheless.

@0verEngineer
Copy link

time: 1695478466870msg: java.lang.IllegalArgumentException: Object returned from onCreateLoader must not be nullstacktrace: java.lang.IllegalArgumentException: Object returned from onCreateLoader must not be null at androidx.loader.app.LoaderManagerImpl.createAndInstallLoader(LoaderManagerImpl.java:385) at androidx.loader.app.LoaderManagerImpl.initLoader(LoaderManagerImpl.java:421) at com.android.calendar.month.MonthByWeekFragment$3.run(MonthByWeekFragment.java:140) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7922) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)

Mi Pad 5 with Android 13

@Gitsaibot
Copy link
Contributor

Closed with version 1.0.36

@JanaKasparova
Copy link

Unfortunately, version 1.0.36 has not solved the crash on my Android 5.1. I've managed to get a log, see below.
etar_1.0.36_android5.1.txt

@GHbasicuser
Copy link

Unfortunately, version 1.0.36 has not solved the crash on my Android 5.1. I've managed to get a log, see below. etar_1.0.36_android5.1.txt

Hi, I'm having the same problem (Android 5.1.1 + Samsung layer), the latest working version is 1.0.30.

@Gitsaibot
Copy link
Contributor

Gitsaibot commented Oct 29, 2023

@JanaKasparova Sorry have seen your log only now.
@theimpulson Your PR #1184 uses functions that don't work under api 21. Can you have a look at it? Maybe a simple api check is enough.

@theimpulson
Copy link
Contributor

@JanaKasparova Sorry have seen your log only now. @theimpulson Your PR #1184 uses functions that don't work under api 21. Can you have a look at it? Maybe a simple api check is enough.

@Gitsaibot it was fixed in 8fb79af.

@Gitsaibot
Copy link
Contributor

Gitsaibot commented Oct 29, 2023

Sure? Take a look at the log of JanaKasparova.

What about the call here:
at com.android.calendar.AllInOneActivity.dozeDisabled(AllInOneActivity.java:439)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants