-
Notifications
You must be signed in to change notification settings - Fork 85
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
Crash when opening stock overview or recipes page #811
Comments
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).
|
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 |
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 |
@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. |
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
The text was updated successfully, but these errors were encountered: