8000 Notification - Not posted. PendingIntents attached to actions with remote inputs must be mutable · Issue #1190 · ACRA/acra · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Notification - Not posted. PendingIntents attached to actions with remote inputs must be mutable #1190
Closed
@zamojski

Description

@zamojski

Describe the bug
ACRA Notification plugin on Android 13 doesn't show the notification and fails with below stack trace.

2023-04-20 22:37:27.298 10589-10630/info.zamojski.soft.towercollector W/ACRA: Report interaction threw exception, will be ignored.
    java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: 0|info.zamojski.soft.towercollector|666|null|10159 Not posted. PendingIntents attached to actions with remote inputs must be mutable
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:191)
        at org.acra.interaction.ReportInteractionExecutor.performInteractions(ReportInteractionExecutor.kt:50)
        at org.acra.builder.ReportExecutor.execute(ReportExecutor.kt:134)
        at org.acra.builder.ReportBuilder.build(ReportBuilder.kt:151)
        at org.acra.reporter.ErrorReporterImpl.uncaughtException(ErrorReporterImpl.kt:105)
        at info.zamojski.soft.towercollector.MyApplication$1.uncaughtException(MyApplication.java:112)
        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1073)
        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
        at java.lang.Thread.dispatchUncaughtException(Thread.java:2306)
     Caused by: java.lang.IllegalArgumentException: 0|info.zamojski.soft.towercollector|666|null|10159 Not posted. PendingIntents attached to actions with remote inputs must be mutable
        at android.os.Parcel.createExceptionOrNull(Parcel.java:3015)
        at android.os.Parcel.createException(Parcel.java:2995)
        at android.os.Parcel.readException(Parcel.java:2978)
        at android.os.Parcel.readException(Parcel.java:2920)
        at android.app.INotificationManager$Stub$Proxy.enqueueNotificationWithTag(INotificationManager.java:3032)
        at android.app.NotificationManager.notifyAsUser(NotificationManager.java:678)
        at android.app.NotificationManager.notify(NotificationManager.java:628)
        at android.app.NotificationManager.notify(NotificationManager.java:604)
        at org.acra.interaction.NotificationInteraction.performInteraction(NotificationInteraction.kt:100)
        at org.acra.interaction.ReportInteractionExecutor.performInteractions$lambda$2$lambda$1(ReportInteractionExecutor.kt:43)
        at org.acra.interaction.ReportInteractionExecutor.$r8$lambda$XxbE04P1atFd9l_vyYmPLWgTl20(Unknown Source:0)
        at org.acra.interaction.ReportInteractionExecutor$$ExternalSyntheticLambda0.call(Unknown Source:6)
        at java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
        at java.lang.Thread.run(Thread.java:1012)
     Caused by: android.os.RemoteException: Remote stack trace:
        at com.android.server.notification.NotificationManagerService.checkDisqualifyingFeatures(NotificationManagerService.java:6932)
        at com.android.server.notification.NotificationManagerService.enqueueNotificationInternal(NotificationManagerService.java:6590)
        at com.android.server.notification.NotificationManagerService.enqueueNotificationInternal(NotificationManagerService.java:6442)
        at com.android.server.notification.NotificationManagerService$10.enqueueNotificationWithTag(NotificationManagerService.java:3467)
        at android.app.INotificationManager$Stub.onTransact(INotificationManager.java:1286)

Here's the configuration - ACRA configuration within the app.

Expected behavior
A notification is posted to provide input before sending report.

Version

  • Android: 13
  • ACRA 5.9.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0