Skip to content

Crash Report: Unable to start receiver #926

@virohsa

Description

@virohsa

Describe the bug
Suntimes is repeatedly crashing after the installation of Octopi Launcher. The home screen is running three widgets: Suntimes Widget 1x1, Moon Widget 1x1, and Solstice Widget 1x1. Additionally, Suntimes Alarms has 2 alarms scheduled, but I'm not sure if that's relevant.

To Reproduce
Steps to reproduce the behavior:

  1. Configure Suntimes alarms on the Android device that is running the stock launcher.
  2. Download, install, and configure Octopi Launcher. Set as the default launcher.
  3. Configure three widgets on the home screen: Suntimes Widget 1x1, Moon Widget 1x1, and Solstice Widget 1x1.
  4. Do nothing else. Crash reports will appear periodically in the notification bar and Suntimes Alarms will fail to launch. Widgets do appear to update normally though.

Expected behavior
The previously configured Suntimes Alarms will trigger normally. The Suntimes widgets will update on the home screen normally. There will be no crashes.

Screenshots

Version Info:

  • App Version: 0.16.13
  • Android Version: 16 (36) -- OxygenOS
  • Device Model: OnePlus 12

Additional context
Crash dump:

Suntimes 0.16.13 (127) [1e8fa53]
on Android 16 (36) [OnePlus]

java.lang.RuntimeException: Unable to start receiver com.forrestguice.suntimeswidget.SuntimesWidget1: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RemoteViews.visitUris(java.util.function.Consumer)' on a null object reference
at android.app.ActivityThread.handleReceiver(ActivityThread.java:5416)
at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2832)
at android.os.Handler.dispatchMessage(Handler.java:115)
at android.os.Looper.loopOnce(Looper.java:298)
at android.os.Looper.loop(Looper.java:408)
at android.app.ActivityThread.main(ActivityThread.java:9964)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:613)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1074)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RemoteViews.visitUris(java.util.function.Consumer)' on a null object reference
at android.os.Parcel.createExceptionOrNull(Parcel.java:3375)
at android.os.Parcel.createException(Parcel.java:3353)
at android.os.Parcel.readException(Parcel.java:3336)
at android.os.Parcel.readException(Parcel.java:3278)
at com.android.internal.appwidget.IAppWidgetService$Stub$Proxy.updateAppWidgetIds(IAppWidgetService.java:968)
at android.appwidget.AppWidgetManager.lambda$updateAppWidget$5(AppWidgetManager.java:725)
at android.appwidget.AppWidgetManager.$r8$lambda$Emo9F9Eo3H92TWufpOrPKUtYf-g(Unknown Source:0)
at android.appwidget.AppWidgetManager$$ExternalSyntheticLambda11.acceptOrThrow(D8$$SyntheticClass:0)
at android.appwidget.AppWidgetManager.tryAdapterConversion(AppWidgetManager.java:686)
at android.appwidget.AppWidgetManager.updateAppWidget(AppWidgetManager.java:725)
at android.appwidget.AppWidgetManager.updateAppWidget(AppWidgetManager.java:812)
at com.forrestguice.suntimeswidget.SuntimesWidget1.updateAppWidget(SuntimesWidget1.java:99)
at com.forrestguice.suntimeswidget.SuntimesWidget1.updateWidget(SuntimesWidget1.java:58)
at com.forrestguice.suntimeswidget.SuntimesWidget0.onUpdate(SuntimesWidget0.java:393)
at android.appwidget.AppWidgetProvider.onReceive(AppWidgetProvider.java:97)
at com.forrestguice.suntimeswidget.SuntimesWidget0.onReceive(SuntimesWidget0.java:134)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:5400)
... 9 more
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.appwidget.AppWidgetServiceImpl.checkRemoteViewsUris(AppWidgetServiceImpl.java:2785)
at com.android.server.appwidget.AppWidgetServiceImpl.updateAppWidgetIds(AppWidgetServiceImpl.java:2735)
at com.android.server.appwidget.AppWidgetServiceImpl.updateAppWidgetIds(AppWidgetServiceImpl.java:2261)
at com.android.internal.appwidget.IAppWidgetService$Stub.onTransact(IAppWidgetService.java:465)
at android.os.Binder.execTransactInternal(Binder.java:1439)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions