OpenLauncherTeam / openlauncher

Customizable and Open Source Launcher for Android
Apache License 2.0
1.43k stars 413 forks source link

Sometimes desktop doesn't render / is empty #519

Open hobleyd opened 4 years ago

hobleyd commented 4 years ago

Is anyone else seeing this crash sporadically?

Build version: 0.7.0 Current date: 2019-11-10 06:17:53 Device: HUAWEI VOG-L29

Stack trace:
java.lang.NullPointerException: Attempt to invoke virtual method 'com.benny.openlauncher.widget.Desktop com.benny.openlauncher.activity.HomeActivity.getDesktop()' on a null object reference at com.benny.openlauncher.widget.WidgetContainer.updateWidgetOption(WidgetContainer.java:129) at com.benny.openlauncher.viewutil.ItemViewFactory$2.run(ItemViewFactory.java:139) at android.os.Handler.handleCallback(Handler.java:907) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:216) at android.app.ActivityThread.main(ActivityThread.java:7625) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)

gsantner commented 4 years ago

Sometimes desktop doesn't render any apps/icons for me..need to check when seeing next time. maybe related to this

hobleyd commented 4 years ago

Yes - when this does happen, the desktop doesn't render any apps/icons for me either (briefly until the crash screen is displayed).