Bitwarden app crashes when selecting show password button #1360

Closed
opened 2025-11-26 22:46:07 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @vachan-maker on GitHub (Oct 14, 2021).

Steps To Reproduce

  1. Enable PIN unlock
  2. Lock the vault with PIN
  3. Select the show PIN button
  4. App instantly crashes

Expected Result

No crash

Actual Result

App crashes

Screenshots or Videos

No response

Additional Context

No response

Operating System

Android

Operating System Version

Android 10

Device

Oppo A5 2020

Build Version

Version: 2.13.1 (3903)

Beta

  • Using a pre-release version of the application.
Originally created by @vachan-maker on GitHub (Oct 14, 2021). ### Steps To Reproduce 1. Enable PIN unlock 2. Lock the vault with PIN 3. Select the show PIN button 4. App instantly crashes ### Expected Result No crash ### Actual Result App crashes ### Screenshots or Videos _No response_ ### Additional Context _No response_ ### Operating System Android ### Operating System Version Android 10 ### Device Oppo A5 2020 ### Build Version Version: 2.13.1 (3903) ### Beta - [X] Using a pre-release version of the application.
GiteaMirror added the bug label 2025-11-26 22:46:07 -06:00
Author
Owner

@deividt commented on GitHub (Oct 15, 2021):

I'm experiencing the same behavior in other scenarios.

Scenario 1:

  1. Brand new install of app;
  2. Click on 'Log In' button;
  3. Without fill any password, click on the show password button;
  4. The app will crash;

Scenario 2:

  1. Brand new install of app;
  2. Click on 'Create Account' button;
  3. Without fill any password, click on the show password button (from 'Master Password' or 'Re-type Master Password' options);
  4. The app will crash;

In all cases, this is happening because when you click on the show password button, the cursor position is set from a null object, in this case, the password (or PIN), that wasn't filled yet.

@deividt commented on GitHub (Oct 15, 2021): I'm experiencing the same behavior in other scenarios. Scenario 1: 1. Brand new install of app; 2. Click on 'Log In' button; 3. Without fill any password, click on the show password button; 4. The app will crash; Scenario 2: 1. Brand new install of app; 2. Click on 'Create Account' button; 3. Without fill any password, click on the show password button (from 'Master Password' or 'Re-type Master Password' options); 4. The app will crash; In all cases, this is happening because when you click on the show password button, the cursor position is set from a null object, in this case, the password (or PIN), that wasn't filled yet.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#1360