Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
A
Android
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 6
    • Merge Requests 6
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • NYNJA
  • Android
  • Merge Requests
  • !2617

Closed
Opened May 15, 2020 by delete2@delete2Contributor
  • Report abuse
Report abuse

NY-9852: [AN]: Ensure message from message list is not null

  • Overview 3
  • Commits 1
  • Changes 1

Created by: rvc-brickabode

From our internal process review:

  • This method should be private. It is being only used locally by getNextPositionByMessage method.
  • Avoid the NullPointerException by checking if MessageModel is not NULL.

Observing Crashlitcs we only had one issue in 0.19.2 (341) build version. On that time we did not have both checking. That's why we had the crash. However, it impacted only 1 user in our base and the improvement fixes the issue.

That method is used to define a divider of read and unread message in the messages list. For that, we need to know the last message by serverId. The app might crash if messages are deleted from the list while the messages list screen is being created.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: exconfidential/nynja/Android!2617
Source branch: NY-9852