Closed gruetze94 closed 11 months ago
Wichtig ist beim Erstellen eines Issues immer die App-Version, bei welcher das Problem auftritt und die Kontrolle, ob schon die neueste Version installiert wurde. Ihre Crashlogs deuten darauf hin, dass Sie noch v3.4.0 installiert haben, mittlerweile sind aber schon v3.4.1 und v3.4.2 erschienen. Könnten Sie die App auf den neuesten Stand bringen und hier schreiben, ob sich etwas geändert hat?
Ich habe das gleiche Fehlerbild und bereits seit 2 Minor Versionen. Heute morgen kam via F-Droid die 3.4.2, das Problem besteht leider weiterhin (ich nutze Android 13). Hier mein error log (mit eben dieser 3.4.2).
--------- beginning of crash
12-10 10:37:35.268 29177 29177 E AndroidRuntime: FATAL EXCEPTION: main
12-10 10:37:35.268 29177 29177 E AndroidRuntime: Process: xyz.zedler.patrick.grocy, PID: 29177
12-10 10:37:35.268 29177 29177 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'java.lang.String xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort$SortOption.name' on a null object reference in method 'void xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort.setItems$5()'
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort.setItems$5(FilterChipLiveDataSort.java:26)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort.<init>(FilterChipLiveDataSort.java:52)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at xyz.zedler.patrick.grocy.viewmodel.StockOverviewViewModel.<init>(StockOverviewViewModel.java:278)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at xyz.zedler.patrick.grocy.viewmodel.StockOverviewViewModel$StockOverviewViewModelFactory.create(StockOverviewViewModel.java:2)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$Factory$-CC.$default$create(ViewModelProvider.kt:11)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at xyz.zedler.patrick.grocy.viewmodel.StockOverviewViewModel$StockOverviewViewModelFactory.create(StockOverviewViewModel.java:1)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:11)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:2)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at xyz.zedler.patrick.grocy.fragment.StockOverviewFragment.onViewCreated(StockOverviewFragment.java:35)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:309)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:151)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1219)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:92)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:77)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:4)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:942)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:240)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at android.os.Looper.loop(Looper.java:351)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8423)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
12-10 10:37:35.268 29177 29177 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
--------- beginning of main
12-10 10:37:36.203 29425 29425 E r.patrick.grocy: Unknown bits set in runtime_flags: 0x40000000
12-10 10:37:36.207 29425 29425 E r.patrick.grocy: Not starting debugger since process cannot load the jdwp agent.
12-10 10:37:36.265 29425 29425 E SchedAssist: ofbOpen failed with error=No such file or directory
12-10 10:37:36.265 29425 29425 E SchedAssist: sysOpen failed with error=No such file or directory
12-10 10:37:36.265 29425 29425 E SchedAssist: sharedImFd failed with error=Permission denied
12-10 10:37:36.276 29425 30560 E r.patrick.grocy: Loaded layer handle (14592807940959855943) for layer /my_product/lib64/libcolorx-loader.so
12-10 10:37:36.276 29425 30560 E r.patrick.grocy: Looking for entrypoint ColorX_Check
12-10 10:37:36.276 29425 30560 E r.patrick.grocy: Found ColorX_Check for /my_product/lib64/libcolorx-loader.so
12-10 10:37:36.276 29425 30560 E r.patrick.grocy: Check failed
--------- beginning of system
12-10 10:37:36.359 29425 29425 E OplusCustomizeRestrictionManager: sInstance is null, start a new sInstance
12-10 10:37:36.435 29425 29425 E OplusBracketLog: [OplusViewMirrorManager] updateHostViewRootIfNeeded, not support android.view.ViewRootImpl@bd8c158
12-10 10:37:37.175 29425 29425 E OplusBracketLog: [OplusViewMirrorManager] updateHostViewRootIfNeeded, not support android.view.ViewRootImpl@e081b01
12-10 10:37:37.181 29425 29425 E IPCThreadState: attemptIncStrongHandle(84): Not supported
Aus dem Crashlog lässt sich schließen, dass @gruetze94 wahrscheinlich noch v3.4.0 benutzt, bei der es ein Bug mit Animationen gab und dass es bei Ihnen (@andreasbrett) ein anderer Grund ist, bei Ihnen scheint es mit den Filtern zu tun zu haben.
Weitere Issues bitte wenn möglich auf Englisch, damit keine Duplikate aufgrund unterschiedlicher Sprachen entstehen.
Hier nochmal mit der neuen Version der App:
--------- beginning of main
12-10 19:53:55.276 15494 15494 E AnimationUtils: RuntimeException for unknown animation name, resouce ID #0x7f020028
12-10 19:53:55.276 15494 15494 E AnimationUtils: loadAnimation: getConfiguration = {1.1 ?mcc?mnc [de_DE] ldltr sw800dp w1280dp h728dp 240dpi xlrg land finger qwerty/v/v -nav/h winConfig={ mBounds=Rect(0, 0 - 1920, 1200) mAppBounds=Rect(0, 0 - 1920, 1128) mMaxBounds=Rect(0, 0 - 1920, 1200) mDisplayRotation=ROTATION_90 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_90 mPopOver=off mStageConfig=undefined mFreeformTaskPinningState=unpinned mEmbedActivityMode=undefined mFreeformStashState=undefined} s.1 fontWeightAdjustment=0 ff=0 bf=0 bts=0 themeSeq=0 nightDim=-1}
12-10 19:53:55.276 15494 15494 E AnimationUtils: loadAnimation: getDisplayMetrics = DisplayMetrics{density=1.5, width=1920, height=1128, scaledDensity=1.6500001, xdpi=224.117, ydpi=216.746}
12-10 19:53:55.276 15494 15494 E AnimationUtils: loadAnimation: resourceName = xyz.zedler.patrick.grocy:animator/open_enter
12-10 19:53:57.321 15494 15494 E AnimationUtils: RuntimeException for unknown animation name, resouce ID #0x7f020029
12-10 19:53:57.321 15494 15494 E AnimationUtils: loadAnimation: getConfiguration = {1.1 ?mcc?mnc [de_DE] ldltr sw800dp w1280dp h728dp 240dpi xlrg land finger qwerty/v/v -nav/h winConfig={ mBounds=Rect(0, 0 - 1920, 1200) mAppBounds=Rect(0, 0 - 1920, 1128) mMaxBounds=Rect(0, 0 - 1920, 1200) mDisplayRotation=ROTATION_90 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_90 mPopOver=off mStageConfig=undefined mFreeformTaskPinningState=unpinned mEmbedActivityMode=undefined mFreeformStashState=undefined} s.1 fontWeightAdjustment=0 ff=0 bf=0 bts=0 themeSeq=0 nightDim=-1}
12-10 19:53:57.321 15494 15494 E AnimationUtils: loadAnimation: getDisplayMetrics = DisplayMetrics{density=1.5, width=1920, height=1128, scaledDensity=1.6500001, xdpi=224.117, ydpi=216.746}
12-10 19:53:57.321 15494 15494 E AnimationUtils: loadAnimation: resourceName = xyz.zedler.patrick.grocy:animator/open_exit
12-10 19:54:05.306 15494 15494 E AnimationUtils: RuntimeException for unknown animation name, resouce ID #0x7f020000
12-10 19:54:05.306 15494 15494 E AnimationUtils: loadAnimation: getConfiguration = {1.1 ?mcc?mnc [de_DE] ldltr sw800dp w1280dp h728dp 240dpi xlrg land finger qwerty/v/v -nav/h winConfig={ mBounds=Rect(0, 0 - 1920, 1200) mAppBounds=Rect(0, 0 - 1920, 1128) mMaxBounds=Rect(0, 0 - 1920, 1200) mDisplayRotation=ROTATION_90 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_90 mPopOver=off mStageConfig=undefined mFreeformTaskPinningState=unpinned mEmbedActivityMode=undefined mFreeformStashState=undefined} s.1 fontWeightAdjustment=0 ff=0 bf=0 bts=0 themeSeq=0 nightDim=-1}
12-10 19:54:05.306 15494 15494 E AnimationUtils: loadAnimation: getDisplayMetrics = DisplayMetrics{density=1.5, width=1920, height=1128, scaledDensity=1.6500001, xdpi=224.117, ydpi=216.746}
12-10 19:54:05.306 15494 15494 E AnimationUtils: loadAnimation: resourceName = xyz.zedler.patrick.grocy:animator/close_enter
12-10 19:54:06.709 15494 15494 E AnimationUtils: RuntimeException for unknown animation name, resouce ID #0x7f020001
12-10 19:54:06.709 15494 15494 E AnimationUtils: loadAnimation: getConfiguration = {1.1 ?mcc?mnc [de_DE] ldltr sw800dp w1280dp h728dp 240dpi xlrg land finger qwerty/v/v -nav/h winConfig={ mBounds=Rect(0, 0 - 1920, 1200) mAppBounds=Rect(0, 0 - 1920, 1128) mMaxBounds=Rect(0, 0 - 1920, 1200) mDisplayRotation=ROTATION_90 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_90 mPopOver=off mStageConfig=undefined mFreeformTaskPinningState=unpinned mEmbedActivityMode=undefined mFreeformStashState=undefined} s.1 fontWeightAdjustment=0 ff=0 bf=0 bts=0 themeSeq=0 nightDim=-1}
12-10 19:54:06.709 15494 15494 E AnimationUtils: loadAnimation: getDisplayMetrics = DisplayMetrics{density=1.5, width=1920, height=1128, scaledDensity=1.6500001, xdpi=224.117, ydpi=216.746}
12-10 19:54:06.709 15494 15494 E AnimationUtils: loadAnimation: resourceName = xyz.zedler.patrick.grocy:animator/close_exit
--------- beginning of crash
12-10 19:54:07.977 15494 15494 E AndroidRuntime: FATAL EXCEPTION: main
12-10 19:54:07.977 15494 15494 E AndroidRuntime: Process: xyz.zedler.patrick.grocy, PID: 15494
12-10 19:54:07.977 15494 15494 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'java.lang.String xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort$SortOption.name' on a null object reference in method 'void xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort.setItems$5()'
12-10 19:54:07.977 15494 15494 E AndroidRuntime: at xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort.setItems$5(FilterChipLiveDataSort.java:26)
12-10 19:54:07.977 15494 15494 E AndroidRuntime: at xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort.
Having the same issue on app version 3.4.1 and grocy version 4.0.3
Is there any other information I can provide that would help pinpoint the issue?
@sandervv Yes can you please try the nightly build and tell us here if something changed?
Just installed and tried it. Unfortunately still crashes on both pages.
Opening master data, chores or shopping list is fine. Opening the shopping list with items added from recipes also works. Its just the stock list and recipe list that make the app crash.
@sandervv Okay thanks, can you please send your crash log from the debugging section in sections?
12-17 08:41:48.228 15518 15518 E AndroidRuntime: FATAL EXCEPTION: main
12-17 08:41:48.228 15518 15518 E AndroidRuntime: Process: xyz.zedler.patrick.grocy, PID: 15518
12-17 08:41:48.228 15518 15518 E AndroidRuntime: java.lang.RuntimeException: Cannot create an instance of class xyz.zedler.patrick.grocy.viewmodel.RecipesViewModel
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.kt:17)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.kt:12)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.kt:2)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.kt:17)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:13)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:2)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at xyz.zedler.patrick.grocy.fragment.RecipesFragment.onViewCreated(RecipesFragment.java:16)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:296)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:144)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1213)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:92)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:74)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:4)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:942)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7918)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance0(Native Method)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.kt:15)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: ... 20 more
12-17 08:41:48.228 15518 15518 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to read from field 'java.lang.String xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort$SortOption.name' on a null object reference in method 'void xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort.setItems()'
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort.setItems(FilterChipLiveDataSort.java:26)
12-17 08:41:48.228 15518 15518 E AndroidRuntime: at xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort.
@dominiczedler Seems the problem is not fixed yet :/
I have the same experience. Opening stock or recipes page immediately crashes the app however I don't get any crash or error logs in the debugging section or settings. There are some informational messages but nothing that looks like what is posted above. App v3.4.1 and Grocy 4.0.3. This is a new install of both just this week (first time user). Samsung Galaxy S10e, Android 12
Die Android App Crash immer wieder wenn man auf die Flächen "Bestand" und "Rezepte" klickt. Besteht seit dem letzten Update (26.11.2023 ausgeführt). Auf mehreren Geräten derselbe Fehler.
Crashlog:
--------- beginning of main 12-09 20:50:04.139 12569 12569 E AnimationUtils: RuntimeException for unknown animation name, resouce ID #0x7f020028 12-09 20:50:04.139 12569 12569 E AnimationUtils: loadAnimation: getConfiguration = {0.9 262mcc2mnc [de_DE] ldltr sw320dp w320dp h639dp 540dpi nrml long port night finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2400) mAppBounds=Rect(0, 80 - 1080, 2238) mMaxBounds=Rect(0, 0 - 1080, 2400) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0 mPopOver=off mStageConfig=undefined mFreeformTaskPinningState=unpinned mFreeformStashState=undefined mDexTaskDockingState=undefined} s.1 fontWeightAdjustment=0 ff=0 bf=0 bts=0 desktop/d dm/n dc/d ?dcui themeSeq=0 nightDim=0} 12-09 20:50:04.139 12569 12569 E AnimationUtils: loadAnimation: getDisplayMetrics = DisplayMetrics{density=3.375, width=1080, height=2158, scaledDensity=3.0375, xdpi=422.03, ydpi=423.333} 12-09 20:50:04.139 12569 12569 E AnimationUtils: loadAnimation: resourceName = xyz.zedler.patrick.grocy:animator/open_enter 12-09 20:50:05.571 12569 12569 E AnimationUtils: RuntimeException for unknown animation name, resouce ID #0x7f020029 12-09 20:50:05.572 12569 12569 E AnimationUtils: loadAnimation: getConfiguration = {0.9 262mcc2mnc [de_DE] ldltr sw320dp w320dp h639dp 540dpi nrml long port night finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2400) mAppBounds=Rect(0, 80 - 1080, 2238) mMaxBounds=Rect(0, 0 - 1080, 2400) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0 mPopOver=off mStageConfig=undefined mFreeformTaskPinningState=unpinned mFreeformStashState=undefined mDexTaskDockingState=undefined} s.1 fontWeightAdjustment=0 ff=0 bf=0 bts=0 desktop/d dm/n dc/d ?dcui themeSeq=0 nightDim=0} 12-09 20:50:05.572 12569 12569 E AnimationUtils: loadAnimation: getDisplayMetrics = DisplayMetrics{density=3.375, width=1080, height=2158, scaledDensity=3.0375, xdpi=422.03, ydpi=423.333} 12-09 20:50:05.572 12569 12569 E AnimationUtils: loadAnimation: resourceName = xyz.zedler.patrick.grocy:animator/open_exit 12-09 20:50:15.976 12569 12569 E AnimationUtils: RuntimeException for unknown animation name, resouce ID #0x7f020000 12-09 20:50:15.976 12569 12569 E AnimationUtils: loadAnimation: getConfiguration = {0.9 262mcc2mnc [de_DE] ldltr sw320dp w320dp h639dp 540dpi nrml long port night finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2400) mAppBounds=Rect(0, 80 - 1080, 2238) mMaxBounds=Rect(0, 0 - 1080, 2400) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0 mPopOver=off mStageConfig=undefined mFreeformTaskPinningState=unpinned mFreeformStashState=undefined mDexTaskDockingState=undefined} s.1 fontWeightAdjustment=0 ff=0 bf=0 bts=0 desktop/d dm/n dc/d ?dcui themeSeq=0 nightDim=0} 12-09 20:50:15.976 12569 12569 E AnimationUtils: loadAnimation: getDisplayMetrics = DisplayMetrics{density=3.375, width=1080, height=2158, scaledDensity=3.0375, xdpi=422.03, ydpi=423.333} 12-09 20:50:15.976 12569 12569 E AnimationUtils: loadAnimation: resourceName = xyz.zedler.patrick.grocy:animator/close_enter 12-09 20:50:18.244 12569 12569 E AnimationUtils: RuntimeException for unknown animation name, resouce ID #0x7f020001 12-09 20:50:18.244 12569 12569 E AnimationUtils: loadAnimation: getConfiguration = {0.9 262mcc2mnc [de_DE] ldltr sw320dp w320dp h639dp 540dpi nrml long port night finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2400) mAppBounds=Rect(0, 80 - 1080, 2238) mMaxBounds=Rect(0, 0 - 1080, 2400) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0 mPopOver=off mStageConfig=undefined mFreeformTaskPinningState=unpinned mFreeformStashState=undefined mDexTaskDockingState=undefined} s.1 fontWeightAdjustment=0 ff=0 bf=0 bts=0 desktop/d dm/n dc/d ?dcui themeSeq=0 nightDim=0} 12-09 20:50:18.244 12569 12569 E AnimationUtils: loadAnimation: getDisplayMetrics = DisplayMetrics{density=3.375, width=1080, height=2158, scaledDensity=3.0375, xdpi=422.03, ydpi=423.333} 12-09 20:50:18.244 12569 12569 E AnimationUtils: loadAnimation: resourceName = xyz.zedler.patrick.grocy:animator/close_exit --------- beginning of crash 12-09 20:50:21.236 12569 12569 E AndroidRuntime: FATAL EXCEPTION: main 12-09 20:50:21.236 12569 12569 E AndroidRuntime: Process: xyz.zedler.patrick.grocy, PID: 12569 12-09 20:50:21.236 12569 12569 E AndroidRuntime: java.lang.RuntimeException: Cannot create an instance of class xyz.zedler.patrick.grocy.viewmodel.RecipesViewModel 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.kt:17) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.kt:12) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.kt:2) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.kt:17) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:13) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:2) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at xyz.zedler.patrick.grocy.fragment.RecipesFragment.onViewCreated(RecipesFragment.java:16) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:296) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:144) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1213) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:92) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:74) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:4) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:942) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:226) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at android.os.Looper.loop(Looper.java:313) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8762) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance0(Native Method) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance(Constructor.java:343) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.kt:15) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: ... 20 more 12-09 20:50:21.236 12569 12569 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to read from field 'java.lang.String xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort$SortOption.name' on a null object reference in method 'void xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort.setItems()' 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort.setItems(FilterChipLiveDataSort.java:26) 12-09 20:50:21.236 12569 12569 E AndroidRuntime: at xyz.zedler.patrick.grocy.model.FilterChipLiveDataSort.(FilterChipLiveDataSort.java:52)
12-09 20:50:21.236 12569 12569 E AndroidRuntime: at xyz.zedler.patrick.grocy.viewmodel.RecipesViewModel.(RecipesViewModel.java:228)
12-09 20:50:21.236 12569 12569 E AndroidRuntime: ... 23 more
12-09 20:50:23.710 13057 13057 E r.patrick.grocy: Not starting debugger since process cannot load the jdwp agent.
12-09 20:50:25.886 13057 13057 E AnimationUtils: RuntimeException for unknown animation name, resouce ID #0x7f020028
12-09 20:50:25.886 13057 13057 E AnimationUtils: loadAnimation: getConfiguration = {0.9 262mcc2mnc [de_DE] ldltr sw320dp w320dp h639dp 540dpi nrml long port night finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2400) mAppBounds=Rect(0, 80 - 1080, 2238) mMaxBounds=Rect(0, 0 - 1080, 2400) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0 mPopOver=off mStageConfig=undefined mFreeformTaskPinningState=unpinned mFreeformStashState=undefined mDexTaskDockingState=undefined} s.1 fontWeightAdjustment=0 ff=0 bf=0 bts=0 desktop/d dm/n dc/d ?dcui themeSeq=0 nightDim=0}
12-09 20:50:25.886 13057 13057 E AnimationUtils: loadAnimation: getDisplayMetrics = DisplayMetrics{density=3.375, width=1080, height=2158, scaledDensity=3.0375, xdpi=422.03, ydpi=423.333}
12-09 20:50:25.886 13057 13057 E AnimationUtils: loadAnimation: resourceName = xyz.zedler.patrick.grocy:animator/open_enter
12-09 20:50:28.851 13057 13057 E AnimationUtils: RuntimeException for unknown animation name, resouce ID #0x7f020029
12-09 20:50:28.851 13057 13057 E AnimationUtils: loadAnimation: getConfiguration = {0.9 262mcc2mnc [de_DE] ldltr sw320dp w320dp h639dp 540dpi nrml long port night finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2400) mAppBounds=Rect(0, 80 - 1080, 2238) mMaxBounds=Rect(0, 0 - 1080, 2400) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0 mPopOver=off mStageConfig=undefined mFreeformTaskPinningState=unpinned mFreeformStashState=undefined mDexTaskDockingState=undefined} s.1 fontWeightAdjustment=0 ff=0 bf=0 bts=0 desktop/d dm/n dc/d ?dcui themeSeq=0 nightDim=0}
12-09 20:50:28.851 13057 13057 E AnimationUtils: loadAnimation: getDisplayMetrics = DisplayMetrics{density=3.375, width=1080, height=2158, scaledDensity=3.0375, xdpi=422.03, ydpi=423.333}
12-09 20:50:28.851 13057 13057 E AnimationUtils: loadAnimation: resourceName = xyz.zedler.patrick.grocy:animator/open_exit