Opened on 03/01/2018 at 03:23:29 PM

Closed on 03/12/2018 at 07:18:19 AM

#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

Attachments (0)

Change History (4)

comment:1 Changed on 03/01/2018 at 03:32:24 PM by asmirnov

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

comment:2 Changed on 03/01/2018 at 04:47:18 PM by sergz

  • Cc sergz added

comment:3 Changed on 03/12/2018 at 07:17:20 AM by abpbot

Some commits referencing this issue have landed:

comment:4 Changed on 03/12/2018 at 07:18:19 AM by asmirnov

  • Resolution set to fixed
  • Status changed from reviewing to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none).
 
Note: See TracTickets for help on using tickets.