Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

NullPointerException: initialiseCustomTabUi #1156

Closed
pocmo opened this issue Aug 17, 2017 · 3 comments
Closed

NullPointerException: initialiseCustomTabUi #1156

pocmo opened this issue Aug 17, 2017 · 3 comments
Labels

Comments

@pocmo
Copy link
Contributor

pocmo commented Aug 17, 2017

Via Google Play.

Caused by: java.lang.NullPointerException: 
   at org.mozilla.focus.fragment.BrowserFragment.initialiseCustomTabUi (BrowserFragment.java:304)
  at org.mozilla.focus.fragment.BrowserFragment.inflateLayout (BrowserFragment.java:244)
  at org.mozilla.focus.fragment.WebFragment.onCreateView (WebFragment.java:55)
  at android.support.v4.app.Fragment.performCreateView (Fragment.java:2192)

Looks like this might only affects tablets (and if there's a custom tab involved?)

New in version 8 (1.2).

@pocmo
Copy link
Contributor Author

pocmo commented Aug 17, 2017

Argh. This crashes every time when a custom tab is opened on a tablet (-> Focus is the default browser).

@pocmo
Copy link
Contributor Author

pocmo commented Aug 17, 2017

Looks like we lost "customtab_actionbutton" in the tablet toolbar layout in ec8ce30. I'll add it and prepare a new release version.

@pocmo
Copy link
Contributor Author

pocmo commented Aug 17, 2017

Building a 1.2.1 dot release for this:
https://bugzilla.mozilla.org/show_bug.cgi?id=1391195

@pocmo pocmo closed this as completed Aug 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant