signalapp / Signal-Android

A private messenger for Android.
https://signal.org
GNU Affero General Public License v3.0
25.59k stars 6.14k forks source link

One time crash - Opening Signal 6.32.3 beta - NPE #13175

Closed Sgn-32 closed 11 months ago

Sgn-32 commented 1 year ago

Bug description

One time crash at opening Signal 6.32.3 beta

Device info

Android version: 7.1.1 Signal version: 6.32.3 beta

debug log

[6.32.3] [8396 ] 2023-09-12 21:58:44.381 GMT+02:00 D AppIconUtility: Found ComponentInfo{org.thoughtcrime.securesms/org.thoughtcrime.securesms.RoutingActivity} with state of 0
[6.32.3] [8396 ] 2023-09-12 21:58:44.383 GMT+02:00 D AvatarProvider: getContentUri: RecipientId::80
[6.32.3] [8396 ] 2023-09-12 21:58:44.408 GMT+02:00 D AvatarUtil: AvatarTarget#await:
[6.32.3] [8438 ] 2023-09-12 21:58:44.462 GMT+02:00 D ConversationDataSource: [load(0, 22), thread 70] messages: 53,40, extra-data: 220,97, models: 1,57, conversion: 97,03, header: 22,88, total: 395,87 || mentions: 13,61, is-quoted: 177,16, reactions: 19,37, attachments: 20,68, payments: 0,42, calls: 182,36 >> cpuTime: 428,18, wallTime: 206,54
[6.32.3] [main ] 2023-09-12 21:58:44.592 GMT+02:00 W FrameRateTracker: Bad frame! Took 343 ms (20 dropped frames, or 2.91 FPS)
[6.32.3] [main ] 2023-09-12 21:58:44.637 GMT+02:00 D ConversationLayoutManag: Re-requesting pending scroll position: 0 offset: 0
[6.32.3] [8445 ] 2023-09-12 21:58:44.966 GMT+02:00 D MemoryTracker: The system increased our app JVM heap from 16896264 (16,11 MiB) to 44712352 (42,64 MiB)
[6.32.3] [main ] 2023-09-12 21:58:45.045 GMT+02:00 V ConversationItemAnimato: Dropping slide animation: (false, false) :: 0
[6.32.3] [main ] 2023-09-12 21:58:45.050 GMT+02:00 V ConversationItemAnimato: Dropping slide animation: (false, false) :: 1
[6.32.3] [main ] 2023-09-12 21:58:45.155 GMT+02:00 W FrameRateTracker: Bad frame! Took 432 ms (25 dropped frames, or 2.31 FPS)
[6.32.3] [main ] 2023-09-12 21:58:45.195 GMT+02:00 D ConversationFragment: doAfterFirstRender
[6.32.3] [8451 ] 2023-09-12 21:58:45.226 GMT+02:00 D LocalMetrics: [conversation-open] total: 1999 | viewmodel-init: 808, metadata-loaded: 51, data-loaded: 95, data-posted: 569, render: 476
[6.32.3] [main ] 2023-09-12 21:58:45.248 GMT+02:00 D DraftRepository: Shared this data at -1 and last processed share data at -1
[6.32.3] [main ] 2023-09-12 21:58:45.248 GMT+02:00 D DraftRepository: Have not processed this share data. Proceeding.
[6.32.3] [8383 ] 2023-09-12 21:58:45.257 GMT+02:00 D DraftTable: [clearDrafts] Deleted 0 rows for thread 70
[6.32.3] [main ] 2023-09-12 21:58:45.273 GMT+02:00 I VoiceNoteMediaControlle: Finishing postponed media controller creation. (conversation.v2.ConversationActivity})
[6.32.3] [8437 ] 2023-09-12 21:58:45.395 GMT+02:00 D ConversationListDataSou: [size(), UnarchivedConversationListDataSource, OFF] 10 ms
[6.32.3] [8396 ] 2023-09-12 21:58:45.408 GMT+02:00 W AvatarUtil: AvatarTarget#await: Failed to load avatar in time! Returning null
[6.32.3] [8396 ] 2023-09-12 21:58:45.413 GMT+02:00 E BaseJob: Encountered a fatal exception. Crash imminent.
[6.32.3] [8396 ] 2023-09-12 21:58:45.413 GMT+02:00 E BaseJob: java.lang.NullPointerException
[6.32.3] [8396 ] 2023-09-12 21:58:45.413 GMT+02:00 E BaseJob:   at androidx.core.util.ObjectsCompat.requireNonNull(ObjectsCompat.java:134)
[6.32.3] [8396 ] 2023-09-12 21:58:45.413 GMT+02:00 E BaseJob:   at androidx.core.graphics.drawable.IconCompat.createWithBitmap(IconCompat.java:278)
[6.32.3] [8396 ] 2023-09-12 21:58:45.413 GMT+02:00 E BaseJob:   at org.thoughtcrime.securesms.util.AvatarUtil.getIconCompatForShortcut(AvatarUtil.java:122)
[6.32.3] [8396 ] 2023-09-12 21:58:45.413 GMT+02:00 E BaseJob:   at org.thoughtcrime.securesms.util.ConversationUtil.buildShortcutInfo(ConversationUtil.java:229)
[6.32.3] [8396 ] 2023-09-12 21:58:45.413 GMT+02:00 E BaseJob:   at org.thoughtcrime.securesms.util.ConversationUtil.setActiveShortcuts(ConversationUtil.java:180)
[6.32.3] [8396 ] 2023-09-12 21:58:45.413 GMT+02:00 E BaseJob:   at org.thoughtcrime.securesms.jobs.ConversationShortcutUpdateJob.onRun(ConversationShortcutUpdateJob.java:79)
[6.32.3] [8396 ] 2023-09-12 21:58:45.413 GMT+02:00 E BaseJob:   at org.thoughtcrime.securesms.jobs.BaseJob.run(BaseJob.java:31)
[6.32.3] [8396 ] 2023-09-12 21:58:45.413 GMT+02:00 E BaseJob:   at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:86)
[6.32.3] [8396 ] 2023-09-12 21:58:45.413 GMT+02:00 E BaseJob:   at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:49)
[6.32.3] [8396 ] 2023-09-12 21:58:45.413 GMT+02:00 E BaseJob: 
[6.32.3] [8396 ] 2023-09-12 21:58:45.415 GMT+02:00 E JobRunner: [JOB::00fbb332-c89f-4616-8c57-9142e8098c68][ConversationShortcutUpdateJob][2] Job failed with a fatal exception. Crash imminent. (Time Since Submission: 1187 ms, Lifespan: 900000 ms, Run Attempt: 1/1, Queue: ConversationShortcutUpdateJob)
[6.32.3] [8396 ] 2023-09-12 21:58:45.423 GMT+02:00 E SignalUncaughtException: 
[6.32.3] [8396 ] 2023-09-12 21:58:45.423 GMT+02:00 E SignalUncaughtException: java.lang.NullPointerException
[6.32.3] [8396 ] 2023-09-12 21:58:45.423 GMT+02:00 E SignalUncaughtException:   at androidx.core.util.ObjectsCompat.requireNonNull(ObjectsCompat.java:134)
[6.32.3] [8396 ] 2023-09-12 21:58:45.423 GMT+02:00 E SignalUncaughtException:   at androidx.core.graphics.drawable.IconCompat.createWithBitmap(IconCompat.java:278)
[6.32.3] [8396 ] 2023-09-12 21:58:45.423 GMT+02:00 E SignalUncaughtException:   at org.thoughtcrime.securesms.util.AvatarUtil.getIconCompatForShortcut(AvatarUtil.java:122)
[6.32.3] [8396 ] 2023-09-12 21:58:45.423 GMT+02:00 E SignalUncaughtException:   at org.thoughtcrime.securesms.util.ConversationUtil.buildShortcutInfo(ConversationUtil.java:229)
[6.32.3] [8396 ] 2023-09-12 21:58:45.423 GMT+02:00 E SignalUncaughtException:   at org.thoughtcrime.securesms.util.ConversationUtil.setActiveShortcuts(ConversationUtil.java:180)
[6.32.3] [8396 ] 2023-09-12 21:58:45.423 GMT+02:00 E SignalUncaughtException:   at org.thoughtcrime.securesms.jobs.ConversationShortcutUpdateJob.onRun(ConversationShortcutUpdateJob.java:79)
[6.32.3] [8396 ] 2023-09-12 21:58:45.423 GMT+02:00 E SignalUncaughtException:   at org.thoughtcrime.securesms.jobs.BaseJob.run(BaseJob.java:31)
[6.32.3] [8396 ] 2023-09-12 21:58:45.423 GMT+02:00 E SignalUncaughtException:   at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:86)
[6.32.3] [8396 ] 2023-09-12 21:58:45.423 GMT+02:00 E SignalUncaughtException:   at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:49)
[6.32.3] [8396 ] 2023-09-12 21:58:45.423 GMT+02:00 E SignalUncaughtException: 
[6.32.3] [8387 ] 2023-09-12 21:58:45.425 GMT+02:00 D MarkReadHelper: Marking 0 messages as read.
[6.32.3] [8473 ] 2023-09-12 21:58:45.475 GMT+02:00 I DefaultMessageNotifier: State is empty, cancelling all notifications
[6.32.3] [8473 ] 2023-09-12 21:58:45.479 GMT+02:00 D NotificationCancellatio: cancelLegacy() called with: notificationId = [1338]
[6.32.3] [8396 ] 2023-09-12 21:58:45.514 GMT+02:00 I JobManager: Successfully flushed.
[6.32.3] [8438 ] 2023-09-12 21:58:45.679 GMT+02:00 D ConversationListDataSou: [load(0, 38), UnarchivedConversationListDataSource, OFF] cursor: 274,86, cache-recipients: 2,18, recipient-resolve: 0,14, total: 277,19
[6.32.3] [main ] 2023-09-12 21:58:45.682 GMT+02:00 D ConversationFragment: Update scroll state ConversationScrollButtonState(hideScrollButtonsForReactionOverlay=false, showScrollButtonsForScrollPosition=false, willScrollToBottomOnNewMessage=true, unreadCount=0, hasMentions=false)
[6.32.3] [8437 ] 2023-09-12 21:58:45.899 GMT+02:00 D ConversationListDataSou: [size(), UnarchivedConversationListDataSource, OFF] 14 ms
[6.32.3] [main ] 2023-09-12 21:58:46.012 GMT+02:00 W FrameRateTracker: Bad frame! Took 732 ms (43 dropped frames, or 1.36 FPS)
[6.32.3] [main ] 2023-09-12 21:58:46.110 GMT+02:00 D AvatarUtil: AvatarTarget#onResourceReady: 1024, 1024, s:216
stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 11 months ago

This issue has been closed due to inactivity.