This object is in archive! 

Crash when rotating display in "navigate to" screen

aaaa shared this problem 7 years ago
Solved

How to reproduce:

1. Open "Navigate to" screen

2. Ensure that rotation is landscape

3. Rotate to portrait


If you scroll, then the crash won't happen.


Stack trace:

java.lang.NullPointerException: Attempt to read from field 'double o.bfE.ˋ' on a null object reference

at o.YK.ˏ(:40484)

at o.YK.ˎ(:583)

at o.MK$ˋ$iF.getView(:1088)

at o.bat$ˋ.getView(:730)

at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220)

at android.widget.AbsListView.obtainView(AbsListView.java:2346)

at android.widget.ListView.makeAndAddView(ListView.java:1876)

at android.widget.ListView.fillDown(ListView.java:702)

at android.widget.ListView.fillFromTop(ListView.java:763)

at android.widget.ListView.layoutChildren(ListView.java:1671)

at o.bat.layoutChildren(:2139)

at android.widget.AbsListView.onLayout(AbsListView.java:2148)

at android.view.View.layout(View.java:16653)

at android.view.ViewGroup.layout(ViewGroup.java:5438)

at android.support.v4.view.ViewPager.onLayout(:1799)

at android.view.View.layout(View.java:16653)

at android.view.ViewGroup.layout(ViewGroup.java:5438)

at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)

at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)

at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)

at android.view.View.layout(View.java:16653)

at android.view.ViewGroup.layout(ViewGroup.java:5438)

at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)

at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)

at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)

at android.view.View.layout(View.java:16653)

at android.view.ViewGroup.layout(ViewGroup.java:5438)

at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)

at android.widget.FrameLayout.onLayout(FrameLayout.java:273)

at android.view.View.layout(View.java:16653)

at android.view.ViewGroup.layout(ViewGroup.java:5438)

at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)

at android.widget.FrameLayout.onLayout(FrameLayout.java:273)

at android.view.View.layout(View.java:16653)

at android.view.ViewGroup.layout(ViewGroup.java:5438)

at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)

at android.widget.FrameLayout.onLayout(FrameLayout.java:273)

at android.view.View.layout(View.java:16653)

at android.view.ViewGroup.layout(ViewGroup.java:5438)

at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)

at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)

at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)

at android.view.View.layout(View.java:16653)

at android.view.ViewGroup.layout(ViewGroup.java:5438)

at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)

at android.widget.FrameLayout.onLayout(FrameLayout.java:273)

at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2680)

at android.view.View.layout(View.java:16653)

at android.view.ViewGroup.layout(ViewGroup.java:5438)

at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2198)

at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1958)

at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1134)

at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6045)

at android.view.Choreographer$CallbackRecord.run(Choreographer.java:860)

at android.view.Choreographer.doCallbacks(Choreographer.java:672)

at android.view.Choreographer.doFrame(Choreographer.java:608)

at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:846)

at android.os.Handler.handleCallback(Handler.java:739)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:148)

at android.app.ActivityThread.main(ActivityThread.java:5441)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)

Replies (1)

photo
1

Good day,

thank you for a bug report. Indeed, issue happen only in landscape mode when second point was not visible on the screen! Issue found and fixed!

Replies have been locked on this page!