Opened 8 months ago

Closed 8 months ago

#32693 closed defect (duplicate)

TBB Android: startup crash when opened from external link - void org.mozilla.gecko.Tab.doReload(boolean)

Reported by: ilf Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Major Keywords: TBB, Android, crash, TorBrowserTeam202002
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I've had this crash for quite a while (with quite a few TBB-Android versions), but only now got around to debugging it with current 68.2.0 from F-Droid Guardian).

Starting TBB-Android on its own works fine. But when starting TBB-Android by opening an URL from another app, it always crashes, right after finishing 100 % of the startup routine, with this error:

12-08 00:13:37:023 23042 23042 E AndroidRuntime: FATAL EXCEPTION: main
12-08 00:13:37:023 23042 23042 E AndroidRuntime: Process: org.torproject.torbrowser, PID: 23042
12-08 00:13:37:023 23042 23042 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.mozilla.gecko.Tab.doReload(boolean)' on a null object reference
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at org.mozilla.gecko.BrowserApp$34.onFinish(BrowserApp.java:3021)
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at org.mozilla.gecko.torbootstrap.TorBootstrapAnimationContainer.hide(TorBootstrapAnimationContainer.java:61)
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at org.mozilla.gecko.torbootstrap.TorBootstrapAnimationContainer$1.onFinish(TorBootstrapAnimationContainer.java:53)
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at org.mozilla.gecko.torbootstrap.TorBootstrapPager$1.finish(TorBootstrapPager.java:64)
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at org.mozilla.gecko.firstrun.FirstrunPanel.close(FirstrunPanel.java:83)
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at org.mozilla.gecko.torbootstrap.TorBootstrapPanel.updateStatus(TorBootstrapPanel.java:365)
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at org.mozilla.gecko.torbootstrap.TorLogEventListener$2.handleMessage(TorLogEventListener.java:123)
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:102)
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:154)
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6186)
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
12-08 00:13:37:023 23042 23042 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

Child Tickets

Change History (3)

comment:1 Changed 8 months ago by pili

Keywords: TorBrowserTeam202002 added

comment:2 Changed 8 months ago by ilf

confirmed: still present in 68.3.0

comment:3 Changed 8 months ago by sysrqb

Resolution: duplicate
Status: newclosed

Thanks for reporting this! We fixed this in the alpha version with #32405. We'll backport that to the stable version in the next release.

Note: See TracTickets for help on using tickets.