Open adrifromhh opened 1 year ago
Weird bug. It should not be giving you a NULL
I have deleted all app data again, given it all permissions I can and successfully logged in via PAT. It seems to be connected, as it's showing my balance on the dashboard. When I click on "create new transaction", it crashes. (As it did before, when trying to do baasically anything.)
I see a lot of crash reports here where the app is pretty much unusable. Is there any chance this is going to be resolved in the near future? I'm not mad about this, I understand it takes a lot of maintenance to keep an app working, but I'd really like to have a working usable Firefly client. That's why I paid for it in the Play Store.
REPORT_ID=ab295ad6-3d5e-4b30-a4ce-55fb11137e62
APP_VERSION_NAME=5.0.3
PHONE_MODEL=ONEPLUS A6003
BRAND=OnePlus
PRODUCT=OnePlus6
ANDROID_VERSION=11
BUILD_CONFIG=
STACK_TRACE=java.lang.RuntimeException: Unable to start activity ComponentInfo{xyz.hisname.fireflyiii/xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity}: java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3616)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3780)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2251)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:233)
at android.app.ActivityThread.main(ActivityThread.java:8068)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
Caused by: java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel
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.getViewModel$default(LiveDataExtension.kt:2)
at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity$addTransactionViewModel$2.invoke(AddTransactionActivity.kt:1)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.getAddTransactionViewModel(AddTransactionActivity.kt:1)
at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.$r8$lambda$Ca8gz-rxzwYjifeAajQ2K6YN2fU(AddTransactionActivity.kt:3)
at com.google.android.material.navigation.NavigationBarView$1.onMenuItemSelected(NavigationBarView.java:3)
at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:1)
at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:2)
at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:4)
at com.google.android.material.navigation.NavigationBarView.setSelectedItemId(NavigationBarView.java:2)
at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.onCreate(AddTransactionActivity.kt:14)
at android.app.Activity.performCreate(Activity.java:8006)
at android.app.Activity.performCreate(Activity.java:7990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3589)
... 11 more
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)
... 28 more
Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.local.dao.TmpDatabase$Companion.getInstance, parameter uuid
at xyz.hisname.fireflyiii.data.local.dao.TmpDatabase$Companion.getInstance(Unknown Source:7)
at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel.<init>(AddTransactionViewModel.kt:2)
... 31 more
LOGCAT=--------- beginning of main
01-24 16:28:53.321 W/name.fireflyii(24098): Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
01-24 16:28:53.322 W/name.fireflyii(24098): Accessing hidden method Ljava/util/Collections$SynchronizedSet;-><init>(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
01-24 16:28:53.322 W/name.fireflyii(24098): Accessing hidden method Ljava/util/Collections$SynchronizedCollection;-><init>(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
01-24 16:28:53.325 I/TetheringManager(24098): registerTetheringEventCallback:xyz.hisname.fireflyiii
01-24 16:28:53.333 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:28:53.337 E/Config:Grabber:OnePlusFontConfig(24098): Index 0 requested, with a size of 0
01-24 16:28:53.343 E/name.fireflyii(24098): [frame_perf] perfboost open tb_ctl file failed, isApp[1], errno=No such file or directory
01-24 16:28:53.343 E/libprocessgroup(24098): set_timerslack_ns write failed: Operation not permitted
01-24 16:28:53.358 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:28:53.359 I/ACRA (24098): ACRA is enabled for xyz.hisname.fireflyiii, initializing...
01-24 16:28:53.361 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:28:53.363 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:28:53.366 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:28:53.383 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:28:53.385 I/chatty (24098): uid=10449(xyz.hisname.fireflyiii) DefaultDispatch identical 1 line
01-24 16:28:53.386 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:28:53.413 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:28:53.447 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:28:53.447 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:28:53.465 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:28:53.469 I/chatty (24098): uid=10449(xyz.hisname.fireflyiii) identical 18 lines
01-24 16:28:53.469 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:28:53.489 I/OPFD_Manager(24098): Dark? false, OP Force ? false
01-24 16:28:53.489 V/ViewRootImpl(24098): The specified message queue synchronization barrier token has not been posted or has already been removed
--------- beginning of system
01-24 16:28:53.492 D/ViewRootImpl(24098): support adaptive color gamut feature!
01-24 16:28:53.508 I/AdrenoGLES-0(24098): QUALCOMM build : 8e5405b, I57aaec3440
01-24 16:28:53.508 I/AdrenoGLES-0(24098): Build Date : 05/21/21
01-24 16:28:53.508 I/AdrenoGLES-0(24098): OpenGL ES Shader Compiler Version: EV031.32.02.10
01-24 16:28:53.508 I/AdrenoGLES-0(24098): Local Branch : mybranchebba1dbe-451b-f160-ac81-1458d0b52ae8
01-24 16:28:53.508 I/AdrenoGLES-0(24098): Remote Branch : quic/gfx-adreno.lnx.1.0.r135-rel
01-24 16:28:53.508 I/AdrenoGLES-0(24098): Remote Branch : NONE
01-24 16:28:53.508 I/AdrenoGLES-0(24098): Reconstruct Branch : NOTHING
01-24 16:28:53.508 I/AdrenoGLES-0(24098): Build Config : S P 10.0.7 AArch64
01-24 16:28:53.508 I/AdrenoGLES-0(24098): Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
01-24 16:28:53.511 I/AdrenoGLES-0(24098): PFP: 0x016ee190, ME: 0x00000000
01-24 16:28:53.521 I/Gralloc4(24098): mapper 4.x is not supported
01-24 16:28:53.521 W/Gralloc3(24098): mapper 3.x is not supported
01-24 16:28:53.583 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:28:53.583 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:28:53.589 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:28:53.593 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:28:53.598 V/ViewRootImpl(24098): The specified message queue synchronization barrier token has not been posted or has already been removed
01-24 16:28:53.614 W/Choreographer(24098): Already have a pending vsync event. There should only be one at a time.
01-24 16:28:53.614 W/ActivityThread(24098): Activity state must be in [ON_RESUME..ON_STOP] in order to be relaunched,current state is 1
01-24 16:28:53.627 D/DecorView(24098): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@f04a147[AuthActivity]
01-24 16:28:53.628 D/ViewRootImpl[AuthActivity](24098): windowFocusChanged hasFocus=true inTouchMode=true
01-24 16:28:53.597 D/ViewRootImpl(24098): support adaptive color gamut feature!
--------- beginning of perf
01-24 16:28:54.969 I/111 (24098): OptJank - continuously drops frames:4
01-24 16:28:55.061 I/110 (24098): OptJank - total:67 frameGap:67 delta#16#7#6#0#0#66
01-24 16:28:55.061 I/111 (24098): OptJank - big and big
01-24 16:28:55.869 I/AssistStructure(24098): Flattened final assist data: 3060 bytes, containing 1 windows, 21 views
01-24 16:29:08.359 I/AssistStructure(24098): Flattened final assist data: 3156 bytes, containing 1 windows, 21 views
01-24 16:29:09.848 D/ViewRootImpl(24098): support adaptive color gamut feature!
01-24 16:29:09.849 V/ViewRootImpl(24098): The specified message queue synchronization barrier token has not been posted or has already been removed
01-24 16:29:10.006 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:10.009 I/chatty (24098): uid=10449(xyz.hisname.fireflyiii) identical 5 lines
01-24 16:29:10.036 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:10.130 D/ViewRootImpl(24098): support adaptive color gamut feature!
01-24 16:29:10.131 V/ViewRootImpl(24098): The specified message queue synchronization barrier token has not been posted or has already been removed
01-24 16:29:10.764 D/OpenGLRenderer(24098): endAllActiveAnimators on 0x718f97a490 (RippleDrawable) with handle 0x70af932360
01-24 16:29:14.831 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:29:14.843 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:29:14.845 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:29:14.846 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:29:15.260 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.260 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.260 D/CompatibilityChangeReporter(24098): Compat change id reported: 147798919; UID 10449; state: ENABLED
01-24 16:29:15.271 D/ViewRootImpl(24098): support adaptive color gamut feature!
01-24 16:29:15.272 V/ViewRootImpl(24098): The specified message queue synchronization barrier token has not been posted or has already been removed
01-24 16:29:15.680 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.695 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.704 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.749 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.751 I/chatty (24098): uid=10449(xyz.hisname.fireflyiii) identical 2 lines
01-24 16:29:15.751 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.754 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:29:15.755 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.760 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.764 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.772 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.786 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:29:15.793 I/chatty (24098): uid=10449(xyz.hisname.fireflyiii) DefaultDispatch identical 1 line
01-24 16:29:15.796 E/sqlite3_android(24098): [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
01-24 16:29:15.827 D/ViewRootImpl(24098): support adaptive color gamut feature!
01-24 16:29:15.829 V/ViewRootImpl(24098): The specified message queue synchronization barrier token has not been posted or has already been removed
01-24 16:29:15.833 D/ViewRootImpl[AuthActivity](24098): windowFocusChanged hasFocus=false inTouchMode=true
01-24 16:29:15.870 W/RecyclerView(24098): No adapter attached; skipping layout
01-24 16:29:15.918 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.970 W/Choreographer(24098): Already have a pending vsync event. There should only be one at a time.
01-24 16:29:15.980 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.980 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:15.995 D/DecorView(24098): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@94d8896[HomeActivity]
01-24 16:29:15.996 D/ViewRootImpl[HomeActivity](24098): windowFocusChanged hasFocus=true inTouchMode=true
01-24 16:29:16.933 W/PropertyValuesHolder(24098): Method setPhaseY() with type float not found on target class class com.github.mikephil.charting.animation.ChartAnimator
01-24 16:29:23.301 D/ViewRootImpl[HomeActivity](24098): windowFocusChanged hasFocus=false inTouchMode=true
01-24 16:29:23.683 D/DecorView(24098): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@94d8896[HomeActivity]
01-24 16:29:23.684 D/ViewRootImpl[HomeActivity](24098): windowFocusChanged hasFocus=true inTouchMode=true
01-24 16:29:28.822 D/ViewRootImpl[HomeActivity](24098): windowFocusChanged hasFocus=false inTouchMode=true
01-24 16:29:30.998 D/DecorView(24098): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@94d8896[HomeActivity]
01-24 16:29:30.999 D/ViewRootImpl[HomeActivity](24098): windowFocusChanged hasFocus=true inTouchMode=true
01-24 16:29:34.185 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:34.187 I/chatty (24098): uid=10449(xyz.hisname.fireflyiii) identical 1 line
01-24 16:29:34.189 E/name.fireflyii(24098): Invalid ID 0x00000000.
01-24 16:29:34.195 D/AndroidRuntime(24098): Shutting down VM
--------- beginning of crash
01-24 16:29:34.195 E/AndroidRuntime(24098): FATAL EXCEPTION: main
01-24 16:29:34.195 E/AndroidRuntime(24098): Process: xyz.hisname.fireflyiii, PID: 24098
01-24 16:29:34.195 E/AndroidRuntime(24098): java.lang.RuntimeException: Unable to start activity ComponentInfo{xyz.hisname.fireflyiii/xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity}: java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3616)
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3780)
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2251)
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.os.Handler.dispatchMessage(Handler.java:106)
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.os.Looper.loop(Looper.java:233)
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.app.ActivityThread.main(ActivityThread.java:8068)
01-24 16:29:34.195 E/AndroidRuntime(24098): at java.lang.reflect.Method.invoke(Native Method)
01-24 16:29:34.195 E/AndroidRuntime(24098): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
01-24 16:29:34.195 E/AndroidRuntime(24098): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
01-24 16:29:34.195 E/AndroidRuntime(24098): Caused by: java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel
01-24 16:29:34.195 E/AndroidRuntime(24098): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-24 16:29:34.195 E/AndroidRuntime(24098): at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-24 16:29:34.195 E/AndroidRuntime(24098): at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-24 16:29:34.195 E/AndroidRuntime(24098): at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getViewModel$default(LiveDataExtension.kt:2)
01-24 16:29:34.195 E/AndroidRuntime(24098): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity$addTransactionViewModel$2.invoke(AddTransactionActivity.kt:1)
01-24 16:29:34.195 E/AndroidRuntime(24098): at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-24 16:29:34.195 E/AndroidRuntime(24098): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.getAddTransactionViewModel(AddTransactionActivity.kt:1)
01-24 16:29:34.195 E/AndroidRuntime(24098): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.$r8$lambda$Ca8gz-rxzwYjifeAajQ2K6YN2fU(AddTransactionActivity.kt:3)
01-24 16:29:34.195 E/AndroidRuntime(24098): at com.google.android.material.navigation.NavigationBarView$1.onMenuItemSelected(NavigationBarView.java:3)
01-24 16:29:34.195 E/AndroidRuntime(24098): at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:1)
01-24 16:29:34.195 E/AndroidRuntime(24098): at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:2)
01-24 16:29:34.195 E/AndroidRuntime(24098): at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:4)
01-24 16:29:34.195 E/AndroidRuntime(24098): at com.google.android.material.navigation.NavigationBarView.setSelectedItemId(NavigationBarView.java:2)
01-24 16:29:34.195 E/AndroidRuntime(24098): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.onCreate(AddTransactionActivity.kt:14)
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.app.Activity.performCreate(Activity.java:8006)
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.app.Activity.performCreate(Activity.java:7990)
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
01-24 16:29:34.195 E/AndroidRuntime(24098): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3589)
01-24 16:29:34.195 E/AndroidRuntime(24098): ... 11 more
01-24 16:29:34.195 E/AndroidRuntime(24098): Caused by: java.lang.reflect.InvocationTargetException
01-24 16:29:34.195 E/AndroidRuntime(24098): at java.lang.reflect.Constructor.newInstance0(Native Method)
01-24 16:29:34.195 E/AndroidRuntime(24098): at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-24 16:29:34.195 E/AndroidRuntime(24098): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-24 16:29:34.195 E/AndroidRuntime(24098): ... 28 more
01-24 16:29:34.195 E/AndroidRuntime(24098): Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.local.dao.TmpDatabase$Companion.getInstance, parameter uuid
01-24 16:29:34.195 E/AndroidRuntime(24098): at xyz.hisname.fireflyiii.data.local.dao.TmpDatabase$Companion.getInstance(Unknown Source:7)
01-24 16:29:34.195 E/AndroidRuntime(24098): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel.<init>(AddTransactionViewModel.kt:2)
01-24 16:29:34.195 E/AndroidRuntime(24098): ... 31 more
01-24 16:29:34.195 E/ACRA (24098): ACRA caught a RuntimeException for xyz.hisname.fireflyiii
01-24 16:29:34.195 E/ACRA (24098): java.lang.RuntimeException: Unable to start activity ComponentInfo{xyz.hisname.fireflyiii/xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity}: java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel
01-24 16:29:34.195 E/ACRA (24098): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3616)
01-24 16:29:34.195 E/ACRA (24098): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3780)
01-24 16:29:34.195 E/ACRA (24098): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
01-24 16:29:34.195 E/ACRA (24098): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
01-24 16:29:34.195 E/ACRA (24098): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
01-24 16:29:34.195 E/ACRA (24098): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2251)
01-24 16:29:34.195 E/ACRA (24098): at android.os.Handler.dispatchMessage(Handler.java:106)
01-24 16:29:34.195 E/ACRA (24098): at android.os.Looper.loop(Looper.java:233)
01-24 16:29:34.195 E/ACRA (24098): at android.app.ActivityThread.main(ActivityThread.java:8068)
01-24 16:29:34.195 E/ACRA (24098): at java.lang.reflect.Method.invoke(Native Method)
01-24 16:29:34.195 E/ACRA (24098): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
01-24 16:29:34.195 E/ACRA (24098): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
01-24 16:29:34.195 E/ACRA (24098): Caused by: java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel
01-24 16:29:34.195 E/ACRA (24098): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-24 16:29:34.195 E/ACRA (24098): at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-24 16:29:34.195 E/ACRA (24098): at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-24 16:29:34.195 E/ACRA (24098): at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getViewModel$default(LiveDataExtension.kt:2)
01-24 16:29:34.195 E/ACRA (24098): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity$addTransactionViewModel$2.invoke(AddTransactionActivity.kt:1)
01-24 16:29:34.195 E/ACRA (24098): at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-24 16:29:34.195 E/ACRA (24098): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.getAddTransactionViewModel(AddTransactionActivity.kt:1)
01-24 16:29:34.195 E/ACRA (24098): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.$r8$lambda$Ca8gz-rxzwYjifeAajQ2K6YN2fU(AddTransactionActivity.kt:3)
01-24 16:29:34.195 E/ACRA (24098): at com.google.android.material.navigation.NavigationBarView$1.onMenuItemSelected(NavigationBarView.java:3)
01-24 16:29:34.195 E/ACRA (24098): at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:1)
01-24 16:29:34.195 E/ACRA (24098): at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:2)
01-24 16:29:34.195 E/ACRA (24098): at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:4)
01-24 16:29:34.195 E/ACRA (24098): at com.google.android.material.navigation.NavigationBarView.setSelectedItemId(NavigationBarView.java:2)
01-24 16:29:34.195 E/ACRA (24098): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.onCreate(AddTransactionActivity.kt:14)
01-24 16:29:34.195 E/ACRA (24098): at android.app.Activity.performCreate(Activity.java:8006)
01-24 16:29:34.195 E/ACRA (24098): at android.app.Activity.performCreate(Activity.java:7990)
01-24 16:29:34.195 E/ACRA (24098): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
01-24 16:29:34.195 E/ACRA (24098): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3589)
01-24 16:29:34.195 E/ACRA (24098): ... 11 more
01-24 16:29:34.195 E/ACRA (24098): Caused by: java.lang.reflect.InvocationTargetException
01-24 16:29:34.195 E/ACRA (24098): at java.lang.reflect.Constructor.newInstance0(Native Method)
01-24 16:29:34.195 E/ACRA (24098): at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-24 16:29:34.195 E/ACRA (24098): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-24 16:29:34.195 E/ACRA (24098): ... 28 more
01-24 16:29:34.195 E/ACRA (24098): Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.local.dao.TmpDatabase$Companion.getInstance, parameter uuid
01-24 16:29:34.195 E/ACRA (24098): at xyz.hisname.fireflyiii.data.local.dao.TmpDatabase$Companion.getInstance(Unknown Source:7)
01-24 16:29:34.195 E/ACRA (24098): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel.<init>(AddTransactionViewModel.kt:2)
01-24 16:29:34.195 E/ACRA (24098): ... 31 more
IS_SILENT=false
USER_CRASH_DATE=2023-01-24T16:29:34.197+01:00
Same issue here as well. Maybe some problem with using remote_user
header to authenticate?
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
Crash Report