java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xiaomi.smarthome/com.xiaomi.smarthome.shop.DeviceShopDetailCrowdfundingActivity}: java.lang.IllegalArgumentException: Invalid target position

miui.com | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    MIUI_用户反馈App_MIUI论坛

    miui.com | 8 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xiaomi.smarthome/com.xiaomi.smarthome.shop.DeviceShopDetailCrowdfundingActivity}: java.lang.IllegalArgumentException: Invalid target position
  2. 0

    GitHub comment 361#188841711

    GitHub | 1 year ago | hidroh
    java.lang.IllegalArgumentException: Invalid target position
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    【原创】【ViewFlow+GridView】Parameter must be a descendant of this view问题分析 - 陌上幽人 - 博客园

    cnblogs.com | 2 years ago
    java.lang.IllegalArgumentException: parameter must be a descendant of at android.view.ViewGroup.offsetRectBetweenParentAndChild(ViewGroup.java:4295 at android.view.ViewGroup.offsetDescendantRectToMyCoords(ViewGroup.java:4232 at android.view.ViewRootImpl.scrollToRectOrFocus(ViewRootImpl.java:2440 at android.view.ViewRootImpl.draw(ViewRootImpl.java:2096 at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2045 at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1854 at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:989 at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4351 at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749 at android.view.Choreographer.doCallbacks(Choreographer.java:562 at android.view.Choreographer.doFrame(Choreographer.java:532 at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735 at android.os.Handler.handleCallback(Handler.java:725 at android.os.Handler.dispatchMessage(Handler.java:92 at android.os.Looper.loop(Looper.java:137 at android.app.ActivityThread.main(ActivityThread.java:5041 at java.lang.reflect.Method.invoke(Method.java:511 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560
  5. 0

    Android 错误集锦ing... - 为程序员服务

    outofmemory.cn | 4 months ago
    java.lang.IllegalArgumentException: Receiver not registered: android.widget.ZoomButtonsController$1@2b992778 ......

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Invalid target position

    at android.support.v7.widget.RecyclerView$SmoothScroller.start()
  2. Android v7
    RecyclerView.smoothScrollToPosition
    1. android.support.v7.widget.RecyclerView$SmoothScroller.start(RecyclerView.java:8895)
    2. android.support.v7.widget.RecyclerView$LayoutManager.startSmoothScroll(RecyclerView.java:6182)
    3. android.support.v7.widget.LinearLayoutManager.smoothScrollToPosition(LinearLayoutManager.java:434)
    4. android.support.v7.widget.RecyclerView.smoothScrollToPosition(RecyclerView.java:1336)
    4 frames
  3. com.xiaomi.smarthome
    DeviceShopDetailCrowdfundingActivity.onCreate
    1. com.xiaomi.smarthome.shop.DeviceShopDetailCrowdfundingActivity.onCreate(DeviceShopDetailCrowdfundingActivity.java:217)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5248)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2164)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2249)
    5. android.app.ActivityThread.access$800(ActivityThread.java:141)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:136)
    9. android.app.ActivityThread.main(ActivityThread.java:5052)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame