New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 818202 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug
Proj-XR
Proj-XR-VR



Sign in to add a comment

VR: NPE in VrShellImpl#uninitializeImeForVr

Project Member Reported by mthiesse@chromium.org, Mar 2 2018

Issue description

Not sure exactly how this happens, but if the WebContents is destroyed, we shutdown VR without a webContents. This leads to a NPE in uninitializeImeForVr, which assumes we always have a WebContents.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Mar 2 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/debe1f981a5a8d76044a81cde3ae7f497efc9a96

commit debe1f981a5a8d76044a81cde3ae7f497efc9a96
Author: Michael Thiessen <mthiesse@chromium.org>
Date: Fri Mar 02 17:14:18 2018

VR: Fix NPE in VrShellImpl#uninitializeImeForVr

Bug:  818202 
Change-Id: I451982f1773558b4cf11b985b861e21999819658
Reviewed-on: https://chromium-review.googlesource.com/946049
Reviewed-by: Yash Malik <ymalik@chromium.org>
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/master@{#540541}
[modify] https://crrev.com/debe1f981a5a8d76044a81cde3ae7f497efc9a96/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java

Labels: Merge-Request-66
Project Member

Comment 3 by sheriffbot@chromium.org, Mar 7 2018

Labels: -Merge-Request-66 Merge-Approved-66 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M66. Please go ahead and merge the CL to branch 3359 manually. Please contact milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), josafat@(ChromeOS), abdulsyed@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 4 by bugdroid1@chromium.org, Mar 8 2018

Labels: -merge-approved-66 merge-merged-3359
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/57f8e29f5872e8b811912aec28170727379ff7b0

commit 57f8e29f5872e8b811912aec28170727379ff7b0
Author: Michael Thiessen <mthiesse@chromium.org>
Date: Thu Mar 08 16:35:31 2018

VR: Fix NPE in VrShellImpl#uninitializeImeForVr

TBR=mthiesse@chromium.org

(cherry picked from commit debe1f981a5a8d76044a81cde3ae7f497efc9a96)

Bug:  818202 
Change-Id: I451982f1773558b4cf11b985b861e21999819658
Reviewed-on: https://chromium-review.googlesource.com/946049
Reviewed-by: Yash Malik <ymalik@chromium.org>
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#540541}
Reviewed-on: https://chromium-review.googlesource.com/955780
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/branch-heads/3359@{#100}
Cr-Branched-From: 66afc5e5d10127546cc4b98b9117aff588b5e66b-refs/heads/master@{#540276}
[modify] https://crrev.com/57f8e29f5872e8b811912aec28170727379ff7b0/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java

Status: Fixed (was: Started)
Labels: Test-Complete

Sign in to add a comment