flixclusiveorg / Flixclusive

A TV show and movie player application.
MIT License
392 stars 36 forks source link

Crashing on opening, Android 5.1 #108

Closed iiD4x closed 4 months ago

iiD4x commented 4 months ago

Steps to reproduce

  1. Use Android 5.1.
  2. Open the app.
  3. Crash.

Expected behavior

It should open the app

Actual behavior

Crashes

Crash logs (or stack trace)

flixclusive.txt

I/ActivityManager( 759): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.flixclusive/.mobile.MobileActivity bnds=[460,359][760,610] (has extras)} from uid 1000 on display 0 D/ECarXActivityWatcher( 1894): activityStarting intent:Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.flixclusive/.mobile.MobileActivity } pkg:com.flixclusive; intent.getComponent().getClassName()=com.flixclusive.mobile.MobileActivity I/AC_LOG ( 1820): startActivity package name: com.flixclusive V/WindowManager( 759): addAppToken: AppWindowToken{f0740ca token=Token{30c7a435 ActivityRecord{2f45166c u0 com.flixclusive/.mobile.MobileActivity t7107}}} to stack=1 task=7107 at 0 D/ViewRootImpl( 759): hardware acceleration is disabled, fakeHwAccelerated = true, HardwareRenderer.sRendererDisabled = false, forceHwAccelerated = false, HardwareRenderer.sSystemRendererDisabled = false, this = ViewRoot{1e740b6e Starting com.flixclusive,ident = 6} V/WindowManager( 759): Adding window Window{37f0f29c u0 Starting com.flixclusive} at 6 of 24 (after Window{935d846 u0 ecarx.launcher3/ecarx.launcher3.AppPane}) I/BufferQueueConsumer( 226): [Starting com.flixclusive](this:0x7f7aaea000,id:73,api:0,p:-1,c:226) setConsumerName: Starting com.flixclusive I/BufferQueueConsumer( 226): [Starting com.flixclusive](this:0x7f7aaea000,id:73,api:0,p:-1,c:226) setDefaultBufferSize: width=1 height=1 I/BufferQueueConsumer( 226): [Starting com.flixclusive](this:0x7f7aaea000,id:73,api:0,p:-1,c:226) setDefaultBufferSize: width=1920 height=720 I/BufferQueueProducer( 226): [Starting com.flixclusive](this:0x7f7aaea000,id:73,api:2,p:759,c:226) connect(P): api=2 producer=(759:system_server) producerControlledByApp=false I/BufferQueueProducer( 226): [Starting com.flixclusive](this:0x7f7aaea000,id:73,api:2,p:759,c:226) new GraphicBuffer needed I/ActivityManager( 759): Start proc 21053:com.flixclusive/u0a48 for activity com.flixclusive/.mobile.MobileActivity D/ActivityThread(21053): installProvider: context.getPackageName()=com.flixclusive D/ActivityThread(21053): installProvider: context.getPackageName()=com.flixclusive I/BufferQueueProducer( 226): [Starting com.flixclusive](this:0x7f7aaea000,id:73,api:2,p:759,c:226) new GraphicBuffer needed E/AndroidRuntime(21053): Process: com.flixclusive, PID: 21053 E/AndroidRuntime(21053): at com.flixclusive.model.datastore.player.CaptionStylePreference.values(CaptionStylePreference.kt) E/AndroidRuntime(21053): at com.flixclusive.model.datastore.AppSettings.<clinit>(AppSettings.kt:68) E/AndroidRuntime(21053): at com.flixclusive.core.datastore.AppSettingsManager.<init>(AppSettingsManager.kt:21) E/AndroidRuntime(21053): at com.flixclusive.core.datastore.di.AppSettingsModule.providesAppSettingsManager$datastore_release(AppSettingsModule.kt:24) E/AndroidRuntime(21053): at com.flixclusive.core.datastore.di.AppSettingsModule_ProvidesAppSettingsManager$datastore_releaseFactory.providesAppSettingsManager$datastore_release(AppSettingsModule_ProvidesAppSettingsManager$datastore_releaseFactory.java:60) E/AndroidRuntime(21053): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl$SwitchingProvider.get(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1199) E/AndroidRuntime(21053): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl$SwitchingProvider.get(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1193) E/AndroidRuntime(21053): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl.injectFlixclusiveApplication2(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1170) E/AndroidRuntime(21053): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl.injectFlixclusiveApplication(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1150) E/AndroidRuntime(21053): at com.flixclusive.Hilt_FlixclusiveApplication.hiltInternalInject(Hilt_FlixclusiveApplication.java:52) E/AndroidRuntime(21053): at com.flixclusive.Hilt_FlixclusiveApplication.onCreate(Hilt_FlixclusiveApplication.java:43) E/AndroidRuntime(21053): at com.flixclusive.FlixclusiveApplication.onCreate(FlixclusiveApplication.kt:35) E/AndroidRuntime(21053): at com.flixclusive.model.datastore.player.CaptionStylePreference.<clinit>(CaptionStylePreference.kt:6) D/ECarXActivityWatcher( 1894): appCrashed proc:com.flixclusive pid:21053 m:java.lang.NullPointerException m2:java.lang.NullPointerException: create(...) must not be null time:1720598398443 st:java.lang.ExceptionInInitializerError D/ECarXActivityWatcher( 1894): at com.flixclusive.model.datastore.player.CaptionStylePreference.values(CaptionStylePreference.kt) D/ECarXActivityWatcher( 1894): at com.flixclusive.model.datastore.AppSettings.<clinit>(AppSettings.kt:68) D/ECarXActivityWatcher( 1894): at com.flixclusive.core.datastore.AppSettingsManager.<init>(AppSettingsManager.kt:21) D/ECarXActivityWatcher( 1894): at com.flixclusive.core.datastore.di.AppSettingsModule.providesAppSettingsManager$datastore_release(AppSettingsModule.kt:24) D/ECarXActivityWatcher( 1894): at com.flixclusive.core.datastore.di.AppSettingsModule_ProvidesAppSettingsManager$datastore_releaseFactory.providesAppSettingsManager$datastore_release(AppSettingsModule_ProvidesAppSettingsManager$datastore_releaseFactory.java:60) D/ECarXActivityWatcher( 1894): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl$SwitchingProvider.get(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1199) D/ECarXActivityWatcher( 1894): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl$SwitchingProvider.get(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1193) D/ECarXActivityWatcher( 1894): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl.injectFlixclusiveApplication2(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1170) D/ECarXActivityWatcher( 1894): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl.injectFlixclusiveApplication(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1150) D/ECarXActivityWatcher( 1894): at com.flixclusive.Hilt_FlixclusiveApplication.hiltInternalInject(Hilt_FlixclusiveApplication.java:52) D/ECarXActivityWatcher( 1894): at com.flixclusive.Hilt_FlixclusiveApplication.onCreate(Hilt_FlixclusiveApplication.java:43) D/ECarXActivityWatcher( 1894): at com.flixclusive.FlixclusiveApplication.onCreate(FlixclusiveApplication.kt:35) D/ECarXActivityWatcher( 1894): at com.flixclusive.model.datastore.player.CaptionStylePreference.<clinit>(CaptionStylePreference.kt:6) W/ActivityManager( 759): Force finishing activity 1 com.flixclusive/.mobile.MobileActivity D/AES ( 759): process : com.flixclusive D/AES ( 759): module : com.flixclusive v20000 (2.0.0) D/AEE/LIBAEE( 759): shell: raise_exp(4, 21053, -1361051648, com.flixclusive, 0x0x7f6459d000, 0x0x0) I/AEE/AED (21301): [OnPurpose Redunant in void preset_info(aed_report_record*, int, int)] pid: 21053, tid: -1361051648, name: UNKNOWN >>> com.flixclusive <<< V/AEE/AED (21301): dashboard_record_update() : rec->module = com.flixclusive I/WindowManager( 759): Screenshot max retries 4 of Token{30c7a435 ActivityRecord{2f45166c u0 com.flixclusive/.mobile.MobileActivity t7107 f}} appWin=Window{37f0f29c u0 Starting com.flixclusive} drawState=4 D/SystemServicesProxy( 1258): getRecentTasks:TASK = Task.Key: 7107, u: 0, lat: 1720598398451, com.flixclusive/isExcluded = false/isTopTaskHome = true/isFirstValidTask = true/t.id = -1 D/RecentsTaskLoadPlan( 1258): thumbnail: Task.Key: 7107, u: 0, lat: 1720598398451, com.flixclusive, null D/AEE/AED (21301): Process:com.flixclusive I/AEE/AED (21301): com.flixclusive I/ActivityManager( 759): Process com.flixclusive (pid 21053) has died D/ActivityManager( 759): SVC-handleAppDiedLocked: app = ProcessRecord{3391eefc 21053:com.flixclusive/u0a48}, app.pid = 21053 D/ActivityManager( 759): removeDyingProviderLocked: cpr=ContentProviderRecord{3edbb985 u0 com.flixclusive/androidx.core.content.FileProvider} always=false inLaunching=false D/ActivityManager( 759): removeDyingProviderLocked: cpr=ContentProviderRecord{37f2b3da u0 com.flixclusive/androidx.startup.InitializationProvider} always=false inLaunching=false I/BufferQueueProducer( 226): [Starting com.flixclusive](this:0x7f7aaea000,id:73,api:2,p:-1,c:226) disconnect(P): api 2 I/BufferQueueConsumer( 226): [Starting com.flixclusive](this:0x7f7aaea000,id:73,api:2,p:-1,c:226) getReleasedBuffers: returning mask 0xffffffffffffffff E/WindowState( 759): getStack: Window{37f0f29c u0 Starting com.flixclusive} couldn't find taskId=7107 Callers=com.android.server.wm.WindowState.getDisplayContent:801 com.android.server.wm.WindowState.getWindowList:1394 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:3187 com.android.server.wm.WindowManagerService.removeWindowLocked:3077 E/WindowState( 759): getStack: Window{37f0f29c u0 Starting com.flixclusive} couldn't find taskId=7107 Callers=com.android.server.wm.WindowState.getDisplayContent:801 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:3192 com.android.server.wm.WindowManagerService.removeWindowLocked:3077 com.android.server.wm.WindowManagerService.removeWindow:2998 I/BufferQueueConsumer( 226): [Starting com.flixclusive](this:0x7f7aaea000,id:73,api:2,p:-1,c:-1) disconnect(C) I/BufferQueue( 226): [Starting com.flixclusive](this:0x7f7aaea000,id:73,api:2,p:-1,c:-1) ~BufferQueueCore D/AEE/AED (21301): Module:com.flixclusive v20000 (2.0.0) I/AEE/AED (21301): com.flixclusive v20000 (2.0.0) D/AEE/AED (21301): Backtrace:Process: com.flixclusive D/AEE/AED (21301): Package: com.flixclusive v20000 (2.0.0) D/AEE/AED (21301): at com.flixclusive.model.datastore.player.CaptionStylePreference.values(CaptionStylePreference.kt) D/AEE/AED (21301): at com.flixclusive.model.datastore.AppSettings.<clinit>(AppSettings.kt:68) D/AEE/AED (21301): at com.flixclusive.core.datastore.AppSettingsManager.<init>(AppSettingsManager.kt:21) D/AEE/AED (21301): at com.flixclusive.core.datastore.di.AppSettingsModule.providesAppSettingsManager$datastore_release(AppSettingsModule.kt:24) D/AEE/AED (21301): at com.flixclusive.core.datastore.di.AppSettingsModule_ProvidesAppSettingsManager$datastore_releaseFactory.providesAppSettingsManager$datastore_release(AppSettingsModule_ProvidesAppSettingsManager$datastore_releaseFactory.java:60) D/AEE/AED (21301): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl$SwitchingProvider.get(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1199) I/AEE/AED (21301): Process: com.flixclusive I/AEE/AED (21301): Package: com.flixclusive v20000 (2.0.0) I/AEE/AED (21301): at com.flixclusive.model.datastore.player.CaptionStylePreference.values(CaptionStylePreference.kt) I/AEE/AED (21301): at com.flixclusive.model.datastore.AppSettings.<clinit>(AppSettings.kt:68) I/AEE/AED (21301): at com.flixclusive.core.datastore.AppSettingsManager.<init>(AppSettingsManager.kt:21) I/AEE/AED (21301): at com.flixclusive.core.datastore.di.AppSettingsModule.providesAppSettingsManager$datastore_release(AppSettingsModule.kt:24) I/AEE/AED (21301): at com.flixclusive.core.datastore.di.AppSettingsModule_ProvidesAppSettingsManager$datastore_releaseFactory.providesAppSettingsManager$datastore_release(AppSettingsModule_ProvidesAppSettingsManager$datastore_releaseFactory.java:60) I/AEE/AED (21301): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl$SwitchingProvider.get(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1199) I/AEE/AED (21301): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl$SwitchingProvider.get(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1193) I/AEE/AED (21301): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl.injectFlixclusiveApplication2(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1170) I/AEE/AED (21301): at com.flixclusive.DaggerFlixclusiveApplication_HiltComponents_SingletonC$SingletonCImpl.injectFlixclusiveApplication(DaggerFlixclusiveApplication_HiltComponents_SingletonC.java:1150) I/AEE/AED (21301): at com.flixclusive.Hilt_FlixclusiveApplication.hiltInternalInject(Hilt_FlixclusiveApplication.java:52) I/AEE/AED (21301): at com.flixclusive.Hilt_FlixclusiveApplication.onCreate(Hilt_FlixclusiveApplication.java:43) I/AEE/AED (21301): at com.flixclusive.FlixclusiveApplication.onCreate(FlixclusiveApplication.kt:35)

Flixclusive version

Pre-release 2.0.0

Android version

Android 5.1

Device

DNL-5JA (Geely Car Running GKUI 19 Android 5.1)

Other details

No response

Acknowledgements