java.lang.IllegalArgumentException: height cannot be greater than 65535.

GitHub | DmitryTankovich | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    height cannot be greater than 65535.

    at com.mapbox.mapboxsdk.maps.NativeMapView.resizeView()
  2. com.mapbox.mapboxsdk
    MapView.onSizeChanged
    1. com.mapbox.mapboxsdk.maps.NativeMapView.resizeView(SourceFile:146)
    2. com.mapbox.mapboxsdk.maps.MapView.onSizeChanged(SourceFile:1337)
    2 frames
  3. Android Platform
    ViewGroup.layout
    1. android.view.View.sizeChange(View.java:16019)
    2. android.view.View.setFrame(View.java:15992)
    3. android.view.View.layout(View.java:15899)
    4. android.view.ViewGroup.layout(ViewGroup.java:4932)
    5. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)
    6. android.view.View.layout(View.java:15903)
    7. android.view.ViewGroup.layout(ViewGroup.java:4932)
    8. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)
    9. android.view.View.layout(View.java:15903)
    10. android.view.ViewGroup.layout(ViewGroup.java:4932)
    11. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)
    12. android.view.View.layout(View.java:15903)
    13. android.view.ViewGroup.layout(ViewGroup.java:4932)
    13 frames
  4. Android Support v4
    DrawerLayout.onLayout
    1. android.support.v4.widget.DrawerLayout.onLayout(SourceFile:1187)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:15903)
    2. android.view.ViewGroup.layout(ViewGroup.java:4932)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
    5. android.view.View.layout(View.java:15903)
    6. android.view.ViewGroup.layout(ViewGroup.java:4932)
    7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
    8. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
    9. android.view.View.layout(View.java:15903)
    10. android.view.ViewGroup.layout(ViewGroup.java:4932)
    11. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
    12. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
    13. android.view.View.layout(View.java:15903)
    14. android.view.ViewGroup.layout(ViewGroup.java:4932)
    15. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1692)
    16. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1534)
    17. android.widget.LinearLayout.onLayout(LinearLayout.java:1443)
    18. android.view.View.layout(View.java:15903)
    19. android.view.ViewGroup.layout(ViewGroup.java:4932)
    20. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
    21. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
    22. android.view.View.layout(View.java:15903)
    23. android.view.ViewGroup.layout(ViewGroup.java:4932)
    24. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2425)
    25. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2140)
    26. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1316)
    27. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6804)
    28. android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)
    29. android.view.Choreographer.doCallbacks(Choreographer.java:613)
    30. android.view.Choreographer.doFrame(Choreographer.java:583)
    31. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
    32. android.os.Handler.handleCallback(Handler.java:733)
    33. android.os.Handler.dispatchMessage(Handler.java:95)
    34. android.os.Looper.loop(Looper.java:146)
    35. android.app.ActivityThread.main(ActivityThread.java:5752)
    35 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(NativeStart.java)
    1 frame