Skip to content

App crashes when trying to login via PAT #240

@adrifromhh

Description

@adrifromhh

Notes

I tried OAuth without success. I cannot get any of my browsers (Chrome, Firefoy, Opera) to redirect me from the http://empty page back to the Photuris App. So I'm trying PAT, which crashes the app.

Fix
After deleting all Photuris app-data and putting in the correct PAT credentials, login worked.
Fix was mentioned here

The app crashes moments later when trying to do anything.

System

Installed via Google Playstore

APP_VERSION_NAME=5.0.3
PHONE_MODEL=ONEPLUS A6003
BRAND=OnePlus
PRODUCT=OnePlus6
ANDROID_VERSION=11
Firefly III Server Version: 5.7.18


Expected Behavior

Logging in via PAT

Current Behavior

Crashing immediately after showing a green "Welcome" badge for less than a second

Steps to Reproduce

Enter PAT Details
URL: https://
PAT:
ENTER
Crash...

Screenshots

Screenshot 1
Screenshot 2

Crash Report

REPORT_ID=b0af985d-da2d-48ae-aa97-a96e53435be7
APP_VERSION_NAME=5.0.3
PHONE_MODEL=ONEPLUS A6003
BRAND=OnePlus
PRODUCT=OnePlus6
ANDROID_VERSION=11
BUILD_CONFIG=
STACK_TRACE=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.HomeViewModel$billPaidDao$2.invoke(HomeViewModel.kt:1)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
	at xyz.hisname.fireflyiii.ui.HomeViewModel.access$getBillPaidDao(HomeViewModel.kt:1)
	at xyz.hisname.fireflyiii.ui.HomeViewModel$billPaidRepository$2.invoke(HomeViewModel.kt:1)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
	at xyz.hisname.fireflyiii.ui.HomeViewModel.access$getBillPaidRepository(HomeViewModel.kt:1)
	at xyz.hisname.fireflyiii.ui.HomeViewModel$getNoOfBillsDueToday$1.invokeSuspend(HomeViewModel.kt:8)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:5)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:18)
	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:2)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:1)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:1)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:10)

LOGCAT=--------- beginning of main
01-23 19:39:31.172 I/Process (12405): Sending signal. PID: 12405 SIG: 9
01-23 19:39:32.369 E/name.fireflyii(13967): Unknown bits set in runtime_flags: 0x800000
01-23 19:39:32.372 E/name.fireflyii(13967): Not starting debugger since process cannot load the jdwp agent.
01-23 19:39:32.403 W/name.fireflyii(13967): JIT profile information will not be recorded: profile file does not exist.
01-23 19:39:32.408 I/Perf    (13967): Connecting to perf service.
01-23 19:39:32.411 I/name.fireflyii(13967): [GL_OOM] ClampGrowthLimit 268435456
01-23 19:39:32.411 D/NetworkSecurityConfig(13967): Using Network Security Config from resource network_security_config debugBuild: false
01-23 19:39:32.412 D/NetworkSecurityConfig(13967): Using Network Security Config from resource network_security_config debugBuild: false
01-23 19:39:32.415 D/WM-WrkMgrInitializer(13967): Initializing WorkManager with default configuration.
01-23 19:39:32.415 W/name.fireflyii(13967): Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
01-23 19:39:32.415 W/name.fireflyii(13967): Accessing hidden method Ljava/util/Collections$SynchronizedSet;-><init>(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
01-23 19:39:32.415 W/name.fireflyii(13967): Accessing hidden method Ljava/util/Collections$SynchronizedCollection;-><init>(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
01-23 19:39:32.417 I/TetheringManager(13967): registerTetheringEventCallback:xyz.hisname.fireflyiii
01-23 19:39:32.429 E/sqlite3_android(13967): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-23 19:39:32.433 I/chatty  (13967): uid=10449(xyz.hisname.fireflyiii) WM.task-1 identical 1 line
01-23 19:39:32.435 E/sqlite3_android(13967): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-23 19:39:32.440 E/Config:Grabber:OnePlusFontConfig(13967): Index 0 requested, with a size of 0
01-23 19:39:32.473 E/sqlite3_android(13967): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-23 19:39:32.477 E/sqlite3_android(13967): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-23 19:39:32.480 I/ACRA    (13967): ACRA is enabled for xyz.hisname.fireflyiii, initializing...
01-23 19:39:32.484 E/sqlite3_android(13967): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-23 19:40:35.077 E/name.fireflyii(13967): [frame_perf] perfboost open tb_ctl file failed, isApp[1], errno=No such file or directory
01-23 19:40:35.077 E/libprocessgroup(13967): set_timerslack_ns write failed: Operation not permitted
01-23 19:40:35.113 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:40:35.149 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:40:35.149 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:40:35.166 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:40:35.169 I/chatty  (13967): uid=10449(xyz.hisname.fireflyiii) identical 20 lines
01-23 19:40:35.169 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:40:35.176 I/OPFD_Manager(13967): Dark? false, OP Force ? false
01-23 19:40:35.177 V/ViewRootImpl(13967): The specified message queue synchronization  barrier token has not been posted or has already been removed
--------- beginning of system
01-23 19:40:35.179 D/ViewRootImpl(13967): support adaptive color gamut feature!
01-23 19:40:35.193 I/AdrenoGLES-0(13967): QUALCOMM build                   : 8e5405b, I57aaec3440
01-23 19:40:35.193 I/AdrenoGLES-0(13967): Build Date                       : 05/21/21
01-23 19:40:35.193 I/AdrenoGLES-0(13967): OpenGL ES Shader Compiler Version: EV031.32.02.10
01-23 19:40:35.193 I/AdrenoGLES-0(13967): Local Branch                     : mybranchebba1dbe-451b-f160-ac81-1458d0b52ae8
01-23 19:40:35.193 I/AdrenoGLES-0(13967): Remote Branch                    : quic/gfx-adreno.lnx.1.0.r135-rel
01-23 19:40:35.193 I/AdrenoGLES-0(13967): Remote Branch                    : NONE
01-23 19:40:35.193 I/AdrenoGLES-0(13967): Reconstruct Branch               : NOTHING
01-23 19:40:35.193 I/AdrenoGLES-0(13967): Build Config                     : S P 10.0.7 AArch64
01-23 19:40:35.193 I/AdrenoGLES-0(13967): Driver Path                      : /vendor/lib64/egl/libGLESv2_adreno.so
01-23 19:40:35.196 I/AdrenoGLES-0(13967): PFP: 0x016ee190, ME: 0x00000000
01-23 19:40:35.209 I/Gralloc4(13967): mapper 4.x is not supported
01-23 19:40:35.209 W/Gralloc3(13967): mapper 3.x is not supported
01-23 19:40:35.223 D/DecorView(13967): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@4d758de[AuthActivity]
01-23 19:40:35.225 D/ViewRootImpl[AuthActivity](13967): windowFocusChanged hasFocus=true inTouchMode=true
01-23 19:40:35.246 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:40:35.254 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:40:35.257 V/ViewRootImpl(13967): The specified message queue synchronization  barrier token has not been posted or has already been removed
01-23 19:40:35.274 W/Choreographer(13967): Already have a pending vsync event.  There should only be one at a time.
01-23 19:40:35.274 W/ActivityThread(13967): Activity state must be in [ON_RESUME..ON_STOP] in order to be relaunched,current state is 1
01-23 19:40:35.289 D/DecorView(13967): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@2067d74[AuthActivity]
01-23 19:40:35.290 D/ViewRootImpl[AuthActivity](13967): windowFocusChanged hasFocus=true inTouchMode=true
01-23 19:40:35.256 D/ViewRootImpl(13967): support adaptive color gamut feature!
01-23 19:40:52.645 D/ViewRootImpl[AuthActivity](13967): windowFocusChanged hasFocus=false inTouchMode=true
01-23 19:56:06.811 D/DecorView(13967): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@2067d74[AuthActivity]
01-23 19:56:06.811 D/ViewRootImpl[AuthActivity](13967): windowFocusChanged hasFocus=true inTouchMode=true
01-23 19:56:09.465 D/ViewRootImpl[AuthActivity](13967): windowFocusChanged hasFocus=false inTouchMode=true
01-23 19:56:11.498 D/DecorView(13967): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@2067d74[AuthActivity]
01-23 19:56:11.498 D/ViewRootImpl[AuthActivity](13967): windowFocusChanged hasFocus=true inTouchMode=true
01-23 19:56:17.402 I/AssistStructure(13967): Flattened final assist data: 3064 bytes, containing 1 windows, 21 views
01-23 19:56:30.188 I/AssistStructure(13967): Flattened final assist data: 3064 bytes, containing 1 windows, 21 views
01-23 19:56:47.413 I/AssistStructure(13967): Flattened final assist data: 3160 bytes, containing 1 windows, 21 views
01-23 19:56:48.400 D/ViewRootImpl[AuthActivity](13967): windowFocusChanged hasFocus=false inTouchMode=true
01-23 19:57:01.237 D/DecorView(13967): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@2067d74[AuthActivity]
01-23 19:57:01.238 D/ViewRootImpl[AuthActivity](13967): windowFocusChanged hasFocus=true inTouchMode=true
01-23 19:57:02.734 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:57:02.799 D/ViewRootImpl(13967): support adaptive color gamut feature!
01-23 19:57:02.736 I/chatty  (13967): uid=10449(xyz.hisname.fireflyiii) identical 5 lines
01-23 19:57:02.762 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:57:02.801 V/ViewRootImpl(13967): The specified message queue synchronization  barrier token has not been posted or has already been removed
01-23 19:57:02.898 V/ViewRootImpl(13967): The specified message queue synchronization  barrier token has not been posted or has already been removed
01-23 19:57:03.571 D/OpenGLRenderer(13967): endAllActiveAnimators on 0x718f97cb60 (RippleDrawable) with handle 0x70af9412d0
01-23 19:57:02.898 D/ViewRootImpl(13967): support adaptive color gamut feature!
01-23 19:57:04.599 E/sqlite3_android(13967): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-23 19:57:04.608 E/sqlite3_android(13967): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-23 19:57:04.611 E/sqlite3_android(13967): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
--------- beginning of perf
01-23 19:57:04.632 I/110     (13967):  OptJank - total:215 frameGap:225 delta#200#13#12#0#0#2
01-23 19:57:05.264 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:57:05.264 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:57:05.264 D/CompatibilityChangeReporter(13967): Compat change id reported: 147798919; UID 10449; state: ENABLED
01-23 19:57:05.288 D/ViewRootImpl(13967): support adaptive color gamut feature!
01-23 19:57:05.288 V/ViewRootImpl(13967): The specified message queue synchronization  barrier token has not been posted or has already been removed
01-23 19:57:05.359 W/Choreographer(13967): Already have a pending vsync event.  There should only be one at a time.
01-23 19:57:05.594 I/111     (13967):  OptJank - continuously drops frames:4
01-23 19:57:05.616 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:57:05.629 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:57:05.635 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:57:05.660 I/111     (13967):  OptJank - continuously drops frames:4
01-23 19:57:05.664 E/sqlite3_android(13967): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-23 19:57:05.672 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:57:05.674 I/chatty  (13967): uid=10449(xyz.hisname.fireflyiii) identical 2 lines
01-23 19:57:05.674 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:57:05.682 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:57:05.689 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:57:05.691 E/sqlite3_android(13967): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-23 19:57:05.696 E/name.fireflyii(13967): Invalid ID 0x00000000.
01-23 19:57:05.710 I/111     (13967):  OptJank - high percentage:0.75
01-23 19:57:05.722 D/AndroidRuntime(13967): Shutting down VM
--------- beginning of crash
01-23 19:57:05.723 E/AndroidRuntime(13967): FATAL EXCEPTION: main
01-23 19:57:05.723 E/AndroidRuntime(13967): Process: xyz.hisname.fireflyiii, PID: 13967
01-23 19:57:05.723 E/AndroidRuntime(13967): java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getImprovedViewModel$default(LiveDataExtension.kt:2)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment$dashboardView$2.invoke(DashboardFragment.kt:1)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.getDashboardView(DashboardFragment.kt:1)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.onViewCreated(DashboardFragment.kt:1)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:29)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:22)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:120)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:9)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:12)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:8)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java:4)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:1)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:6)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:1)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1525)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at android.app.Activity.performStart(Activity.java:8030)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3642)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2251)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at android.os.Handler.dispatchMessage(Handler.java:106)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at android.os.Looper.loop(Looper.java:233)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at android.app.ActivityThread.main(ActivityThread.java:8068)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at java.lang.reflect.Method.invoke(Native Method)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
01-23 19:57:05.723 E/AndroidRuntime(13967): Caused by: java.lang.reflect.InvocationTargetException
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at java.lang.reflect.Constructor.newInstance0(Native Method)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	... 31 more
01-23 19:57:05.723 E/AndroidRuntime(13967): 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-23 19:57:05.723 E/AndroidRuntime(13967): 	at xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance(Unknown Source:7)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	at xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel.<init>(DashboardViewModel.kt:3)
01-23 19:57:05.723 E/AndroidRuntime(13967): 	... 34 more
01-23 19:57:05.723 E/ACRA    (13967): ACRA caught a RuntimeException for xyz.hisname.fireflyiii
01-23 19:57:05.723 E/ACRA    (13967): java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-23 19:57:05.723 E/ACRA    (13967): 	at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getImprovedViewModel$default(LiveDataExtension.kt:2)
01-23 19:57:05.723 E/ACRA    (13967): 	at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment$dashboardView$2.invoke(DashboardFragment.kt:1)
01-23 19:57:05.723 E/ACRA    (13967): 	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-23 19:57:05.723 E/ACRA    (13967): 	at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.getDashboardView(DashboardFragment.kt:1)
01-23 19:57:05.723 E/ACRA    (13967): 	at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.onViewCreated(DashboardFragment.kt:1)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:29)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:22)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:120)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:9)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:12)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:8)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java:4)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:1)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:6)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:1)
01-23 19:57:05.723 E/ACRA    (13967): 	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1525)
01-23 19:57:05.723 E/ACRA    (13967): 	at android.app.Activity.performStart(Activity.java:8030)
01-23 19:57:05.723 E/ACRA    (13967): 	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3642)
01-23 19:57:05.723 E/ACRA    (13967): 	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
01-23 19:57:05.723 E/ACRA    (13967): 	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
01-23 19:57:05.723 E/ACRA    (13967): 	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
01-23 19:57:05.723 E/ACRA    (13967): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
01-23 19:57:05.723 E/ACRA    (13967): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2251)
01-23 19:57:05.723 E/ACRA    (13967): 	at android.os.Handler.dispatchMessage(Handler.java:106)
01-23 19:57:05.723 E/ACRA    (13967): 	at android.os.Looper.loop(Looper.java:233)
01-23 19:57:05.723 E/ACRA    (13967): 	at android.app.ActivityThread.main(ActivityThread.java:8068)
01-23 19:57:05.723 E/ACRA    (13967): 	at java.lang.reflect.Method.invoke(Native Method)
01-23 19:57:05.723 E/ACRA    (13967): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
01-23 19:57:05.723 E/ACRA    (13967): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
01-23 19:57:05.723 E/ACRA    (13967): Caused by: java.lang.reflect.InvocationTargetException
01-23 19:57:05.723 E/ACRA    (13967): 	at java.lang.reflect.Constructor.newInstance0(Native Method)
01-23 19:57:05.723 E/ACRA    (13967): 	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-23 19:57:05.723 E/ACRA    (13967): 	at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-23 19:57:05.723 E/ACRA    (13967): 	... 31 more
01-23 19:57:05.723 E/ACRA    (13967): 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-23 19:57:05.723 E/ACRA    (13967): 	at xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance(Unknown Source:7)
01-23 19:57:05.723 E/ACRA    (13967): 	at xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel.<init>(DashboardViewModel.kt:3)
01-23 19:57:05.723 E/ACRA    (13967): 	... 34 more
01-23 19:57:05.727 I/111     (13967):  OptJank - continuously drops frames:4
01-23 19:57:05.741 E/sqlite3_android(13967): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-23 19:57:05.778 I/chatty  (13967): uid=10449(xyz.hisname.fireflyiii) DefaultDispatch identical 1 line
01-23 19:57:05.781 E/sqlite3_android(13967): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-23 19:57:05.783 E/ACRA    (13967): ACRA caught a NullPointerException for xyz.hisname.fireflyiii
01-23 19:57:05.783 E/ACRA    (13967): java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance, parameter randomHash
01-23 19:57:05.783 E/ACRA    (13967): 	at xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance(Unknown Source:7)
01-23 19:57:05.783 E/ACRA    (13967): 	at xyz.hisname.fireflyiii.ui.HomeViewModel$billPaidDao$2.invoke(HomeViewModel.kt:1)
01-23 19:57:05.783 E/ACRA    (13967): 	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-23 19:57:05.783 E/ACRA    (13967): 	at xyz.hisname.fireflyiii.ui.HomeViewModel.access$getBillPaidDao(HomeViewModel.kt:1)
01-23 19:57:05.783 E/ACRA    (13967): 	at xyz.hisname.fireflyiii.ui.HomeViewModel$billPaidRepository$2.invoke(HomeViewModel.kt:1)
01-23 19:57:05.783 E/ACRA    (13967): 	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-23 19:57:05.783 E/ACRA    (13967): 	at xyz.hisname.fireflyiii.ui.HomeViewModel.access$getBillPaidRepository(HomeViewModel.kt:1)
01-23 19:57:05.783 E/ACRA    (13967): 	at xyz.hisname.fireflyiii.ui.HomeViewModel$getNoOfBillsDueToday$1.invokeSuspend(HomeViewModel.kt:8)
01-23 19:57:05.783 E/ACRA    (13967): 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:5)
01-23 19:57:05.783 E/ACRA    (13967): 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:18)
01-23 19:57:05.783 E/ACRA    (13967): 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:2)
01-23 19:57:05.783 E/ACRA    (13967): 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:1)
01-23 19:57:05.783 E/ACRA    (13967): 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:1)
01-23 19:57:05.783 E/ACRA    (13967): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:10)

IS_SILENT=false
USER_CRASH_DATE=2023-01-23T19:57:05.785+01:00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions