Android application crashes on null pointer exception
Reported by
amitshad...@gmail.com,
Nov 13 2017
|
|||||
Issue description
Steps to reproduce the problem:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'org.chromium.ui.base.EventForwarder org.chromium.content_public.browser.WebContents.getEventForwarder()' on a null object reference
at org.chromium.android_webview.AwContents$AwViewMethodsImpl.onDragEvent(AwContents.java:191)
at com.android.webview.chromium.WebViewChromium.onDragEvent(WebViewChromium.java:782)
at android.webkit.WebView.onDragEvent(WebView.java:2554)
at android.view.View.dispatchDragEvent(View.java:22198)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1431)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1417)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1417)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1417)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1417)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1417)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1417)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1417)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1417)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1417)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1417)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1417)
at android.view.ViewRootImpl.handleDragEvent(ViewRootImpl.java:6314)
at android.view.ViewRootImpl.-wrap11(ViewRootImpl.java)
at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:4206)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6776)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
What is the expected behavior?
Shouldn't crash..
What went wrong?
App crashes and gets closed
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: 61.0.3163.100 Channel: stable
OS Version: 7.0
Flash Version:
This happens (i guess) when user presses an ad of admob
,
Nov 15 2017
@amitshadadidev: Thanks for the report!! Could you please upgrade your Chrome to the latest version #62.0.3202.84 and check if you still face the Crash, If so provide the OS and details of your device and a sample Crash I'd from chrome://crashes? that would help us in further triaging of the issue. Thanks!!
,
Nov 15 2017
Hi, it happens to my app's users mainly with samsung devices (but not only) , android 7, not sure about their chrome version, this exception happens alot and have started at about 12-11-17 (dd-MM-yy).
,
Nov 16 2017
@amitshadadi -- Could you please provide the sample URL where this issue can be reproduced. Also, please let us know the device model (if device specific) where this issue is observed. This would help us in further triaging the issue. Thanks in advance.
,
Nov 16 2017
Hi, im sorry but i dont have the url for you, as i wrote, it happens when the user interacts with admob's ad (i dont have any webview in my app other then admob that uses webview), so i cant provide the admob url, us for the device, mainly it happens on samsung devices that supports android 7 (its a big list on my screen) one of them will be galaxy s7 edge, though it happens on all devices that supports android 7, i guess samsung is the most popular, i hope it helps you somehow.
,
Nov 17 2017
@amitshadadi -- Could you please provide the latest Crash ID by navigating to chrome://crashes, which gets generated when Chrome gets crashed. This would help us in triaging the issue further. Thanks in advance.
,
Nov 20 2017
Given that this is a WebView crash, I don't think it shows up in chrome://crashes (not in Chrome anyway). This looks similar to b/69347400 amitshadadi@, do you have any idea how often this occurs? (i.e. if we use your app with one of the affected device models, would it reproduce quickly?)
,
Nov 20 2017
Hi, the best i can do know is show you my Fabric's Crashlytics reports - Attached, i'm not sure how quickly you are going to reproduce it.
,
Nov 20 2017
Thank you for providing more feedback. Adding requester "sandeepkumars@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Dec 4 2017
@gsennton: Could you please take a further look on this issue as we are unable to pinpoint the exact culprit from the above attached files. Thanks!!
,
Mar 9 2018
***Bulk edit*** Since there is no valid updates, closing for now. Feel free to reopen if needed. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by ligim...@chromium.org
, Nov 14 2017