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

Issue 640892 link

Starred by 2 users

Issue metadata

Status: Duplicate
Owner:
Last visit > 30 days ago
Closed: Oct 2016
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug-Regression

Blocking:
issue 520391



Sign in to add a comment

Chrome_Android: Crash Report - [Android Java Exception] java.lang.NullPointerException at org.chromium.content.browser.InterfaceRegistrar$NfcImplementationFactory$ContextAwareNfcImpl.close(InterfaceRegistrar.java)

Project Member Reported by dknandiraju@chromium.org, Aug 25 2016

Issue description

Product name: Chrome_Android
Magic Signature: [Android Java Exception] java.lang.NullPointerException at org.chromium.content.browser.InterfaceRegistrar$NfcImplementationFactory$ContextAwareNfcImpl.close(InterfaceRegistrar.java)

Current link:
https://crash.corp.google.com/browse?q=ReportID%3D'441a1c1100000000'%20AND%20custom_data.ChromeCrashProto.magic_signature_1.name%3D'%5BAndroid%20Java%20Exception%5D%20java.lang.NullPointerException%20at%20org.chromium.content.browser.InterfaceRegistrar%24NfcImplementationFactory%24ContextAwareNfcImpl.close(InterfaceRegistrar.java)'&ignore_case=false&enable_rewrite=true&omit_field_name=&omit_field_value=&omit_field_opt=%3D#3


Search properties:
reportid: 441a1c1100000000

Metadata :
Product Name: Chrome_Android
Product Version: 54.0.2838.0
Report ID: 441a1c1100000000
Report Time: Thu, 25 Aug 2016 07:31:34 GMT
Uptime: 40341 ms
Cumulative Uptime: 0 ms
User Email: 
OS Name: Android
OS Version: 0.0.0 Linux 3.10.57-gf3aa758 #1 SMP PREEMPT Thu Jun 23 00:34:18 UTC 2016 armv7l
CPU Architecture: arm
CPU Info: ARMv7 ARM part(0x4100c070) features: swp,half,thumb,fastmult,vfpv2,edsp,thumbee,neon,vfpv3,tls,vfpv4,idiva,idivt

Crash Thread:
CRASHED [SIGABRT @ 0x0000220a ] MAGIC SIGNATURE THREAD
0xb6d83144	(libc.so + 0x00044144 )	
0xb6d5aa01	(libc.so + 0x0001ba01 )	
0xb6d57bb3	(libc.so + 0x00018bb3 )	
0xb6d55776	(libc.so + 0x00016776 )	
0x85e0c13f	(libchrome.so -debugger_posix.cc:219 )	base::debug::BreakDebugger
0x85802a3b	(libchrome.so -logging.cc:748 )	logging::LogMessage::~LogMessage
0x857f69e3	(libchrome.so -jni_android.cc:236 )	base::android::CheckException
0x859d02f7	(libchrome.so -callback.h:388 )	mojo::Watcher::OnHandleReady
0x85978281	(libchrome.so -callback.h:388 )	base::debug::TaskAnnotator::RunTask
0x8597805f	(libchrome.so -message_loop.cc:488 )	base::MessageLoop::RunTask
0x85977fe1	(libchrome.so -message_loop.cc:497 )	base::MessageLoop::DeferOrRunPendingTask
0x859777a7	(libchrome.so -message_loop.cc:621 )	base::MessageLoop::DoWork
0x85815de1	(libchrome.so -message_pump_android.cc:44 )	Java_org_chromium_base_SystemMessageHandler_nativeDoRunLoopOnce
0xa527cc1d	(base.odex + 0x00266c1d )	
0xa4704dbe	(dalvik-LinearAlloc (deleted) + 0x00015dbe )	
0x1ae57bbe	(dalvik-main space 1 (deleted) + 0x00257bbe )	
0x1ae57bbe	(dalvik-main space 1 (deleted) + 0x00257bbe )	
 
Exception:
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.nfc.NfcAdapter.disableReaderMode(android.app.Activity)' on a null object reference
at org.chromium.device.nfc.NfcImpl.disableReaderMode	(NfcImpl.java:370 )
at org.chromium.device.nfc.NfcImpl.close	(NfcImpl.java:236 )
at org.chromium.content.browser.InterfaceRegistrar$NfcImplementationFactory$ContextAwareNfcImpl.close	(InterfaceRegistrar.java:83 )
at org.chromium.mojo.bindings.Interface$Stub.close	(Interface.java:305 )
at org.chromium.mojo.bindings.RouterImpl$HandleIncomingMessageThunk.close	(RouterImpl.java:3247 )
at org.chromium.mojo.bindings.Connector.close	(Connector.java:132 )
at org.chromium.mojo.bindings.Connector.onError	(Connector.java:159 )
at org.chromium.mojo.bindings.Connector$WatcherCallback.onResult	(Connector.java:1154 )
at org.chromium.mojo.system.impl.WatcherImpl.onHandleReady	(WatcherImpl.java:53 )
at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce	(Native Method )
at org.chromium.base.SystemMessageHandler.handleMessage	(SystemMessageHandler.java:41 )
at android.os.Handler.dispatchMessage	(Handler.java:102 )
at android.os.Looper.loop	(Looper.java:148 )
at android.app.ActivityThread.main	(ActivityThread.java:5417 )
at java.lang.reflect.Method.invoke	(Native Method )
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run	(ZygoteInit.java:726 )
at com.android.internal.os.ZygoteInit.main	(ZygoteInit.java:616 )
Project Member

Comment 2 by sheriffbot@chromium.org, Aug 25 2016

Labels: Fracas FoundIn-M-54
Users experienced this crash on the following builds:

Android Dev 54.0.2837.2 -  4.94 CPM, 16 reports, 9 clients (signature [Android Java Exception] java.lang.NullPointerException at org.chromium.content.browser.InterfaceRegistrar$NfcImplementationFactory$ContextAwareNfcImpl.close(InterfaceRegistrar.java))

If this update was incorrect, please add "Fracas-Wrong" label to prevent future updates.

- Go/Fracas
Labels: -Pri-1 Pri-2
This crash is found randomly on M54-54.0.2838.0 while following below steps on Spice Mi-498/MOB30W


Precondition : 
1. User should be signed in to get snippets 
2. Reader Mode flag should be ON

Steps to reproduce: 
1.  Launch Chrome> Force Stop Chrome and Relaunch> Slide down the NTP to see Snippets
2. Tap on any snippet and immediately on Microphone icon of omnibox
3. After page is loaded in background, speak anything in Speak Now microphone > Observe 

Observed behavior: 
Chrome crashes while page loads 

Expected behavior: 
Chrome should never crash

Frequency: 1/5

Note: Please find logs and screen record @ http://go/chrome-androidlogs1/6/640892

Labels: -Type-Bug ReleaseBlock-Stable Stability-Sheriff-Android Type-Bug-Regression
Status: Available (was: Untriaged)
CL Range: https://chromium.googlesource.com/chromium/src/+log/54.0.2832.0..54.0.2838.0?pretty=fuller&n=10000
Suspected CL : https://chromium.googlesource.com/chromium/src/+/3466b6197a8071043533c7adde2b303438ff565d
 
Looks like CL is related to alexander.shalamov@intel.com, but can not assign since he is not a project member (no chromium ID). Adding " Stability-Sheriff-Android" Label Can some please look in to it and reroute this bug, Thanks!

Comment 5 by wnwen@chromium.org, Aug 29 2016

Blocking: 520391

Comment 6 by wnwen@chromium.org, Aug 29 2016

Labels: -Restrict-View-Google
Owner: kenneth....@intel.com
Status: Assigned (was: Available)
Please fix the NPE in NfcImpl.java, not sure if adding null guards on mNfcAdapter is desired or there's a deeper issue.

Comment 7 by wnwen@chromium.org, Aug 29 2016

Labels: -Stability-Sheriff-Android
[Bulk edit]

This issue is listed as a release block stable for M54 Android.  We'll be cutting our stable candidate in just about two weeks, so time is running out to fix this bug - please prioritize working on it ASAP.

Are you sure this issue shouldn't block the release?  Remove the ReleaseBlock-Stable label.
Unsure if this issue should block the release, or know the issue should block the release but we won't be able to fix it in time?  CC me so that we can discuss.

Thanks!
Labels: -ReleaseBlock-Stable
We should get this fixed, but it's not crashing enough to track as an RB-Stable.  Please work on fixing ASAP, and if you find a fix, please request a merge for that release.
This is a duplicate of https://bugs.chromium.org/p/chromium/issues/detail?id=640995 which is fixed and merged to M54
Mergedinto: 640995
Status: Duplicate (was: Assigned)

Sign in to add a comment