Skip to content

Fix for #1787 addresses NPE but does not appear to resolve underlying issue #2267

@sheamartinson

Description

@sheamartinson
  • Environment
    Android studio version: 4.0.1
    Firebase component: firebase-installations
    Component version: 16.3.3

  • The problem
    In issue NullPointerException on FirebaseInstallations.registerFidWithServer #1787 the merged fix seems to only address the NPE and not the installation state that caused it. The issue will still exist for devices upgrading from 16.3.2 -> 16.3.3 that the FirebaseInstallation.* file will be persisted with a missing fid and a status=5. The NPE won't be thrown anymore, but it seems as though the error state can't be corrected.

Manually deleting the file resolves the issue on the next initialisation.

Activity

google-oss-bot

google-oss-bot commented on Dec 16, 2020

@google-oss-bot
Contributor

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @vkryachko@rlazo@ankitaj224@sheamartinson@google-oss-bot

      Issue actions

        Fix for #1787 addresses NPE but does not appear to resolve underlying issue · Issue #2267 · firebase/firebase-android-sdk