Open gthbusrr opened 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
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
the previous 2 bug reporters have not gotten back to me. please do get back to me @gthbusrr
5.0.1 (F-droid) was crashing for me, this build works.
Thanks. @thegergo02 Does the google drive build works for everything? Viewing budget, bills, transactions, currencies, etc?
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
Is it a fresh install? Uninstall and install again?
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.
@emansih Yes.
Kinda weird. It crashes for some users
@thegergo02 what android version and device are you using?
@emansih Huawei P10 Lite
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!
Firefly III Server Version: 5.6.10 Firefly III Mobile Version: 5.0.1 Android Version:
11 Device Information:
MODEL: NOTE20 ULTRA
Expected Behavior
Not Crash
Current Behavior
Crash upon logging in with PAT. Even if the "log in " is successful, I'll be logged out after restarting the app. I've tried reinstalling the app multiple times.
Steps to Reproduce
Log in with Personal Access Token