emansih / FireflyMobile

Mobile Application for Firefly III written in Kotlin
GNU General Public License v3.0
323 stars 48 forks source link

Crash upon authentication #194

Open gthbusrr opened 2 years ago

gthbusrr commented 2 years ago

Firefly III Server Version: 5.6.10 Firefly III Mobile Version: 5.0.1 Android Version:
11 Device Information:

Steps to Reproduce

Log in with Personal Access Token

REPORT_ID=fa4d8242-b341-4922-9fd5-ff8e87cba667
APP_VERSION_NAME=5.0.1
BRAND=samsung
ANDROID_VERSION=11
BUILD_CONFIG=
STACK_TRACE=java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.remote.firefly.FireflyClient$Companion.getClient, parameter baseUrl
    at xyz.hisname.fireflyiii.data.remote.firefly.FireflyClient$Companion.getClient(Unknown Source:2)
    at xyz.hisname.fireflyiii.repository.BaseViewModel.genericService(BaseViewModel.kt:8)
    at xyz.hisname.fireflyiii.ui.onboarding.AuthActivityViewModel.authViaPat(AuthActivityViewModel.kt:9)
    at xyz.hisname.fireflyiii.ui.onboarding.PatFragment.$r8$lambda$Kru86axVGEFVs5XkG5abLhHW8Zw(PatFragment.kt:12)
    at xyz.hisname.fireflyiii.ui.onboarding.PatFragment$$ExternalSyntheticLambda0.onClick(Unknown Source:8)
    at android.view.View.performClick(View.java:8160)
    at android.widget.TextView.performClick(TextView.java:16222)
    at android.view.View.performClickInternal(View.java:8137)
    at android.view.View.access$3700(View.java:888)
    at android.view.View$PerformClick.run(View.java:30236)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:246)
    at android.app.ActivityThread.main(ActivityThread.java:8633)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)

LOGCAT=--------- beginning of main
01-17 19:20:53.145 D/NativeCustomFrequencyManager( 9573): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
01-17 19:20:53.153 D/InputTransport( 9573): Input channel constructed: '7edcfd4', fd=94
01-17 19:20:53.155 I/ViewRootImpl@3af2d27[HomeActivity]( 9573): setView = com.android.internal.policy.DecorView@f9da571 TM=true
01-17 19:20:53.178 I/SurfaceControl( 9573): assignNativeObject: nativeObject = 0 Surface(name=null)/@0x2f47067 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-17 19:20:53.178 I/ViewRootImpl@3af2d27[HomeActivity]( 9573): Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)0 dur=7 res=0x7 s={true -5476376639914748752} ch=true fn=-1
01-17 19:20:53.181 W/RecyclerView( 9573): No adapter attached; skipping layout
01-17 19:20:53.230 D/OpenGLRenderer( 9573): GPIS:: SetUp Pid : 9573    Tid : 9962
01-17 19:20:53.233 I/ViewRootImpl@3af2d27[HomeActivity]( 9573): stopped(true) old=false
01-17 19:20:53.236 I/SurfaceControl( 9573): nativeRelease nativeObject s[-5476376644209405296]
01-17 19:20:53.236 I/SurfaceControl( 9573): nativeRelease nativeObject e[-5476376644209405296]
01-17 19:20:53.240 I/ViewRootImpl@3af2d27[HomeActivity]( 9573): dispatchDetachedFromWindow
01-17 19:20:53.244 D/InputTransport( 9573): Input channel destroyed: '7edcfd4', fd=94
01-17 19:20:53.268 I/DecorView( 9573): [INFO] isPopOver=false, config=true
01-17 19:20:53.268 I/DecorView( 9573): updateCaptionType >> DecorView@93fb1b3[], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
01-17 19:20:53.268 D/DecorView( 9573): setCaptionType = 0, this = DecorView@93fb1b3[]
01-17 19:20:53.282 I/DecorView( 9573): [INFO] isPopOver=false, config=true
01-17 19:20:53.282 I/DecorView( 9573): updateCaptionType >> DecorView@818632c[], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
01-17 19:20:53.282 D/DecorView( 9573): setCaptionType = 0, this = DecorView@818632c[]
01-17 19:20:53.289 D/NativeCustomFrequencyManager( 9573): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
01-17 19:20:53.291 D/InputTransport( 9573): Input channel constructed: 'ca62165', fd=100
01-17 19:20:53.293 I/ViewRootImpl@adeb745[AuthActivity]( 9573): setView = com.android.internal.policy.DecorView@818632c TM=true
01-17 19:20:53.301 I/SurfaceControl( 9573): assignNativeObject: nativeObject = 0 Surface(name=null)/@0x7fd5cf0 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-17 19:20:53.301 I/ViewRootImpl@adeb745[AuthActivity]( 9573): Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)0 dur=6 res=0x7 s={true -5476376639914661552} ch=true fn=-1
01-17 19:20:53.307 D/OpenGLRenderer( 9573): GPIS:: SetUp Pid : 9573    Tid : 9962
01-17 19:20:53.314 I/ViewRootImpl@adeb745[AuthActivity]( 9573): MSG_WINDOW_FOCUS_CHANGED 1 1
01-17 19:20:53.314 D/InputMethodManager( 9573): prepareNavigationBarInfo() DecorView@818632c[AuthActivity]
01-17 19:20:53.314 D/InputMethodManager( 9573): getNavigationBarColor() -1728053248
01-17 19:20:53.314 D/InputMethodManager( 9573): prepareNavigationBarInfo() DecorView@818632c[AuthActivity]
01-17 19:20:53.314 D/InputMethodManager( 9573): getNavigationBarColor() -1728053248
01-17 19:20:53.315 V/InputMethodManager( 9573): Starting input: tba=xyz.hisname.fireflyiii ic=null mNaviBarColor -1728053248 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
01-17 19:20:53.315 D/InputMethodManager( 9573): startInputInner - Id : 0
01-17 19:20:53.315 I/InputMethodManager( 9573): startInputInner - mService.startInputOrWindowGainedFocus
01-17 19:20:53.331 D/InputTransport( 9573): Input channel constructed: 'ClientS', fd=102
01-17 19:20:53.331 D/InputMethodManager( 9573): prepareNavigationBarInfo() DecorView@818632c[AuthActivity]
01-17 19:20:53.331 D/InputMethodManager( 9573): getNavigationBarColor() -1728053248
01-17 19:20:53.331 V/InputMethodManager( 9573): Starting input: tba=xyz.hisname.fireflyiii ic=null mNaviBarColor -1728053248 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
01-17 19:20:53.331 D/InputMethodManager( 9573): startInputInner - Id : 0
01-17 19:20:53.344 I/SurfaceControl( 9573): nativeRelease nativeObject s[-5476376644209435568]
01-17 19:20:53.344 I/SurfaceControl( 9573): nativeRelease nativeObject e[-5476376644209435568]
01-17 19:20:53.344 I/SurfaceControl( 9573): nativeRelease nativeObject s[-5476376644209434864]
01-17 19:20:53.344 I/SurfaceControl( 9573): nativeRelease nativeObject e[-5476376644209434864]
01-17 19:20:53.916 I/ViewRootImpl@adeb745[AuthActivity]( 9573): ViewPostIme pointer 0
01-17 19:20:53.999 I/ViewRootImpl@adeb745[AuthActivity]( 9573): ViewPostIme pointer 1
01-17 19:20:54.432 I/ViewRootImpl@adeb745[AuthActivity]( 9573): ViewPostIme pointer 0
01-17 19:20:54.482 I/ViewRootImpl@adeb745[AuthActivity]( 9573): ViewPostIme pointer 1
01-17 19:20:54.484 D/InputMethodManager( 9573): prepareNavigationBarInfo() DecorView@818632c[AuthActivity]
01-17 19:20:54.484 D/InputMethodManager( 9573): getNavigationBarColor() -1728053248
01-17 19:20:54.484 V/InputMethodManager( 9573): Starting input: tba=xyz.hisname.fireflyiii ic=androidx.emoji2.viewsintegration.EmojiInputConnection@9aa94e9 mNaviBarColor -1728053248 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
01-17 19:20:54.484 D/InputMethodManager( 9573): startInputInner - Id : 0
01-17 19:20:54.485 D/EmergencyMode( 9573): [EmergencyManager] android createPackageContext successful: xyz.hisname.fireflyiii
01-17 19:20:54.490 I/InputMethodManager( 9573): startInputInner - mService.startInputOrWindowGainedFocus
01-17 19:20:54.493 D/InputTransport( 9573): Input channel constructed: 'ClientS', fd=101
01-17 19:20:54.493 D/InputTransport( 9573): Input channel destroyed: 'ClientS', fd=102
01-17 19:20:54.493 D/InputMethodManager( 9573): SSI - flag : 0 Pid : 9573 view : xyz.hisname.fireflyiii
01-17 19:20:54.493 D/InputMethodManager( 9573): prepareNavigationBarInfo() DecorView@818632c[AuthActivity]
01-17 19:20:54.493 D/InputMethodManager( 9573): getNavigationBarColor() -1728053248
01-17 19:20:54.495 D/Editor  ( 9573): waiting for the right moment
01-17 19:20:54.498 I/AssistStructure( 9573): Flattened final assist data: 3064 bytes, containing 1 windows, 21 views
01-17 19:20:54.553 D/InsetsSourceConsumer( 9573): setRequestedVisible: visible=true, type=13, host=xyz.hisname.fireflyiii/xyz.hisname.fireflyiii.ui.onboarding.AuthActivity, from=android.view.InsetsSourceConsumer.show:229 android.view.InsetsController.showDirectly:1437 android.view.InsetsController.controlAnimationUnchecked:1110 android.view.InsetsController.applyAnimation:1417 android.view.InsetsController.show:962 android.view.ViewRootImpl$ViewRootHandler.handleMessage:6146 android.os.Handler.dispatchMessage:106 android.os.Looper.loop:246 android.app.ActivityThread.main:8633 java.lang.reflect.Method.invoke:-2 
01-17 19:20:54.563 I/ViewRootImpl@adeb745[AuthActivity]( 9573): MSG_RESIZED_REPORT: frame=(0,0,1080,2316) ci=(0,67,0,0) vi=(0,67,0,584) or=1
01-17 19:20:54.571 I/SurfaceControl( 9573): nativeRelease nativeObject s[-5476376644209487840]
01-17 19:20:54.571 I/SurfaceControl( 9573): nativeRelease nativeObject e[-5476376644209487840]
01-17 19:20:54.572 I/SurfaceControl( 9573): nativeRelease nativeObject s[-5476376644209434336]
01-17 19:20:54.572 I/SurfaceControl( 9573): nativeRelease nativeObject e[-5476376644209434336]
01-17 19:20:54.573 I/SurfaceControl( 9573): assignNativeObject: nativeObject = 0 Surface(name=null)/@0x7fd5cf0 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-17 19:20:54.573 I/SurfaceControl( 9573): nativeRelease nativeObject s[-5476376644209390336]
01-17 19:20:54.573 I/SurfaceControl( 9573): nativeRelease nativeObject e[-5476376644209390336]
01-17 19:20:54.573 I/SurfaceControl( 9573): nativeRelease nativeObject s[-5476376644209390160]
01-17 19:20:54.573 I/SurfaceControl( 9573): nativeRelease nativeObject e[-5476376644209390160]
01-17 19:20:54.573 I/SurfaceControl( 9573): nativeRelease nativeObject s[-5476376644209391920]
01-17 19:20:54.573 I/SurfaceControl( 9573): nativeRelease nativeObject e[-5476376644209391920]
01-17 19:20:54.573 I/ViewRootImpl@adeb745[AuthActivity]( 9573): Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)0 dur=3 res=0x1 s={true -5476376639914661552} ch=false fn=32
01-17 19:20:54.975 W/System  ( 9573): A resource failed to call release. 
01-17 19:20:54.975 I/SurfaceControl( 9573): nativeRelease nativeObject s[-5476376644209405120]
01-17 19:20:54.975 I/SurfaceControl( 9573): nativeRelease nativeObject e[-5476376644209405120]
01-17 19:20:54.976 W/System  ( 9573): A resource failed to call release. 
01-17 19:20:54.976 I/SurfaceControl( 9573): nativeRelease nativeObject s[-5476376644209378896]
01-17 19:20:54.976 I/SurfaceControl( 9573): nativeRelease nativeObject e[-5476376644209378896]
01-17 19:20:55.998 I/ViewRootImpl@adeb745[AuthActivity]( 9573): ViewPostIme pointer 0
01-17 19:20:56.062 I/ViewRootImpl@adeb745[AuthActivity]( 9573): ViewPostIme pointer 1
01-17 19:20:56.065 D/InputMethodManager( 9573): prepareNavigationBarInfo() DecorView@818632c[AuthActivity]
01-17 19:20:56.065 D/InputMethodManager( 9573): getNavigationBarColor() -1728053248
01-17 19:20:56.065 V/InputMethodManager( 9573): Starting input: tba=xyz.hisname.fireflyiii ic=androidx.emoji2.viewsintegration.EmojiInputConnection@9958a59 mNaviBarColor -1728053248 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
01-17 19:20:56.065 D/InputMethodManager( 9573): startInputInner - Id : 0
01-17 19:20:56.068 I/InputMethodManager( 9573): startInputInner - mService.startInputOrWindowGainedFocus
01-17 19:20:56.070 D/InputTransport( 9573): Input channel constructed: 'ClientS', fd=104
01-17 19:20:56.071 D/InputTransport( 9573): Input channel destroyed: 'ClientS', fd=101
01-17 19:20:56.071 D/InputMethodManager( 9573): SSI - flag : 0 Pid : 9573 view : xyz.hisname.fireflyiii
01-17 19:20:56.071 D/InputMethodManager( 9573): prepareNavigationBarInfo() DecorView@818632c[AuthActivity]
01-17 19:20:56.071 D/InputMethodManager( 9573): getNavigationBarColor() -1728053248
01-17 19:20:56.072 D/Editor  ( 9573): waiting for the right moment
01-17 19:20:56.077 I/AssistStructure( 9573): Flattened final assist data: 5032 bytes, containing 1 windows, 21 views
01-17 19:20:57.643 I/ViewRootImpl@adeb745[AuthActivity]( 9573): ViewPostIme pointer 0
01-17 19:20:57.718 I/ViewRootImpl@adeb745[AuthActivity]( 9573): ViewPostIme pointer 1
01-17 19:20:57.719 D/InsetsSourceConsumer( 9573): setRequestedVisible: visible=false, type=13, host=xyz.hisname.fireflyiii/xyz.hisname.fireflyiii.ui.onboarding.AuthActivity, from=android.view.InsetsSourceConsumer.hide:236 android.view.ImeInsetsSourceConsumer.hide:101 android.view.InsetsController.hideDirectly:1430 android.view.InsetsController.controlAnimationUnchecked:1112 android.view.InsetsController.applyAnimation:1417 android.view.InsetsController.hide:984 android.view.InsetsController.hide:967 androidx.core.view.WindowInsetsControllerCompat$Impl30.hide:1 androidx.core.view.WindowInsetsControllerCompat.hide:1 xyz.hisname.fireflyiii.util.extension.ViewExtensionKt.hideKeyboard:2 
01-17 19:20:57.733 I/SurfaceControl( 9573): nativeRelease nativeObject s[-5476376644209357424]
01-17 19:20:57.733 I/SurfaceControl( 9573): nativeRelease nativeObject e[-5476376644209357424]
01-17 19:20:57.787 D/AndroidRuntime( 9573): Shutting down VM
--------- beginning of crash
01-17 19:20:57.787 E/AndroidRuntime( 9573): FATAL EXCEPTION: main
01-17 19:20:57.787 E/AndroidRuntime( 9573): Process: xyz.hisname.fireflyiii, PID: 9573
01-17 19:20:57.787 E/AndroidRuntime( 9573): java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.remote.firefly.FireflyClient$Companion.getClient, parameter baseUrl
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at xyz.hisname.fireflyiii.data.remote.firefly.FireflyClient$Companion.getClient(Unknown Source:2)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at xyz.hisname.fireflyiii.repository.BaseViewModel.genericService(BaseViewModel.kt:8)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at xyz.hisname.fireflyiii.ui.onboarding.AuthActivityViewModel.authViaPat(AuthActivityViewModel.kt:9)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at xyz.hisname.fireflyiii.ui.onboarding.PatFragment.$r8$lambda$Kru86axVGEFVs5XkG5abLhHW8Zw(PatFragment.kt:12)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at xyz.hisname.fireflyiii.ui.onboarding.PatFragment$$ExternalSyntheticLambda0.onClick(Unknown Source:8)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at android.view.View.performClick(View.java:8160)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at android.widget.TextView.performClick(TextView.java:16222)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at android.view.View.performClickInternal(View.java:8137)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at android.view.View.access$3700(View.java:888)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at android.view.View$PerformClick.run(View.java:30236)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at android.os.Handler.handleCallback(Handler.java:938)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at android.os.Handler.dispatchMessage(Handler.java:99)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at android.os.Looper.loop(Looper.java:246)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at android.app.ActivityThread.main(ActivityThread.java:8633)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at java.lang.reflect.Method.invoke(Native Method)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
01-17 19:20:57.787 E/AndroidRuntime( 9573):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
01-17 19:20:57.787 E/ACRA    ( 9573): ACRA caught a NullPointerException for xyz.hisname.fireflyiii
01-17 19:20:57.787 E/ACRA    ( 9573): java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.remote.firefly.FireflyClient$Companion.getClient, parameter baseUrl
01-17 19:20:57.787 E/ACRA    ( 9573):   at xyz.hisname.fireflyiii.data.remote.firefly.FireflyClient$Companion.getClient(Unknown Source:2)
01-17 19:20:57.787 E/ACRA    ( 9573):   at xyz.hisname.fireflyiii.repository.BaseViewModel.genericService(BaseViewModel.kt:8)
01-17 19:20:57.787 E/ACRA    ( 9573):   at xyz.hisname.fireflyiii.ui.onboarding.AuthActivityViewModel.authViaPat(AuthActivityViewModel.kt:9)
01-17 19:20:57.787 E/ACRA    ( 9573):   at xyz.hisname.fireflyiii.ui.onboarding.PatFragment.$r8$lambda$Kru86axVGEFVs5XkG5abLhHW8Zw(PatFragment.kt:12)
01-17 19:20:57.787 E/ACRA    ( 9573):   at xyz.hisname.fireflyiii.ui.onboarding.PatFragment$$ExternalSyntheticLambda0.onClick(Unknown Source:8)
01-17 19:20:57.787 E/ACRA    ( 9573):   at android.view.View.performClick(View.java:8160)
01-17 19:20:57.787 E/ACRA    ( 9573):   at android.widget.TextView.performClick(TextView.java:16222)
01-17 19:20:57.787 E/ACRA    ( 9573):   at android.view.View.performClickInternal(View.java:8137)
01-17 19:20:57.787 E/ACRA    ( 9573):   at android.view.View.access$3700(View.java:888)
01-17 19:20:57.787 E/ACRA    ( 9573):   at android.view.View$PerformClick.run(View.java:30236)
01-17 19:20:57.787 E/ACRA    ( 9573):   at android.os.Handler.handleCallback(Handler.java:938)
01-17 19:20:57.787 E/ACRA    ( 9573):   at android.os.Handler.dispatchMessage(Handler.java:99)
01-17 19:20:57.787 E/ACRA    ( 9573):   at android.os.Looper.loop(Looper.java:246)
01-17 19:20:57.787 E/ACRA    ( 9573):   at android.app.ActivityThread.main(ActivityThread.java:8633)
01-17 19:20:57.787 E/ACRA    ( 9573):   at java.lang.reflect.Method.invoke(Native Method)
01-17 19:20:57.787 E/ACRA    ( 9573):   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
01-17 19:20:57.787 E/ACRA    ( 9573):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)

IS_SILENT=false
USER_CRASH_DATE=2022-01-17T19:20:57.798-05:00
gthbusrr commented 2 years ago

Uninstalled and installed 5.0.3 (not F-Droid signed version)

REPORT_ID=40aa2ece-eb8e-4b9f-b1e9-60a1fc09db8f
APP_VERSION_NAME=5.0.3
BRAND=samsung
ANDROID_VERSION=11
BUILD_CONFIG=
STACK_TRACE=java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel
    at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
    at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
    at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
    at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getImprovedViewModel$default(LiveDataExtension.kt:2)
    at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment$dashboardView$2.invoke(DashboardFragment.kt:1)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
    at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.getDashboardView(DashboardFragment.kt:1)
    at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.onViewCreated(DashboardFragment.kt:1)
    at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:29)
    at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:22)
    at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:120)
    at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:9)
    at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:12)
    at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:1)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:246)
    at android.app.ActivityThread.main(ActivityThread.java:8633)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Caused by: java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Constructor.newInstance0(Native Method)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
    at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
    ... 20 more
Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance, parameter randomHash
    at xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance(Unknown Source:7)
    at xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel.<init>(DashboardViewModel.kt:3)
    ... 23 more

LOGCAT=--------- beginning of main
01-17 19:34:14.944 V/InputMethodManager(15185): Starting input: tba=xyz.hisname.fireflyiii ic=androidx.emoji2.viewsintegration.EmojiInputConnection@82395c2 mNaviBarColor -1728053248 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
01-17 19:34:14.944 D/InputMethodManager(15185): startInputInner - Id : 0
01-17 19:34:14.946 I/InputMethodManager(15185): startInputInner - mService.startInputOrWindowGainedFocus
01-17 19:34:14.948 D/InputTransport(15185): Input channel constructed: 'ClientS', fd=91
01-17 19:34:14.948 D/InputTransport(15185): Input channel destroyed: 'ClientS', fd=93
01-17 19:34:14.948 D/InputMethodManager(15185): SSI - flag : 0 Pid : 15185 view : xyz.hisname.fireflyiii
01-17 19:34:14.948 D/InputMethodManager(15185): prepareNavigationBarInfo() DecorView@6c8eea4[AuthActivity]
01-17 19:34:14.948 D/InputMethodManager(15185): getNavigationBarColor() -1728053248
01-17 19:34:14.948 D/Editor  (15185): waiting for the right moment
01-17 19:34:16.664 I/ViewRootImpl@b6ce488[AuthActivity](15185): ViewPostIme pointer 0
01-17 19:34:16.705 I/ViewRootImpl@b6ce488[AuthActivity](15185): ViewPostIme pointer 1
01-17 19:34:16.706 D/InsetsSourceConsumer(15185): setRequestedVisible: visible=false, type=13, host=xyz.hisname.fireflyiii/xyz.hisname.fireflyiii.ui.onboarding.AuthActivity, from=android.view.InsetsSourceConsumer.hide:236 android.view.ImeInsetsSourceConsumer.hide:101 android.view.InsetsController.hideDirectly:1430 android.view.InsetsController.controlAnimationUnchecked:1112 android.view.InsetsController.applyAnimation:1417 android.view.InsetsController.hide:984 android.view.InsetsController.hide:967 androidx.core.view.WindowInsetsControllerCompat$Impl30.hide:1 androidx.core.view.WindowInsetsControllerCompat.hide:1 xyz.hisname.fireflyiii.util.extension.ViewExtensionKt.hideKeyboard:2 
01-17 19:34:16.720 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209316416]
01-17 19:34:16.720 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209316416]
01-17 19:34:17.030 D/TcpOptimizer(15185): TcpOptimizer-ON
01-17 19:34:17.898 D/CompatibilityChangeReporter(15185): Compat change id reported: 147798919; UID 10392; state: ENABLED
01-17 19:34:17.905 D/Toast   (15185): show: caller = xyz.hisname.fireflyiii.util.extension.ToastExtensionKt.toastSuccess:5 
01-17 19:34:17.905 I/Toast   (15185): show: focusDisplayId = 0, isFocusInDesktop = false mCustomDisplayId=-1 isDexDualMode=false
01-17 19:34:17.905 I/Toast   (15185): show: isActivityContext = true
01-17 19:34:17.921 D/NativeCustomFrequencyManager(15185): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
01-17 19:34:17.925 D/InputTransport(15185): Input channel constructed: '36723c7', fd=110
01-17 19:34:17.929 I/ViewRootImpl@ee4358b[Toast](15185): setView = android.widget.LinearLayout@3fd5668 TM=true
01-17 19:34:17.948 I/SurfaceControl(15185): assignNativeObject: nativeObject = 0 Surface(name=null)/@0x6ac2e58 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-17 19:34:17.948 I/ViewRootImpl@ee4358b[Toast](15185): Relayout returned: old=(0,67,1080,2316) new=(420,2116,660,2200) req=(240,84)0 dur=6 res=0x7 s={true -5476376639914644112} ch=true fn=-1
01-17 19:34:17.960 D/OpenGLRenderer(15185): GPIS:: SetUp Pid : 15185    Tid : 15994
01-17 19:34:18.122 I/DecorView(15185): [INFO] isPopOver=false, config=true
01-17 19:34:18.122 I/DecorView(15185): updateCaptionType >> DecorView@db2351c[], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
01-17 19:34:18.122 D/DecorView(15185): setCaptionType = 0, this = DecorView@db2351c[]
01-17 19:34:18.211 D/NativeCustomFrequencyManager(15185): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
01-17 19:34:18.215 D/InputTransport(15185): Input channel constructed: 'ed52599', fd=124
01-17 19:34:18.216 I/ViewRootImpl@c669c24[HomeActivity](15185): setView = com.android.internal.policy.DecorView@db2351c TM=true
01-17 19:34:18.239 I/SurfaceControl(15185): assignNativeObject: nativeObject = 0 Surface(name=null)/@0x3050707 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-17 19:34:18.239 I/ViewRootImpl@c669c24[HomeActivity](15185): Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)0 dur=8 res=0x7 s={true -5476376639914181952} ch=true fn=-1
01-17 19:34:18.246 W/RecyclerView(15185): No adapter attached; skipping layout
01-17 19:34:18.308 D/OpenGLRenderer(15185): GPIS:: SetUp Pid : 15185    Tid : 15994
01-17 19:34:18.319 I/ViewRootImpl@b6ce488[AuthActivity](15185): MSG_WINDOW_FOCUS_CHANGED 0 1
01-17 19:34:18.336 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209231584]
01-17 19:34:18.336 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209231584]
01-17 19:34:18.336 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209212224]
01-17 19:34:18.336 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209212224]
01-17 19:34:18.336 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209210112]
01-17 19:34:18.336 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209210112]
01-17 19:34:18.352 I/ViewRootImpl@c669c24[HomeActivity](15185): MSG_WINDOW_FOCUS_CHANGED 1 1
01-17 19:34:18.352 D/InputMethodManager(15185): prepareNavigationBarInfo() DecorView@db2351c[HomeActivity]
01-17 19:34:18.352 D/InputMethodManager(15185): getNavigationBarColor() -12808772
01-17 19:34:18.354 D/InputMethodManager(15185): prepareNavigationBarInfo() DecorView@db2351c[HomeActivity]
01-17 19:34:18.354 D/InputMethodManager(15185): getNavigationBarColor() -12808772
01-17 19:34:18.354 V/InputMethodManager(15185): Starting input: tba=xyz.hisname.fireflyiii ic=null mNaviBarColor -12808772 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
01-17 19:34:18.354 D/InputMethodManager(15185): startInputInner - Id : 0
01-17 19:34:18.354 I/InputMethodManager(15185): startInputInner - mService.startInputOrWindowGainedFocus
01-17 19:34:18.355 D/InputTransport(15185): Input channel constructed: 'ClientS', fd=123
01-17 19:34:18.355 D/InputTransport(15185): Input channel destroyed: 'ClientS', fd=91
01-17 19:34:18.363 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209346864]
01-17 19:34:18.363 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209346864]
01-17 19:34:18.364 I/SurfaceControl(15185): assignNativeObject: nativeObject = 0 Surface(name=null)/@0x3050707 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-17 19:34:18.364 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209354080]
01-17 19:34:18.364 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209354080]
01-17 19:34:18.364 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209348624]
01-17 19:34:18.365 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209348624]
01-17 19:34:18.365 I/ViewRootImpl@c669c24[HomeActivity](15185): Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)0 dur=4 res=0x1 s={true -5476376639914181952} ch=false fn=4
01-17 19:34:18.385 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209210464]
01-17 19:34:18.385 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209210464]
01-17 19:34:18.385 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209052064]
01-17 19:34:18.385 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209052064]
01-17 19:34:18.385 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209178784]
01-17 19:34:18.385 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209178784]
01-17 19:34:18.385 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209346864]
01-17 19:34:18.385 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209346864]
01-17 19:34:18.578 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209218736]
01-17 19:34:18.578 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209218736]
01-17 19:34:18.578 I/SurfaceControl(15185): assignNativeObject: nativeObject = 0 Surface(name=null)/@0xcd7392d / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1826 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-17 19:34:18.579 I/SurfaceControl(15185): assignNativeObject: nativeObject = 0 Surface(name=null)/@0xfba60ce / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-17 19:34:18.579 I/ViewRootImpl@b6ce488[AuthActivity](15185): Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)8 dur=4 res=0x5 s={false 0} ch=true fn=191
01-17 19:34:18.580 I/ViewRootImpl@b6ce488[AuthActivity](15185): stopped(true) old=false
01-17 19:34:18.584 I/ViewRootImpl@b6ce488[AuthActivity](15185): dispatchDetachedFromWindow
01-17 19:34:18.587 D/InputTransport(15185): Input channel destroyed: '93c0923', fd=86
01-17 19:34:19.938 E/SurfaceFlinger(15185): resetPartialBlurMask failed to transact: -1
01-17 19:34:19.938 I/ViewRootImpl@ee4358b[Toast](15185): dispatchDetachedFromWindow
01-17 19:34:19.938 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209125280]
01-17 19:34:19.938 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209125280]
01-17 19:34:19.940 D/InputTransport(15185): Input channel destroyed: '36723c7', fd=110
01-17 19:34:19.940 I/ViewRootImpl@c669c24[HomeActivity](15185): ViewPostIme pointer 0
01-17 19:34:19.976 I/ViewRootImpl@c669c24[HomeActivity](15185): ViewPostIme pointer 1
01-17 19:34:21.244 I/ViewRootImpl@c669c24[HomeActivity](15185): ViewPostIme pointer 0
01-17 19:34:21.279 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209074944]
01-17 19:34:21.279 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209074944]
01-17 19:34:21.281 I/SurfaceControl(15185): assignNativeObject: nativeObject = 0 Surface(name=null)/@0x3050707 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-17 19:34:21.282 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209103632]
01-17 19:34:21.282 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209103632]
01-17 19:34:21.282 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209116304]
01-17 19:34:21.282 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209116304]
01-17 19:34:21.282 I/SurfaceControl(15185): nativeRelease nativeObject s[-5476376644209096768]
01-17 19:34:21.282 I/SurfaceControl(15185): nativeRelease nativeObject e[-5476376644209096768]
01-17 19:34:21.282 I/ViewRootImpl@c669c24[HomeActivity](15185): Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)0 dur=8 res=0x1 s={true -5476376639914181952} ch=false fn=203
01-17 19:34:21.366 I/ViewRootImpl@c669c24[HomeActivity](15185): ViewPostIme pointer 1
01-17 19:34:22.999 I/ViewRootImpl@c669c24[HomeActivity](15185): ViewPostIme pointer 0
01-17 19:34:23.048 I/ViewRootImpl@c669c24[HomeActivity](15185): ViewPostIme pointer 1
01-17 19:34:23.101 D/AndroidRuntime(15185): Shutting down VM
--------- beginning of crash
01-17 19:34:23.101 E/AndroidRuntime(15185): FATAL EXCEPTION: main
01-17 19:34:23.101 E/AndroidRuntime(15185): Process: xyz.hisname.fireflyiii, PID: 15185
01-17 19:34:23.101 E/AndroidRuntime(15185): java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel
01-17 19:34:23.101 E/AndroidRuntime(15185):     at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getImprovedViewModel$default(LiveDataExtension.kt:2)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment$dashboardView$2.invoke(DashboardFragment.kt:1)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.getDashboardView(DashboardFragment.kt:1)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.onViewCreated(DashboardFragment.kt:1)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:29)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:22)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:120)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:9)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:12)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:1)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at android.os.Handler.handleCallback(Handler.java:938)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at android.os.Handler.dispatchMessage(Handler.java:99)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at android.os.Looper.loop(Looper.java:246)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at android.app.ActivityThread.main(ActivityThread.java:8633)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at java.lang.reflect.Method.invoke(Native Method)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
01-17 19:34:23.101 E/AndroidRuntime(15185): Caused by: java.lang.reflect.InvocationTargetException
01-17 19:34:23.101 E/AndroidRuntime(15185):     at java.lang.reflect.Constructor.newInstance0(Native Method)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-17 19:34:23.101 E/AndroidRuntime(15185):     ... 20 more
01-17 19:34:23.101 E/AndroidRuntime(15185): Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance, parameter randomHash
01-17 19:34:23.101 E/AndroidRuntime(15185):     at xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance(Unknown Source:7)
01-17 19:34:23.101 E/AndroidRuntime(15185):     at xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel.<init>(DashboardViewModel.kt:3)
01-17 19:34:23.101 E/AndroidRuntime(15185):     ... 23 more
01-17 19:34:23.102 E/ACRA    (15185): ACRA caught a RuntimeException for xyz.hisname.fireflyiii
01-17 19:34:23.102 E/ACRA    (15185): java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel
01-17 19:34:23.102 E/ACRA    (15185):   at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-17 19:34:23.102 E/ACRA    (15185):   at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-17 19:34:23.102 E/ACRA    (15185):   at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-17 19:34:23.102 E/ACRA    (15185):   at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getImprovedViewModel$default(LiveDataExtension.kt:2)
01-17 19:34:23.102 E/ACRA    (15185):   at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment$dashboardView$2.invoke(DashboardFragment.kt:1)
01-17 19:34:23.102 E/ACRA    (15185):   at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-17 19:34:23.102 E/ACRA    (15185):   at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.getDashboardView(DashboardFragment.kt:1)
01-17 19:34:23.102 E/ACRA    (15185):   at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.onViewCreated(DashboardFragment.kt:1)
01-17 19:34:23.102 E/ACRA    (15185):   at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:29)
01-17 19:34:23.102 E/ACRA    (15185):   at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:22)
01-17 19:34:23.102 E/ACRA    (15185):   at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:120)
01-17 19:34:23.102 E/ACRA    (15185):   at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:9)
01-17 19:34:23.102 E/ACRA    (15185):   at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:12)
01-17 19:34:23.102 E/ACRA    (15185):   at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:1)
01-17 19:34:23.102 E/ACRA    (15185):   at android.os.Handler.handleCallback(Handler.java:938)
01-17 19:34:23.102 E/ACRA    (15185):   at android.os.Handler.dispatchMessage(Handler.java:99)
01-17 19:34:23.102 E/ACRA    (15185):   at android.os.Looper.loop(Looper.java:246)
01-17 19:34:23.102 E/ACRA    (15185):   at android.app.ActivityThread.main(ActivityThread.java:8633)
01-17 19:34:23.102 E/ACRA    (15185):   at java.lang.reflect.Method.invoke(Native Method)
01-17 19:34:23.102 E/ACRA    (15185):   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
01-17 19:34:23.102 E/ACRA    (15185):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
01-17 19:34:23.102 E/ACRA    (15185): Caused by: java.lang.reflect.InvocationTargetException
01-17 19:34:23.102 E/ACRA    (15185):   at java.lang.reflect.Constructor.newInstance0(Native Method)
01-17 19:34:23.102 E/ACRA    (15185):   at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-17 19:34:23.102 E/ACRA    (15185):   at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-17 19:34:23.102 E/ACRA    (15185):   ... 20 more
01-17 19:34:23.102 E/ACRA    (15185): Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance, parameter randomHash
01-17 19:34:23.102 E/ACRA    (15185):   at xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance(Unknown Source:7)
01-17 19:34:23.102 E/ACRA    (15185):   at xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel.<init>(DashboardViewModel.kt:3)
01-17 19:34:23.102 E/ACRA    (15185):   ... 23 more

USER_CRASH_DATE=2022-01-17T19:34:23.103-05:00
IS_SILENT=false
emansih commented 2 years ago

Yes. I have received multiple reports of this issue but I am not able to replicate it. #193 #192

I have attached a apk, please install and try it https://drive.google.com/file/d/1i84Z_P1d8W9WnjOF0IilRHx_2M1pP5yt/view?usp=sharing

emansih commented 2 years ago

the previous 2 bug reporters have not gotten back to me. please do get back to me @gthbusrr

gregistech commented 2 years ago

5.0.1 (F-droid) was crashing for me, this build works.

emansih commented 2 years ago

Thanks. @thegergo02 Does the google drive build works for everything? Viewing budget, bills, transactions, currencies, etc?

gthbusrr commented 2 years ago

Hi @emansih , I have the same behaviour but different error with the APK you provided.

REPORT_ID=a3a238dc-3e3b-454c-a27d-ed076e8389f7
APP_VERSION_NAME=5.0.3
BRAND=samsung
ANDROID_VERSION=11
BUILD_CONFIG=
STACK_TRACE=java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel
    at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
    at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
    at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
    at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getImprovedViewModel$default(LiveDataExtension.kt:2)
    at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment$dashboardView$2.invoke(DashboardFragment.kt:1)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
    at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.getDashboardView(DashboardFragment.kt:1)
    at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.onViewCreated(DashboardFragment.kt:1)
    at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:29)
    at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:22)
    at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:120)
    at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:9)
    at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:12)
    at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:1)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:246)
    at android.app.ActivityThread.main(ActivityThread.java:8633)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Caused by: java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Constructor.newInstance0(Native Method)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
    at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
    ... 20 more
Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance, parameter randomHash
    at xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance(Unknown Source:7)
    at xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel.<init>(DashboardViewModel.kt:3)
    ... 23 more

LOGCAT=--------- beginning of main
01-18 13:21:11.910 D/InputMethodManager( 4112): getNavigationBarColor() -1728053248
01-18 13:21:11.911 V/InputMethodManager( 4112): Starting input: tba=xyz.hisname.fireflyiii ic=androidx.emoji2.viewsintegration.EmojiInputConnection@95f4ad6 mNaviBarColor -1728053248 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
01-18 13:21:11.911 D/InputMethodManager( 4112): startInputInner - Id : 0
01-18 13:21:11.915 I/InputMethodManager( 4112): startInputInner - mService.startInputOrWindowGainedFocus
01-18 13:21:11.917 D/InputTransport( 4112): Input channel constructed: 'ClientS', fd=93
01-18 13:21:11.917 D/InputTransport( 4112): Input channel destroyed: 'ClientS', fd=90
01-18 13:21:11.917 D/InputMethodManager( 4112): SSI - flag : 0 Pid : 4112 view : xyz.hisname.fireflyiii
01-18 13:21:11.917 D/InputMethodManager( 4112): prepareNavigationBarInfo() DecorView@598f60e[AuthActivity]
01-18 13:21:11.917 D/InputMethodManager( 4112): getNavigationBarColor() -1728053248
01-18 13:21:11.917 D/Editor  ( 4112): waiting for the right moment
01-18 13:21:11.921 I/AssistStructure( 4112): Flattened final assist data: 5032 bytes, containing 1 windows, 21 views
01-18 13:21:14.102 I/ViewRootImpl@d939cd2[AuthActivity]( 4112): ViewPostIme pointer 0
01-18 13:21:14.150 I/ViewRootImpl@d939cd2[AuthActivity]( 4112): ViewPostIme pointer 1
01-18 13:21:14.152 D/InsetsSourceConsumer( 4112): setRequestedVisible: visible=false, type=13, host=xyz.hisname.fireflyiii/xyz.hisname.fireflyiii.ui.onboarding.AuthActivity, from=android.view.InsetsSourceConsumer.hide:236 android.view.ImeInsetsSourceConsumer.hide:101 android.view.InsetsController.hideDirectly:1430 android.view.InsetsController.controlAnimationUnchecked:1112 android.view.InsetsController.applyAnimation:1417 android.view.InsetsController.hide:984 android.view.InsetsController.hide:967 androidx.core.view.WindowInsetsControllerCompat$Impl30.hide:1 androidx.core.view.WindowInsetsControllerCompat.hide:1 xyz.hisname.fireflyiii.util.extension.ViewExtensionKt.hideKeyboard:2 
01-18 13:21:14.166 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209238272]
01-18 13:21:14.166 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209238272]
01-18 13:21:14.262 D/TcpOptimizer( 4112): TcpOptimizer-ON
01-18 13:21:15.178 D/CompatibilityChangeReporter( 4112): Compat change id reported: 147798919; UID 10392; state: ENABLED
01-18 13:21:15.183 D/Toast   ( 4112): show: caller = xyz.hisname.fireflyiii.util.extension.ToastExtensionKt.toastSuccess:5 
01-18 13:21:15.183 I/Toast   ( 4112): show: focusDisplayId = 0, isFocusInDesktop = false mCustomDisplayId=-1 isDexDualMode=false
01-18 13:21:15.183 I/Toast   ( 4112): show: isActivityContext = true
01-18 13:21:15.191 D/NativeCustomFrequencyManager( 4112): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
01-18 13:21:15.194 D/InputTransport( 4112): Input channel constructed: 'cf46946', fd=111
01-18 13:21:15.196 I/ViewRootImpl@2171aa2[Toast]( 4112): setView = android.widget.LinearLayout@93fe333 TM=true
01-18 13:21:15.210 I/SurfaceControl( 4112): assignNativeObject: nativeObject = 0 Surface(name=null)/@0xc847799 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-18 13:21:15.211 I/ViewRootImpl@2171aa2[Toast]( 4112): Relayout returned: old=(0,67,1080,2316) new=(420,2116,660,2200) req=(240,84)0 dur=5 res=0x7 s={true -5476376639914757472} ch=true fn=-1
01-18 13:21:15.222 D/OpenGLRenderer( 4112): GPIS:: SetUp Pid : 4112    Tid : 5706
01-18 13:21:15.423 I/DecorView( 4112): [INFO] isPopOver=false, config=true
01-18 13:21:15.423 I/DecorView( 4112): updateCaptionType >> DecorView@ed85924[], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
01-18 13:21:15.423 D/DecorView( 4112): setCaptionType = 0, this = DecorView@ed85924[]
01-18 13:21:15.498 D/NativeCustomFrequencyManager( 4112): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
01-18 13:21:15.501 D/InputTransport( 4112): Input channel constructed: '29c730f', fd=123
01-18 13:21:15.504 I/ViewRootImpl@3ec2adf[HomeActivity]( 4112): setView = com.android.internal.policy.DecorView@ed85924 TM=true
01-18 13:21:15.521 I/SurfaceControl( 4112): assignNativeObject: nativeObject = 0 Surface(name=null)/@0xc33cd0e / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-18 13:21:15.521 I/ViewRootImpl@3ec2adf[HomeActivity]( 4112): Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)0 dur=6 res=0x7 s={true -5476376639914766192} ch=true fn=-1
01-18 13:21:15.524 W/RecyclerView( 4112): No adapter attached; skipping layout
01-18 13:21:15.570 D/OpenGLRenderer( 4112): GPIS:: SetUp Pid : 4112    Tid : 5706
01-18 13:21:15.578 I/ViewRootImpl@d939cd2[AuthActivity]( 4112): MSG_WINDOW_FOCUS_CHANGED 0 1
01-18 13:21:15.590 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209175264]
01-18 13:21:15.590 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209175264]
01-18 13:21:15.590 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209107504]
01-18 13:21:15.590 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209107504]
01-18 13:21:15.590 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209215568]
01-18 13:21:15.590 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209215568]
01-18 13:21:15.594 I/ViewRootImpl@3ec2adf[HomeActivity]( 4112): MSG_WINDOW_FOCUS_CHANGED 1 1
01-18 13:21:15.594 D/InputMethodManager( 4112): prepareNavigationBarInfo() DecorView@ed85924[HomeActivity]
01-18 13:21:15.594 D/InputMethodManager( 4112): getNavigationBarColor() -12808772
01-18 13:21:15.596 D/InputMethodManager( 4112): prepareNavigationBarInfo() DecorView@ed85924[HomeActivity]
01-18 13:21:15.596 D/InputMethodManager( 4112): getNavigationBarColor() -12808772
01-18 13:21:15.596 V/InputMethodManager( 4112): Starting input: tba=xyz.hisname.fireflyiii ic=null mNaviBarColor -12808772 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
01-18 13:21:15.596 D/InputMethodManager( 4112): startInputInner - Id : 0
01-18 13:21:15.596 I/InputMethodManager( 4112): startInputInner - mService.startInputOrWindowGainedFocus
01-18 13:21:15.597 D/InputTransport( 4112): Input channel constructed: 'ClientS', fd=124
01-18 13:21:15.597 D/InputTransport( 4112): Input channel destroyed: 'ClientS', fd=93
01-18 13:21:15.617 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209106272]
01-18 13:21:15.617 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209106272]
01-18 13:21:15.617 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209081808]
01-18 13:21:15.617 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209081808]
01-18 13:21:15.617 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209326272]
01-18 13:21:15.617 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209326272]
01-18 13:21:15.632 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209099936]
01-18 13:21:15.632 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209099936]
01-18 13:21:15.633 I/SurfaceControl( 4112): assignNativeObject: nativeObject = 0 Surface(name=null)/@0xc33cd0e / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-18 13:21:15.633 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209090080]
01-18 13:21:15.633 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209090080]
01-18 13:21:15.633 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209102400]
01-18 13:21:15.633 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209102400]
01-18 13:21:15.633 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209162592]
01-18 13:21:15.633 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209162592]
01-18 13:21:15.633 I/ViewRootImpl@3ec2adf[HomeActivity]( 4112): Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)0 dur=4 res=0x1 s={true -5476376639914766192} ch=false fn=5
01-18 13:21:15.848 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209120528]
01-18 13:21:15.848 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209120528]
01-18 13:21:15.848 I/SurfaceControl( 4112): assignNativeObject: nativeObject = 0 Surface(name=null)/@0x67d5399 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1826 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-18 13:21:15.848 I/SurfaceControl( 4112): assignNativeObject: nativeObject = 0 Surface(name=null)/@0x5546e8 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-18 13:21:15.848 I/ViewRootImpl@d939cd2[AuthActivity]( 4112): Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)8 dur=3 res=0x5 s={false 0} ch=true fn=210
01-18 13:21:15.849 I/ViewRootImpl@d939cd2[AuthActivity]( 4112): stopped(true) old=false
01-18 13:21:15.853 I/ViewRootImpl@d939cd2[AuthActivity]( 4112): dispatchDetachedFromWindow
01-18 13:21:15.856 D/InputTransport( 4112): Input channel destroyed: '960be0 ', fd=84
01-18 13:21:17.208 E/SurfaceFlinger( 4112): resetPartialBlurMask failed to transact: -1
01-18 13:21:17.208 I/ViewRootImpl@2171aa2[Toast]( 4112): dispatchDetachedFromWindow
01-18 13:21:17.208 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209146752]
01-18 13:21:17.208 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209146752]
01-18 13:21:17.212 D/InputTransport( 4112): Input channel destroyed: 'cf46946', fd=111
01-18 13:21:50.934 I/ViewRootImpl@3ec2adf[HomeActivity]( 4112): ViewPostIme pointer 0
01-18 13:21:50.992 I/ViewRootImpl@3ec2adf[HomeActivity]( 4112): ViewPostIme pointer 1
01-18 13:21:51.022 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209106272]
01-18 13:21:51.023 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209106272]
01-18 13:21:51.023 I/SurfaceControl( 4112): assignNativeObject: nativeObject = 0 Surface(name=null)/@0xc33cd0e / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1836 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 
01-18 13:21:51.024 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209174032]
01-18 13:21:51.024 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209174032]
01-18 13:21:51.024 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209064736]
01-18 13:21:51.024 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209064736]
01-18 13:21:51.024 I/SurfaceControl( 4112): nativeRelease nativeObject s[-5476376644209099936]
01-18 13:21:51.024 I/SurfaceControl( 4112): nativeRelease nativeObject e[-5476376644209099936]
01-18 13:21:51.024 I/ViewRootImpl@3ec2adf[HomeActivity]( 4112): Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)0 dur=4 res=0x1 s={true -5476376639914766192} ch=false fn=82
01-18 13:21:51.573 I/ViewRootImpl@3ec2adf[HomeActivity]( 4112): ViewPostIme pointer 0
01-18 13:21:51.630 I/ViewRootImpl@3ec2adf[HomeActivity]( 4112): ViewPostIme pointer 1
01-18 13:21:51.671 D/AndroidRuntime( 4112): Shutting down VM
--------- beginning of crash
01-18 13:21:51.671 E/AndroidRuntime( 4112): FATAL EXCEPTION: main
01-18 13:21:51.671 E/AndroidRuntime( 4112): Process: xyz.hisname.fireflyiii, PID: 4112
01-18 13:21:51.671 E/AndroidRuntime( 4112): java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getImprovedViewModel$default(LiveDataExtension.kt:2)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment$dashboardView$2.invoke(DashboardFragment.kt:1)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.getDashboardView(DashboardFragment.kt:1)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.onViewCreated(DashboardFragment.kt:1)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:29)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:22)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:120)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:9)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:12)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:1)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at android.os.Handler.handleCallback(Handler.java:938)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at android.os.Handler.dispatchMessage(Handler.java:99)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at android.os.Looper.loop(Looper.java:246)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at android.app.ActivityThread.main(ActivityThread.java:8633)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at java.lang.reflect.Method.invoke(Native Method)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
01-18 13:21:51.671 E/AndroidRuntime( 4112): Caused by: java.lang.reflect.InvocationTargetException
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at java.lang.reflect.Constructor.newInstance0(Native Method)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     ... 20 more
01-18 13:21:51.671 E/AndroidRuntime( 4112): Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance, parameter randomHash
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance(Unknown Source:7)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     at xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel.<init>(DashboardViewModel.kt:3)
01-18 13:21:51.671 E/AndroidRuntime( 4112):     ... 23 more
01-18 13:21:51.671 E/ACRA    ( 4112): ACRA caught a RuntimeException for xyz.hisname.fireflyiii
01-18 13:21:51.671 E/ACRA    ( 4112): java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel
01-18 13:21:51.671 E/ACRA    ( 4112):   at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-18 13:21:51.671 E/ACRA    ( 4112):   at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-18 13:21:51.671 E/ACRA    ( 4112):   at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-18 13:21:51.671 E/ACRA    ( 4112):   at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getImprovedViewModel$default(LiveDataExtension.kt:2)
01-18 13:21:51.671 E/ACRA    ( 4112):   at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment$dashboardView$2.invoke(DashboardFragment.kt:1)
01-18 13:21:51.671 E/ACRA    ( 4112):   at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-18 13:21:51.671 E/ACRA    ( 4112):   at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.getDashboardView(DashboardFragment.kt:1)
01-18 13:21:51.671 E/ACRA    ( 4112):   at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.onViewCreated(DashboardFragment.kt:1)
01-18 13:21:51.671 E/ACRA    ( 4112):   at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:29)
01-18 13:21:51.671 E/ACRA    ( 4112):   at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:22)
01-18 13:21:51.671 E/ACRA    ( 4112):   at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:120)
01-18 13:21:51.671 E/ACRA    ( 4112):   at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:9)
01-18 13:21:51.671 E/ACRA    ( 4112):   at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:12)
01-18 13:21:51.671 E/ACRA    ( 4112):   at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:1)
01-18 13:21:51.671 E/ACRA    ( 4112):   at android.os.Handler.handleCallback(Handler.java:938)
01-18 13:21:51.671 E/ACRA    ( 4112):   at android.os.Handler.dispatchMessage(Handler.java:99)
01-18 13:21:51.671 E/ACRA    ( 4112):   at android.os.Looper.loop(Looper.java:246)
01-18 13:21:51.671 E/ACRA    ( 4112):   at android.app.ActivityThread.main(ActivityThread.java:8633)
01-18 13:21:51.671 E/ACRA    ( 4112):   at java.lang.reflect.Method.invoke(Native Method)
01-18 13:21:51.671 E/ACRA    ( 4112):   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
01-18 13:21:51.671 E/ACRA    ( 4112):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
01-18 13:21:51.671 E/ACRA    ( 4112): Caused by: java.lang.reflect.InvocationTargetException
01-18 13:21:51.671 E/ACRA    ( 4112):   at java.lang.reflect.Constructor.newInstance0(Native Method)
01-18 13:21:51.671 E/ACRA    ( 4112):   at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-18 13:21:51.671 E/ACRA    ( 4112):   at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-18 13:21:51.671 E/ACRA    ( 4112):   ... 20 more
01-18 13:21:51.671 E/ACRA    ( 4112): Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance, parameter randomHash
01-18 13:21:51.671 E/ACRA    ( 4112):   at xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance(Unknown Source:7)
01-18 13:21:51.671 E/ACRA    ( 4112):   at xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel.<init>(DashboardViewModel.kt:3)
01-18 13:21:51.671 E/ACRA    ( 4112):   ... 23 more

IS_SILENT=false
USER_CRASH_DATE=2022-01-18T13:21:51.673-05:00
emansih commented 2 years ago

Is it a fresh install? Uninstall and install again?

gthbusrr commented 2 years ago

Is it a fresh install? Uninstall and install again?

Hi, I've tried Uninstall and Install again. I've also cleared all data before uninstalling.

gregistech commented 2 years ago

@emansih Yes.

emansih commented 2 years ago

Kinda weird. It crashes for some users

emansih commented 2 years ago

@thegergo02 what android version and device are you using?

gregistech commented 2 years ago

@emansih Huawei P10 Lite Details

xela92 commented 2 years ago

Yes. I have received multiple reports of this issue but I am not able to replicate it. #193 #192

I have attached a apk, please install and try it https://drive.google.com/file/d/1i84Z_P1d8W9WnjOF0IilRHx_2M1pP5yt/view?usp=sharing

I tried this apk, for me it works correctly!