Crash immediately after bootstrap on Android
On Android, when bootstrapping completes we call an onFinish
method. Unfortunately, in this method we assume a tab was already created. Apparently this is a bad assumption and the app crashes.
java.lang.NullPointerException:
at org.mozilla.gecko.BrowserApp$34.onFinish (BrowserApp.java:3021)
at org.mozilla.gecko.torbootstrap.TorBootstrapAnimationContainer.hide (TorBootstrapAnimationContainer.java:61)
at org.mozilla.gecko.torbootstrap.TorBootstrapAnimationContainer$1.onFinish (TorBootstrapAnimationContainer.java:53)
at org.mozilla.gecko.torbootstrap.TorBootstrapPager$1.finish (TorBootstrapPager.java:64)
at org.mozilla.gecko.firstrun.FirstrunPanel.close (FirstrunPanel.java:83)
at org.mozilla.gecko.torbootstrap.TorBootstrapPanel.updateStatus (TorBootstrapPanel.java:365)
at org.mozilla.gecko.torbootstrap.TorLogEventListener$2.handleMessage (TorLogEventListener.java:123)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:216)
at android.app.ActivityThread.main (ActivityThread.java:7188)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:975)