Closed
Bug 1034167
Opened 11 years ago
Closed 11 years ago
TwoWayView crashes in Android L
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox32+ verified, firefox33 verified, firefox34 verified, fennec32+)
VERIFIED
FIXED
Firefox 33
People
(Reporter: lucasr, Assigned: lucasr)
References
Details
Attachments
(2 files)
73.70 KB,
patch
|
mfinkle
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
3.81 KB,
patch
|
mfinkle
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Upstream ticket: https://github.com/lucasr/twoway-view/issues/70
E/AndroidRuntime( 6162): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2255)
E/AndroidRuntime( 6162): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2317)
E/AndroidRuntime( 6162): at android.app.ActivityThread.access$800(ActivityThread.java:143)
E/AndroidRuntime( 6162): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1258)
E/AndroidRuntime( 6162): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 6162): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 6162): at android.app.ActivityThread.main(ActivityThread.java:5070)
E/AndroidRuntime( 6162): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 6162): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 6162): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:836)
E/AndroidRuntime( 6162): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:631)
E/AndroidRuntime( 6162): Caused by: android.view.InflateException: Binary XML file line #16: Error inflating class org.lucasr.twowayview.TwoWayView
E/AndroidRuntime( 6162): at android.view.LayoutInflater.createView(LayoutInflater.java:629)
E/AndroidRuntime( 6162): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:739)
E/AndroidRuntime( 6162): at android.view.LayoutInflater.rInflate(LayoutInflater.java:802)
E/AndroidRuntime( 6162): at android.view.LayoutInflater.rInflate(LayoutInflater.java:805)
E/AndroidRuntime( 6162): at android.view.LayoutInflater.inflate(LayoutInflater.java:500)
E/AndroidRuntime( 6162): at android.view.LayoutInflater.inflate(LayoutInflater.java:410)
E/AndroidRuntime( 6162): at com.checkthis.frontback.fragments.DiscoverFragment.onCreateView(DiscoverFragment.java:99)
E/AndroidRuntime( 6162): at android.support.v4.app.Fragment.performCreateView(Fragment.java:1478)
E/AndroidRuntime( 6162): at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:927)
E/AndroidRuntime( 6162): at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
E/AndroidRuntime( 6162): at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
E/AndroidRuntime( 6162): at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1460)
E/AndroidRuntime( 6162): at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:556)
E/AndroidRuntime( 6162): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1217)
E/AndroidRuntime( 6162): at android.app.Activity.performStart(Activity.java:5736)
E/AndroidRuntime( 6162): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2218)
E/AndroidRuntime( 6162): ... 10 more
E/AndroidRuntime( 6162): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 6162): at java.lang.reflect.Constructor.newInstance(Native Method)
E/AndroidRuntime( 6162): at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
E/AndroidRuntime( 6162): at android.view.LayoutInflater.createView(LayoutInflater.java:603)
E/AndroidRuntime( 6162): ... 25 more
E/AndroidRuntime( 6162): Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x3
E/AndroidRuntime( 6162): at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:562)
E/AndroidRuntime( 6162): at android.view.View.initializeScrollbars(View.java:4357)
E/AndroidRuntime( 6162): at org.lucasr.twowayview.TwoWayView.(TwoWayView.java:389)
E/AndroidRuntime( 6162): at org.lucasr.twowayview.TwoWayView.(TwoWayView.java:313)
E/AndroidRuntime( 6162): ... 28 more
Assignee | ||
Updated•11 years ago
|
tracking-fennec: --- → 32+
Comment 1•11 years ago
|
||
Not 31+?
Assignee | ||
Comment 2•11 years ago
|
||
I thought 32 is our first release on L? blassey?
Flags: needinfo?(blassey.bugs)
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8453751 [details] [diff] [review]
Part 1: Update TwoWayView from upstream (r=mfinkle)
Mostly a bunch of refactorings + scrollbar code changes that fix the crasher in L.
Attachment #8453751 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 8453752 [details] [diff] [review]
Part 2: Explicit set scrollbars in TabsTray (r=mfinkle)
Scrollbars now need to be explicitly set.
Attachment #8453752 -
Flags: review?(mark.finkle)
Comment 7•11 years ago
|
||
32 will be released on 9/2. We expect Andoid L sometime in October, so tracking for 32 is right.
tracking-firefox32:
--- → ?
Flags: needinfo?(blassey.bugs)
Updated•11 years ago
|
Attachment #8453751 -
Flags: review?(mark.finkle) → review+
Comment 8•11 years ago
|
||
Comment on attachment 8453752 [details] [diff] [review]
Part 2: Explicit set scrollbars in TabsTray (r=mfinkle)
I missed this request somehow...
Attachment #8453752 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8453751 [details] [diff] [review]
Part 1: Update TwoWayView from upstream (r=mfinkle)
Approval Request Comment
[Feature/regressing bug #]: The upcoming Android L release.
[User impact if declined]: Crash on startup.
[Describe test coverage new/current, TBPL]: Local testing with the upstream sample app.
[Risks and why]: Low, we're removing code that explicit sets the default scrollbar behaviour in the widget.
[String/UUID change made/needed]: n/a
Attachment #8453751 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 8453752 [details] [diff] [review]
Part 2: Explicit set scrollbars in TabsTray (r=mfinkle)
Approval Request Comment
[Feature/regressing bug #]: The upcoming Android L release.
[User impact if declined]: Crash on startup.
[Describe test coverage new/current, TBPL]: Local testing with the upstream sample app.
[Risks and why]: Low, we're removing code that explicit sets the default scrollbar behaviour in the widget.
[String/UUID change made/needed]: n/a
Attachment #8453752 -
Flags: approval-mozilla-aurora?
Comment 12•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ee57ae5dc806
https://hg.mozilla.org/mozilla-central/rev/fc0750213b61
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Comment 13•11 years ago
|
||
Part 1 is a fairly big change, even if it is low risk. I'd like to give this another day to bake on Nightly before considering for uplift.
Updated•11 years ago
|
Comment 14•11 years ago
|
||
(In reply to Lawrence Mandel [:lmandel] from comment #13)
> Part 1 is a fairly big change, even if it is low risk. I'd like to give this
> another day to bake on Nightly before considering for uplift.
Ping
Updated•11 years ago
|
Attachment #8453752 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #8453751 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 15•11 years ago
|
||
Taking it to make sure it is part of the first beta of 32.
Comment 16•11 years ago
|
||
Comment 17•11 years ago
|
||
No crashing on my Nexus 7 on L Preview
Status: RESOLVED → VERIFIED
status-firefox34:
--- → verified
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•