Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crash after setup #192

Closed
PietroMB opened this issue Jan 14, 2022 · 13 comments
Closed

App crash after setup #192

PietroMB opened this issue Jan 14, 2022 · 13 comments

Comments

@PietroMB
Copy link

Firefly III Server Version:
5.6.10

Firefly III Mobile Version:
5.0.1

Android Version:
10

Device Information:

  • BRAND: Xiaomi
  • MODEL: Mi MIX 2s - Polaris
  • OS: LineageOS

Expected Behavior

After setup the app via PAT I expect the app save the credentials and permit me to add transaction

Current Behavior

App stop working just after first login exactly the first time I press a button

Steps to Reproduce

Uninstall app, install app, login with any method, press a button on GUI

REPORT_ID=8286844e-f41b-45e6-9c5a-77b7e080303c
APP_VERSION_NAME=5.0.1
PHONE_MODEL=Mi MIX 2S
BRAND=Xiaomi
PRODUCT=polaris
ANDROID_VERSION=10
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:3270)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
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:2016)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
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:7824)
at android.app.Activity.performCreate(Activity.java:7813)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
... 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.(AddTransactionViewModel.kt:2)
... 31 more

LOGCAT=--------- beginning of system
01-14 20:13:15.697 W/ViewRootImplAuthActivity: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_UNKNOWN, scanCode=102, metaState=0, flags=0x28, repeatCount=0, eventTime=404516400, downTime=404507054, deviceId=0, source=0x101, displayId=0 }
01-14 20:13:15.697 I/chatty (30131): uid=10357(xyz.hisname.fireflyiii) identical 5 lines
01-14 20:13:15.697 W/ViewRootImplAuthActivity: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_UNKNOWN, scanCode=102, metaState=0, flags=0x28, repeatCount=0, eventTime=404516400, downTime=404507054, deviceId=0, source=0x101, displayId=0 }
01-14 20:13:15.697 W/ViewRootImplAuthActivity: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_UNKNOWN, scanCode=102, metaState=0, flags=0x228, repeatCount=0, eventTime=404516400, downTime=404507054, deviceId=0, source=0x101, displayId=0 }
01-14 20:13:15.697 W/ViewRootImplAuthActivity: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_UNKNOWN, scanCode=102, metaState=0, flags=0x228, repeatCount=0, eventTime=404516400, downTime=404507054, deviceId=0, source=0x101, displayId=0 }
01-14 20:13:37.351 W/ViewRootImplAuthActivity: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_UNKNOWN, scanCode=102, metaState=0, flags=0x28, repeatCount=0, eventTime=404538054, downTime=404507054, deviceId=0, source=0x101, displayId=0 }
01-14 20:13:37.351 I/chatty (30131): uid=10357(xyz.hisname.fireflyiii) identical 5 lines
01-14 20:13:37.351 W/ViewRootImplAuthActivity: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_UNKNOWN, scanCode=102, metaState=0, flags=0x28, repeatCount=0, eventTime=404538054, downTime=404507054, deviceId=0, source=0x101, displayId=0 }
01-14 20:13:37.351 W/ViewRootImplAuthActivity: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_UNKNOWN, scanCode=102, metaState=0, flags=0x228, repeatCount=0, eventTime=404538054, downTime=404507054, deviceId=0, source=0x101, displayId=0 }
01-14 20:13:37.351 W/ViewRootImplAuthActivity: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_UNKNOWN, scanCode=102, metaState=0, flags=0x228, repeatCount=0, eventTime=404538054, downTime=404507054, deviceId=0, source=0x101, displayId=0 }
--------- beginning of crash
01-14 23:14:48.230 E/AndroidRuntime(20552): FATAL EXCEPTION: main
01-14 23:14:48.230 E/AndroidRuntime(20552): Process: xyz.hisname.fireflyiii, PID: 20552
01-14 23:14:48.230 E/AndroidRuntime(20552): java.lang.NullPointerException: Parameter specified as non-null is null: method xyz.hisname.fireflyiii.data.remote.firefly.FireflyClient$Companion.getClient, parameter baseUrl
01-14 23:14:48.230 E/AndroidRuntime(20552): at xyz.hisname.fireflyiii.data.remote.firefly.FireflyClient$Companion.getClient(Unknown Source:2)
01-14 23:14:48.230 E/AndroidRuntime(20552): at xyz.hisname.fireflyiii.repository.BaseViewModel.genericService(BaseViewModel.kt:8)
01-14 23:14:48.230 E/AndroidRuntime(20552): at xyz.hisname.fireflyiii.ui.onboarding.AuthActivityViewModel.authViaPat(AuthActivityViewModel.kt:9)
01-14 23:14:48.230 E/AndroidRuntime(20552): at xyz.hisname.fireflyiii.ui.onboarding.PatFragment.$r8$lambda$Kru86axVGEFVs5XkG5abLhHW8Zw(PatFragment.kt:12)
01-14 23:14:48.230 E/AndroidRuntime(20552): at xyz.hisname.fireflyiii.ui.onboarding.PatFragment$$ExternalSyntheticLambda0.onClick(Unknown Source:8)
01-14 23:14:48.230 E/AndroidRuntime(20552): at android.view.View.performClick(View.java:7259)
01-14 23:14:48.230 E/AndroidRuntime(20552): at android.view.View.performClickInternal(View.java:7236)
01-14 23:14:48.230 E/AndroidRuntime(20552): at android.view.View.access$3600(View.java:801)
01-14 23:14:48.230 E/AndroidRuntime(20552): at android.view.View$PerformClick.run(View.java:27892)
01-14 23:14:48.230 E/AndroidRuntime(20552): at android.os.Handler.handleCallback(Handler.java:883)
01-14 23:14:48.230 E/AndroidRuntime(20552): at android.os.Handler.dispatchMessage(Handler.java:100)
01-14 23:14:48.230 E/AndroidRuntime(20552): at android.os.Looper.loop(Looper.java:214)
01-14 23:14:48.230 E/AndroidRuntime(20552): at android.app.ActivityThread.main(ActivityThread.java:7356)
01-14 23:14:48.230 E/AndroidRuntime(20552): at java.lang.reflect.Method.invoke(Native Method)
01-14 23:14:48.230 E/AndroidRuntime(20552): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
01-14 23:14:48.230 E/AndroidRuntime(20552): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
01-14 23:15:29.206 E/AndroidRuntime(20555): FATAL EXCEPTION: main
01-14 23:15:29.206 E/AndroidRuntime(20555): Process: xyz.hisname.fireflyiii, PID: 20555
01-14 23:15:29.206 E/AndroidRuntime(20555): java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel
01-14 23:15:29.206 E/AndroidRuntime(20555): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-14 23:15:29.206 E/AndroidRuntime(20555): at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-14 23:15:29.206 E/AndroidRuntime(20555): at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-14 23:15:29.206 E/AndroidRuntime(20555): at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getImprovedViewModel$default(LiveDataExtension.kt:2)
01-14 23:15:29.206 E/AndroidRuntime(20555): at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment$dashboardView$2.invoke(DashboardFragment.kt:1)
01-14 23:15:29.206 E/AndroidRuntime(20555): at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-14 23:15:29.206 E/AndroidRuntime(20555): at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.getDashboardView(DashboardFragment.kt:1)
01-14 23:15:29.206 E/AndroidRuntime(20555): at xyz.hisname.fireflyiii.ui.dashboard.DashboardFragment.onViewCreated(DashboardFragment.kt:1)
01-14 23:15:29.206 E/AndroidRuntime(20555): at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:29)
01-14 23:15:29.206 E/AndroidRuntime(20555): at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:22)
01-14 23:15:29.206 E/AndroidRuntime(20555): at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:120)
01-14 23:15:29.206 E/AndroidRuntime(20555): at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:9)
01-14 23:15:29.206 E/AndroidRuntime(20555): at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:12)
01-14 23:15:29.206 E/AndroidRuntime(20555): at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:1)
01-14 23:15:29.206 E/AndroidRuntime(20555): at android.os.Handler.handleCallback(Handler.java:883)
01-14 23:15:29.206 E/AndroidRuntime(20555): at android.os.Handler.dispatchMessage(Handler.java:100)
01-14 23:15:29.206 E/AndroidRuntime(20555): at android.os.Looper.loop(Looper.java:214)
01-14 23:15:29.206 E/AndroidRuntime(20555): at android.app.ActivityThread.main(ActivityThread.java:7356)
01-14 23:15:29.206 E/AndroidRuntime(20555): at java.lang.reflect.Method.invoke(Native Method)
01-14 23:15:29.206 E/AndroidRuntime(20555): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
01-14 23:15:29.206 E/AndroidRuntime(20555): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
01-14 23:15:29.206 E/AndroidRuntime(20555): Caused by: java.lang.reflect.InvocationTargetException
01-14 23:15:29.206 E/AndroidRuntime(20555): at java.lang.reflect.Constructor.newInstance0(Native Method)
01-14 23:15:29.206 E/AndroidRuntime(20555): at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-14 23:15:29.206 E/AndroidRuntime(20555): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-14 23:15:29.206 E/AndroidRuntime(20555): ... 20 more
01-14 23:15:29.206 E/AndroidRuntime(20555): 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-14 23:15:29.206 E/AndroidRuntime(20555): at xyz.hisname.fireflyiii.data.local.dao.AppDatabase$Companion.getInstance(Unknown Source:7)
01-14 23:15:29.206 E/AndroidRuntime(20555): at xyz.hisname.fireflyiii.ui.dashboard.DashboardViewModel.(DashboardViewModel.kt:3)
01-14 23:15:29.206 E/AndroidRuntime(20555): ... 23 more
01-14 23:23:19.408 E/AndroidRuntime(24218): FATAL EXCEPTION: main
01-14 23:23:19.408 E/AndroidRuntime(24218): Process: xyz.hisname.fireflyiii, PID: 24218
01-14 23:23:19.408 E/AndroidRuntime(24218): 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-14 23:23:19.408 E/AndroidRuntime(24218): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
01-14 23:23:19.408 E/AndroidRuntime(24218): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
01-14 23:23:19.408 E/AndroidRuntime(24218): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
01-14 23:23:19.408 E/AndroidRuntime(24218): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
01-14 23:23:19.408 E/AndroidRuntime(24218): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
01-14 23:23:19.408 E/AndroidRuntime(24218): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
01-14 23:23:19.408 E/AndroidRuntime(24218): at android.os.Handler.dispatchMessage(Handler.java:107)
01-14 23:23:19.408 E/AndroidRuntime(24218): at android.os.Looper.loop(Looper.java:214)
01-14 23:23:19.408 E/AndroidRuntime(24218): at android.app.ActivityThread.main(ActivityThread.java:7356)
01-14 23:23:19.408 E/AndroidRuntime(24218): at java.lang.reflect.Method.invoke(Native Method)
01-14 23:23:19.408 E/AndroidRuntime(24218): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
01-14 23:23:19.408 E/AndroidRuntime(24218): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
01-14 23:23:19.408 E/AndroidRuntime(24218): Caused by: java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel
01-14 23:23:19.408 E/AndroidRuntime(24218): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-14 23:23:19.408 E/AndroidRuntime(24218): at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-14 23:23:19.408 E/AndroidRuntime(24218): at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-14 23:23:19.408 E/AndroidRuntime(24218): at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getViewModel$default(LiveDataExtension.kt:2)
01-14 23:23:19.408 E/AndroidRuntime(24218): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity$addTransactionViewModel$2.invoke(AddTransactionActivity.kt:1)
01-14 23:23:19.408 E/AndroidRuntime(24218): at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-14 23:23:19.408 E/AndroidRuntime(24218): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.getAddTransactionViewModel(AddTransactionActivity.kt:1)
01-14 23:23:19.408 E/AndroidRuntime(24218): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.$r8$lambda$Ca8gz-rxzwYjifeAajQ2K6YN2fU(AddTransactionActivity.kt:3)
01-14 23:23:19.408 E/AndroidRuntime(24218): at com.google.android.material.navigation.NavigationBarView$1.onMenuItemSelected(NavigationBarView.java:3)
01-14 23:23:19.408 E/AndroidRuntime(24218): at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:1)
01-14 23:23:19.408 E/AndroidRuntime(24218): at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:2)
01-14 23:23:19.408 E/AndroidRuntime(24218): at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:4)
01-14 23:23:19.408 E/AndroidRuntime(24218): at com.google.android.material.navigation.NavigationBarView.setSelectedItemId(NavigationBarView.java:2)
01-14 23:23:19.408 E/AndroidRuntime(24218): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.onCreate(AddTransactionActivity.kt:14)
01-14 23:23:19.408 E/AndroidRuntime(24218): at android.app.Activity.performCreate(Activity.java:7824)
01-14 23:23:19.408 E/AndroidRuntime(24218): at android.app.Activity.performCreate(Activity.java:7813)
01-14 23:23:19.408 E/AndroidRuntime(24218): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
01-14 23:23:19.408 E/AndroidRuntime(24218): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
01-14 23:23:19.408 E/AndroidRuntime(24218): ... 11 more
01-14 23:23:19.408 E/AndroidRuntime(24218): Caused by: java.lang.reflect.InvocationTargetException
01-14 23:23:19.408 E/AndroidRuntime(24218): at java.lang.reflect.Constructor.newInstance0(Native Method)
01-14 23:23:19.408 E/AndroidRuntime(24218): at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-14 23:23:19.408 E/AndroidRuntime(24218): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-14 23:23:19.408 E/AndroidRuntime(24218): ... 28 more
01-14 23:23:19.408 E/AndroidRuntime(24218): 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-14 23:23:19.408 E/AndroidRuntime(24218): at xyz.hisname.fireflyiii.data.local.dao.TmpDatabase$Companion.getInstance(Unknown Source:7)
01-14 23:23:19.408 E/AndroidRuntime(24218): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel.(AddTransactionViewModel.kt:2)
01-14 23:23:19.408 E/AndroidRuntime(24218): ... 31 more
--------- beginning of main
01-14 23:25:00.348 D/WM-WrkMgrInitializer(27631): Initializing WorkManager with default configuration.
01-14 23:25:00.349 W/name.fireflyii(27631): Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
01-14 23:25:00.350 W/name.fireflyii(27631): Accessing hidden method Ljava/util/Collections$SynchronizedSet;->(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
01-14 23:25:00.350 W/name.fireflyii(27631): Accessing hidden method Ljava/util/Collections$SynchronizedCollection;->(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
01-14 23:25:00.380 I/ACRA (27631): ACRA is enabled for xyz.hisname.fireflyiii, initializing...
01-14 23:25:00.402 W/name.fireflyii(27631): Accessing hidden method Landroid/view/Window;->getInsetsController()Landroid/view/WindowInsetsController; (blacklist, linking, denied)
01-14 23:25:00.434 W/ActivityThread(27631): handleWindowVisibility: no activity for token android.os.BinderProxy@26ab772
01-14 23:25:00.499 I/AdrenoGLES(27631): QUALCOMM build : 033a5b0, I0e419467bc
01-14 23:25:00.499 I/AdrenoGLES(27631): Build Date : 03/11/20
01-14 23:25:00.499 I/AdrenoGLES(27631): OpenGL ES Shader Compiler Version: EV031.27.05.01
01-14 23:25:00.499 I/AdrenoGLES(27631): Local Branch :
01-14 23:25:00.499 I/AdrenoGLES(27631): Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.8.3.R1.10.00.00.520.058
01-14 23:25:00.499 I/AdrenoGLES(27631): Remote Branch : NONE
01-14 23:25:00.499 I/AdrenoGLES(27631): Reconstruct Branch : NOTHING
01-14 23:25:00.499 I/AdrenoGLES(27631): Build Config : S P 8.0.11 AArch64
01-14 23:25:00.502 I/AdrenoGLES(27631): PFP: 0x016ee187, ME: 0x00000000
01-14 23:25:00.516 W/Gralloc3(27631): mapper 3.x is not supported
01-14 23:25:00.553 W/ActivityThread(27631): Activity state must be in [ON_RESUME..ON_STOP] in order to be relaunched,current state is 1
01-14 23:25:14.590 D/WM-WrkMgrInitializer(28598): Initializing WorkManager with default configuration.
01-14 23:25:14.591 W/name.fireflyii(28598): Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
01-14 23:25:14.591 W/name.fireflyii(28598): Accessing hidden method Ljava/util/Collections$SynchronizedSet;->(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
01-14 23:25:14.591 W/name.fireflyii(28598): Accessing hidden method Ljava/util/Collections$SynchronizedCollection;->(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
01-14 23:25:14.618 I/ACRA (28598): ACRA is enabled for xyz.hisname.fireflyiii, initializing...
01-14 23:25:14.646 W/name.fireflyii(28598): Accessing hidden method Landroid/view/Window;->getInsetsController()Landroid/view/WindowInsetsController; (blacklist, linking, denied)
01-14 23:25:14.679 W/ActivityThread(28598): handleWindowVisibility: no activity for token android.os.BinderProxy@e1fe840
01-14 23:25:14.741 I/AdrenoGLES(28598): QUALCOMM build : 033a5b0, I0e419467bc
01-14 23:25:14.741 I/AdrenoGLES(28598): Build Date : 03/11/20
01-14 23:25:14.741 I/AdrenoGLES(28598): OpenGL ES Shader Compiler Version: EV031.27.05.01
01-14 23:25:14.741 I/AdrenoGLES(28598): Local Branch :
01-14 23:25:14.741 I/AdrenoGLES(28598): Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.8.3.R1.10.00.00.520.058
01-14 23:25:14.741 I/AdrenoGLES(28598): Remote Branch : NONE
01-14 23:25:14.741 I/AdrenoGLES(28598): Reconstruct Branch : NOTHING
01-14 23:25:14.742 I/AdrenoGLES(28598): Build Config : S P 8.0.11 AArch64
01-14 23:25:14.744 I/AdrenoGLES(28598): PFP: 0x016ee187, ME: 0x00000000
01-14 23:25:14.753 W/Gralloc3(28598): mapper 3.x is not supported
01-14 23:25:14.813 W/ActivityThread(28598): Activity state must be in [ON_RESUME..ON_STOP] in order to be relaunched,current state is 1
01-14 23:25:26.819 I/AssistStructure(28598): Flattened final assist data: 3276 bytes, containing 2 windows, 22 views
01-14 23:25:27.697 D/OpenGLRenderer(28598): endAllActiveAnimators on 0x746361a600 (RippleDrawable) with handle 0x74f37130e0
01-14 23:25:37.663 D/OpenGLRenderer(28598): endAllActiveAnimators on 0x7405d54600 (RippleDrawable) with handle 0x746354a360
01-14 23:25:38.572 D/NetworkSecurityConfig(28598): Using Network Security Config from resource network_security_config debugBuild: false
01-14 23:25:39.544 W/ActivityThread(28598): handleWindowVisibility: no activity for token android.os.BinderProxy@707138d
01-14 23:25:39.695 W/RecyclerView(28598): No adapter attached; skipping layout
01-14 23:25:40.313 D/AutofillManager(28598): onActivityFinishing(): calling cancelLocked()
01-14 23:25:49.572 W/ActivityThread(28598): handleWindowVisibility: no activity for token android.os.BinderProxy@1bc727d
01-14 23:25:49.596 D/AndroidRuntime(28598): Shutting down VM
01-14 23:25:49.597 E/AndroidRuntime(28598): FATAL EXCEPTION: main
01-14 23:25:49.597 E/AndroidRuntime(28598): Process: xyz.hisname.fireflyiii, PID: 28598
01-14 23:25:49.597 E/AndroidRuntime(28598): 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-14 23:25:49.597 E/AndroidRuntime(28598): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
01-14 23:25:49.597 E/AndroidRuntime(28598): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
01-14 23:25:49.597 E/AndroidRuntime(28598): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
01-14 23:25:49.597 E/AndroidRuntime(28598): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
01-14 23:25:49.597 E/AndroidRuntime(28598): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
01-14 23:25:49.597 E/AndroidRuntime(28598): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
01-14 23:25:49.597 E/AndroidRuntime(28598): at android.os.Handler.dispatchMessage(Handler.java:107)
01-14 23:25:49.597 E/AndroidRuntime(28598): at android.os.Looper.loop(Looper.java:214)
01-14 23:25:49.597 E/AndroidRuntime(28598): at android.app.ActivityThread.main(ActivityThread.java:7356)
01-14 23:25:49.597 E/AndroidRuntime(28598): at java.lang.reflect.Method.invoke(Native Method)
01-14 23:25:49.597 E/AndroidRuntime(28598): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
01-14 23:25:49.597 E/AndroidRuntime(28598): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
01-14 23:25:49.597 E/AndroidRuntime(28598): Caused by: java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel
01-14 23:25:49.597 E/AndroidRuntime(28598): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-14 23:25:49.597 E/AndroidRuntime(28598): at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-14 23:25:49.597 E/AndroidRuntime(28598): at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-14 23:25:49.597 E/AndroidRuntime(28598): at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getViewModel$default(LiveDataExtension.kt:2)
01-14 23:25:49.597 E/AndroidRuntime(28598): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity$addTransactionViewModel$2.invoke(AddTransactionActivity.kt:1)
01-14 23:25:49.597 E/AndroidRuntime(28598): at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-14 23:25:49.597 E/AndroidRuntime(28598): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.getAddTransactionViewModel(AddTransactionActivity.kt:1)
01-14 23:25:49.597 E/AndroidRuntime(28598): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.$r8$lambda$Ca8gz-rxzwYjifeAajQ2K6YN2fU(AddTransactionActivity.kt:3)
01-14 23:25:49.597 E/AndroidRuntime(28598): at com.google.android.material.navigation.NavigationBarView$1.onMenuItemSelected(NavigationBarView.java:3)
01-14 23:25:49.597 E/AndroidRuntime(28598): at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:1)
01-14 23:25:49.597 E/AndroidRuntime(28598): at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:2)
01-14 23:25:49.597 E/AndroidRuntime(28598): at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:4)
01-14 23:25:49.597 E/AndroidRuntime(28598): at com.google.android.material.navigation.NavigationBarView.setSelectedItemId(NavigationBarView.java:2)
01-14 23:25:49.597 E/AndroidRuntime(28598): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.onCreate(AddTransactionActivity.kt:14)
01-14 23:25:49.597 E/AndroidRuntime(28598): at android.app.Activity.performCreate(Activity.java:7824)
01-14 23:25:49.597 E/AndroidRuntime(28598): at android.app.Activity.performCreate(Activity.java:7813)
01-14 23:25:49.597 E/AndroidRuntime(28598): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
01-14 23:25:49.597 E/AndroidRuntime(28598): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
01-14 23:25:49.597 E/AndroidRuntime(28598): ... 11 more
01-14 23:25:49.597 E/AndroidRuntime(28598): Caused by: java.lang.reflect.InvocationTargetException
01-14 23:25:49.597 E/AndroidRuntime(28598): at java.lang.reflect.Constructor.newInstance0(Native Method)
01-14 23:25:49.597 E/AndroidRuntime(28598): at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-14 23:25:49.597 E/AndroidRuntime(28598): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-14 23:25:49.597 E/AndroidRuntime(28598): ... 28 more
01-14 23:25:49.597 E/AndroidRuntime(28598): 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-14 23:25:49.597 E/AndroidRuntime(28598): at xyz.hisname.fireflyiii.data.local.dao.TmpDatabase$Companion.getInstance(Unknown Source:7)
01-14 23:25:49.597 E/AndroidRuntime(28598): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel.(AddTransactionViewModel.kt:2)
01-14 23:25:49.597 E/AndroidRuntime(28598): ... 31 more
01-14 23:25:49.597 E/ACRA (28598): ACRA caught a RuntimeException for xyz.hisname.fireflyiii
01-14 23:25:49.597 E/ACRA (28598): 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-14 23:25:49.597 E/ACRA (28598): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
01-14 23:25:49.597 E/ACRA (28598): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
01-14 23:25:49.597 E/ACRA (28598): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
01-14 23:25:49.597 E/ACRA (28598): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
01-14 23:25:49.597 E/ACRA (28598): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
01-14 23:25:49.597 E/ACRA (28598): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
01-14 23:25:49.597 E/ACRA (28598): at android.os.Handler.dispatchMessage(Handler.java:107)
01-14 23:25:49.597 E/ACRA (28598): at android.os.Looper.loop(Looper.java:214)
01-14 23:25:49.597 E/ACRA (28598): at android.app.ActivityThread.main(ActivityThread.java:7356)
01-14 23:25:49.597 E/ACRA (28598): at java.lang.reflect.Method.invoke(Native Method)
01-14 23:25:49.597 E/ACRA (28598): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
01-14 23:25:49.597 E/ACRA (28598): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
01-14 23:25:49.597 E/ACRA (28598): Caused by: java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel
01-14 23:25:49.597 E/ACRA (28598): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-14 23:25:49.597 E/ACRA (28598): at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-14 23:25:49.597 E/ACRA (28598): at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-14 23:25:49.597 E/ACRA (28598): at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getViewModel$default(LiveDataExtension.kt:2)
01-14 23:25:49.597 E/ACRA (28598): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity$addTransactionViewModel$2.invoke(AddTransactionActivity.kt:1)
01-14 23:25:49.597 E/ACRA (28598): at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-14 23:25:49.597 E/ACRA (28598): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.getAddTransactionViewModel(AddTransactionActivity.kt:1)
01-14 23:25:49.597 E/ACRA (28598): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.$r8$lambda$Ca8gz-rxzwYjifeAajQ2K6YN2fU(AddTransactionActivity.kt:3)
01-14 23:25:49.597 E/ACRA (28598): at com.google.android.material.navigation.NavigationBarView$1.onMenuItemSelected(NavigationBarView.java:3)
01-14 23:25:49.597 E/ACRA (28598): at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:1)
01-14 23:25:49.597 E/ACRA (28598): at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:2)
01-14 23:25:49.597 E/ACRA (28598): at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:4)
01-14 23:25:49.597 E/ACRA (28598): at com.google.android.material.navigation.NavigationBarView.setSelectedItemId(NavigationBarView.java:2)
01-14 23:25:49.597 E/ACRA (28598): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.onCreate(AddTransactionActivity.kt:14)
01-14 23:25:49.597 E/ACRA (28598): at android.app.Activity.performCreate(Activity.java:7824)
01-14 23:25:49.597 E/ACRA (28598): at android.app.Activity.performCreate(Activity.java:7813)
01-14 23:25:49.597 E/ACRA (28598): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
01-14 23:25:49.597 E/ACRA (28598): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
01-14 23:25:49.597 E/ACRA (28598): ... 11 more
01-14 23:25:49.597 E/ACRA (28598): Caused by: java.lang.reflect.InvocationTargetException
01-14 23:25:49.597 E/ACRA (28598): at java.lang.reflect.Constructor.newInstance0(Native Method)
01-14 23:25:49.597 E/ACRA (28598): at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-14 23:25:49.597 E/ACRA (28598): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-14 23:25:49.597 E/ACRA (28598): ... 28 more
01-14 23:25:49.597 E/ACRA (28598): 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-14 23:25:49.597 E/ACRA (28598): at xyz.hisname.fireflyiii.data.local.dao.TmpDatabase$Companion.getInstance(Unknown Source:7)
01-14 23:25:49.597 E/ACRA (28598): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel.(AddTransactionViewModel.kt:2)
01-14 23:25:49.597 E/ACRA (28598): ... 31 more

IS_SILENT=false
USER_CRASH_DATE=2022-01-14T23:25:49.598+01:00

Hi dude, I've tryed several time to make the app working but no effects :(
I've made a clean memory every try
Any fix possible?
Thx

@emansih
Copy link
Owner

emansih commented Jan 15, 2022

Sorry about that. Could you try oauth?

@emansih
Copy link
Owner

emansih commented Jan 15, 2022

I will try to push out a fix tonight

@emansih
Copy link
Owner

emansih commented Jan 15, 2022

Ok. This is weird. It breaks only on production builds. My debug builds doesn't break. It could be something regarding proguard.

emansih added a commit that referenced this issue Jan 15, 2022
Issue is due to using source and target compatibility with Java 11
@PietroMB
Copy link
Author

Wow @emansih, really too fast!
Anyway I've also tryed log in via oauth following your guide but it produce the same effect

@emansih
Copy link
Owner

emansih commented Jan 15, 2022

Try the new build that I pushed out a few hours ago. Should fix the issue

@PietroMB
Copy link
Author

I've just try the last build but with PAT looks not work, here the log

REPORT_ID=ccf6fc35-db9e-4b5c-9a92-23656562ac4e
APP_VERSION_NAME=5.0.3
PHONE_MODEL=Mi MIX 2S
BRAND=Xiaomi
PRODUCT=polaris
ANDROID_VERSION=10
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:3270)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
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:2016)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
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:7824)
at android.app.Activity.performCreate(Activity.java:7813)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
... 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.(AddTransactionViewModel.kt:2)
... 31 more

LOGCAT=--------- beginning of main
01-15 11:25:56.395 D/WM-WrkMgrInitializer( 4846): Initializing WorkManager with default configuration.
01-15 11:25:56.395 I/name.fireflyii( 4846): Starting a blocking GC Alloc
01-15 11:25:56.395 I/name.fireflyii( 4846): Starting a blocking GC Alloc
01-15 11:25:56.402 W/name.fireflyii( 4846): Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
01-15 11:25:56.402 W/name.fireflyii( 4846): Accessing hidden method Ljava/util/Collections$SynchronizedSet;->(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
01-15 11:25:56.402 W/name.fireflyii( 4846): Accessing hidden method Ljava/util/Collections$SynchronizedCollection;->(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
01-15 11:25:56.430 I/ACRA ( 4846): ACRA is enabled for xyz.hisname.fireflyiii, initializing...
01-15 11:25:56.456 W/name.fireflyii( 4846): Accessing hidden method Landroid/view/Window;->getInsetsController()Landroid/view/WindowInsetsController; (blacklist, linking, denied)
01-15 11:25:56.490 W/ActivityThread( 4846): handleWindowVisibility: no activity for token android.os.BinderProxy@b487dd1
01-15 11:25:56.540 I/AdrenoGLES( 4846): QUALCOMM build : 033a5b0, I0e419467bc
01-15 11:25:56.540 I/AdrenoGLES( 4846): Build Date : 03/11/20
01-15 11:25:56.540 I/AdrenoGLES( 4846): OpenGL ES Shader Compiler Version: EV031.27.05.01
01-15 11:25:56.540 I/AdrenoGLES( 4846): Local Branch :
01-15 11:25:56.540 I/AdrenoGLES( 4846): Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.8.3.R1.10.00.00.520.058
01-15 11:25:56.540 I/AdrenoGLES( 4846): Remote Branch : NONE
01-15 11:25:56.540 I/AdrenoGLES( 4846): Reconstruct Branch : NOTHING
01-15 11:25:56.540 I/AdrenoGLES( 4846): Build Config : S P 8.0.11 AArch64
01-15 11:25:56.543 I/AdrenoGLES( 4846): PFP: 0x016ee187, ME: 0x00000000
01-15 11:25:56.553 W/Gralloc3( 4846): mapper 3.x is not supported
01-15 11:25:56.581 W/ActivityThread( 4846): Activity state must be in [ON_RESUME..ON_STOP] in order to be relaunched,current state is 1
01-15 11:26:05.848 I/AssistStructure( 4846): Flattened final assist data: 3168 bytes, containing 1 windows, 21 views
01-15 11:26:39.693 I/AssistStructure( 4846): Flattened final assist data: 3648 bytes, containing 1 windows, 21 views
01-15 11:26:40.953 I/AssistStructure( 4846): Flattened final assist data: 3760 bytes, containing 2 windows, 22 views
01-15 11:26:41.702 D/OpenGLRenderer( 4846): endAllActiveAnimators on 0x7406374900 (RippleDrawable) with handle 0x74f3701ac0
01-15 11:26:42.563 D/NetworkSecurityConfig( 4846): Using Network Security Config from resource network_security_config debugBuild: false
01-15 11:26:44.144 W/ActivityThread( 4846): handleWindowVisibility: no activity for token android.os.BinderProxy@153430c
01-15 11:26:44.282 W/RecyclerView( 4846): No adapter attached; skipping layout
01-15 11:26:44.896 D/AutofillManager( 4846): onActivityFinishing(): calling cancelLocked()
01-15 11:27:02.158 W/ActivityThread( 4846): handleWindowVisibility: no activity for token android.os.BinderProxy@f83c1bc
01-15 11:27:02.178 D/AndroidRuntime( 4846): Shutting down VM
--------- beginning of crash
01-15 11:27:02.178 E/AndroidRuntime( 4846): FATAL EXCEPTION: main
01-15 11:27:02.178 E/AndroidRuntime( 4846): Process: xyz.hisname.fireflyiii, PID: 4846
01-15 11:27:02.178 E/AndroidRuntime( 4846): 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-15 11:27:02.178 E/AndroidRuntime( 4846): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at android.os.Handler.dispatchMessage(Handler.java:107)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at android.os.Looper.loop(Looper.java:214)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at android.app.ActivityThread.main(ActivityThread.java:7356)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at java.lang.reflect.Method.invoke(Native Method)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
01-15 11:27:02.178 E/AndroidRuntime( 4846): Caused by: java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel
01-15 11:27:02.178 E/AndroidRuntime( 4846): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getViewModel$default(LiveDataExtension.kt:2)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity$addTransactionViewModel$2.invoke(AddTransactionActivity.kt:1)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.getAddTransactionViewModel(AddTransactionActivity.kt:1)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.$r8$lambda$Ca8gz-rxzwYjifeAajQ2K6YN2fU(AddTransactionActivity.kt:3)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at com.google.android.material.navigation.NavigationBarView$1.onMenuItemSelected(NavigationBarView.java:3)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:1)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:2)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:4)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at com.google.android.material.navigation.NavigationBarView.setSelectedItemId(NavigationBarView.java:2)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.onCreate(AddTransactionActivity.kt:14)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at android.app.Activity.performCreate(Activity.java:7824)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at android.app.Activity.performCreate(Activity.java:7813)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
01-15 11:27:02.178 E/AndroidRuntime( 4846): ... 11 more
01-15 11:27:02.178 E/AndroidRuntime( 4846): Caused by: java.lang.reflect.InvocationTargetException
01-15 11:27:02.178 E/AndroidRuntime( 4846): at java.lang.reflect.Constructor.newInstance0(Native Method)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-15 11:27:02.178 E/AndroidRuntime( 4846): ... 28 more
01-15 11:27:02.178 E/AndroidRuntime( 4846): 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-15 11:27:02.178 E/AndroidRuntime( 4846): at xyz.hisname.fireflyiii.data.local.dao.TmpDatabase$Companion.getInstance(Unknown Source:7)
01-15 11:27:02.178 E/AndroidRuntime( 4846): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel.(AddTransactionViewModel.kt:2)
01-15 11:27:02.178 E/AndroidRuntime( 4846): ... 31 more
01-15 11:27:02.179 E/ACRA ( 4846): ACRA caught a RuntimeException for xyz.hisname.fireflyiii
01-15 11:27:02.179 E/ACRA ( 4846): 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-15 11:27:02.179 E/ACRA ( 4846): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
01-15 11:27:02.179 E/ACRA ( 4846): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
01-15 11:27:02.179 E/ACRA ( 4846): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
01-15 11:27:02.179 E/ACRA ( 4846): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
01-15 11:27:02.179 E/ACRA ( 4846): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
01-15 11:27:02.179 E/ACRA ( 4846): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
01-15 11:27:02.179 E/ACRA ( 4846): at android.os.Handler.dispatchMessage(Handler.java:107)
01-15 11:27:02.179 E/ACRA ( 4846): at android.os.Looper.loop(Looper.java:214)
01-15 11:27:02.179 E/ACRA ( 4846): at android.app.ActivityThread.main(ActivityThread.java:7356)
01-15 11:27:02.179 E/ACRA ( 4846): at java.lang.reflect.Method.invoke(Native Method)
01-15 11:27:02.179 E/ACRA ( 4846): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
01-15 11:27:02.179 E/ACRA ( 4846): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
01-15 11:27:02.179 E/ACRA ( 4846): Caused by: java.lang.RuntimeException: Cannot create an instance of class xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel
01-15 11:27:02.179 E/ACRA ( 4846): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:3)
01-15 11:27:02.179 E/ACRA ( 4846): at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.java:5)
01-15 11:27:02.179 E/ACRA ( 4846): at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:8)
01-15 11:27:02.179 E/ACRA ( 4846): at xyz.hisname.fireflyiii.util.extension.LiveDataExtensionKt.getViewModel$default(LiveDataExtension.kt:2)
01-15 11:27:02.179 E/ACRA ( 4846): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity$addTransactionViewModel$2.invoke(AddTransactionActivity.kt:1)
01-15 11:27:02.179 E/ACRA ( 4846): at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:5)
01-15 11:27:02.179 E/ACRA ( 4846): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.getAddTransactionViewModel(AddTransactionActivity.kt:1)
01-15 11:27:02.179 E/ACRA ( 4846): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.$r8$lambda$Ca8gz-rxzwYjifeAajQ2K6YN2fU(AddTransactionActivity.kt:3)
01-15 11:27:02.179 E/ACRA ( 4846): at com.google.android.material.navigation.NavigationBarView$1.onMenuItemSelected(NavigationBarView.java:3)
01-15 11:27:02.179 E/ACRA ( 4846): at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:1)
01-15 11:27:02.179 E/ACRA ( 4846): at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:2)
01-15 11:27:02.179 E/ACRA ( 4846): at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:4)
01-15 11:27:02.179 E/ACRA ( 4846): at com.google.android.material.navigation.NavigationBarView.setSelectedItemId(NavigationBarView.java:2)
01-15 11:27:02.179 E/ACRA ( 4846): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionActivity.onCreate(AddTransactionActivity.kt:14)
01-15 11:27:02.179 E/ACRA ( 4846): at android.app.Activity.performCreate(Activity.java:7824)
01-15 11:27:02.179 E/ACRA ( 4846): at android.app.Activity.performCreate(Activity.java:7813)
01-15 11:27:02.179 E/ACRA ( 4846): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
01-15 11:27:02.179 E/ACRA ( 4846): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
01-15 11:27:02.179 E/ACRA ( 4846): ... 11 more
01-15 11:27:02.179 E/ACRA ( 4846): Caused by: java.lang.reflect.InvocationTargetException
01-15 11:27:02.179 E/ACRA ( 4846): at java.lang.reflect.Constructor.newInstance0(Native Method)
01-15 11:27:02.179 E/ACRA ( 4846): at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
01-15 11:27:02.179 E/ACRA ( 4846): at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.java:2)
01-15 11:27:02.179 E/ACRA ( 4846): ... 28 more
01-15 11:27:02.179 E/ACRA ( 4846): 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-15 11:27:02.179 E/ACRA ( 4846): at xyz.hisname.fireflyiii.data.local.dao.TmpDatabase$Companion.getInstance(Unknown Source:7)
01-15 11:27:02.179 E/ACRA ( 4846): at xyz.hisname.fireflyiii.ui.transaction.addtransaction.AddTransactionViewModel.(AddTransactionViewModel.kt:2)
01-15 11:27:02.179 E/ACRA ( 4846): ... 31 more

USER_CRASH_DATE=2022-01-15T11:27:02.180+01:00
IS_SILENT=false

@emansih
Copy link
Owner

emansih commented Jan 15, 2022

Is this a fresh install? (Uninstall and install again). Tested on Mi 9T Pro, Android 11.

5.0.3-FireflyIII-Screenrecord.mp4

@PietroMB
Copy link
Author

I'm sorry man, don't know why this wont work to me... here my steps
signal-2022-01-15-231813

signal-2022-01-15-231928.mp4

@PietroMB
Copy link
Author

on my own server I can achieve this
app stops after pressing the bottom button

signal-2022-01-15-232425.mp4

@emansih
Copy link
Owner

emansih commented Jan 15, 2022

what happens if you use oauth?

@PietroMB
Copy link
Author

PietroMB commented Jan 15, 2022

same as my last video, anyway if possible I prefer PAT

@emansih
Copy link
Owner

emansih commented Jan 16, 2022

https://drive.google.com/file/d/1i84Z_P1d8W9WnjOF0IilRHx_2M1pP5yt/view?usp=sharing

Try this. It might fix your issue

@xxxcrow
Copy link

xxxcrow commented Jan 22, 2022

The version @emansih sent is working 💯
UPD: logging in, but crashing on using buttons 😅

emansih added a commit that referenced this issue Jan 26, 2022
Fix by not deleting old accounts. I hope this works....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants