#6436 closed defect (fixed)

Thread access crash

Reported by: asmirnov Assignee:
Priority: P2 Milestone:
Module: Libadblockplus-Android Keywords:
Cc: sergz Blocked By:
Blocking: Platform: Android
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29712652/

Description

Environment

version_name=V1.3.1
version_code=21170802
sdk_int=25
brand=MSM8909
product=RU_P809F12
model=ZTE BLADE A0622

Observed behaviour

Crash with stacktrace:

java.lang.NullPointerException: Attempt to invoke virtual method 'void java.lang.Thread.start()' on a null object reference
	at org.adblockplus.libadblockplus.android.webview.AdblockWebView.startAbpLoading(Unknown Source)
	at org.adblockplus.libadblockplus.android.webview.AdblockWebView.access$1100(Unknown Source)
	at org.adblockplus.libadblockplus.android.webview.AdblockWebView$AdblockWebViewClient.onPageStarted(Unknown Source)
	at com.android.webview.chromium.Ap.onPageStarted(WebViewContentsClientAdapter.java:208)
	at org.chromium.android_webview.AwContentsClientCallbackHelper$MyHandler.handleMessage(AwContentsClientCallbackHelper.java:20)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:154)
	at android.app.ActivityThread.main(ActivityThread.java:6144)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

Expected behaviour

No crash happens

Change History (4)

comment:1 Changed 18 months ago by asmirnov

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed 18 months ago by sergz

  • Cc sergz added

comment:3 Changed 18 months ago by abpbot

Some commits referencing this issue have landed:

comment:4 Changed 18 months ago by asmirnov

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.