java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • MIUI_用户反馈App_MIUI论坛
    via by Unknown author,
  • GitHub comment 361#188841711
    via GitHub by hidroh
    ,
  • smoothScrollToPosition crash
    via GitHub by SiminaNicolae
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xiaomi.smarthome/com.xiaomi.smarthome.shop.DeviceShopDetailCrowdfundingActivity}: java.lang.IllegalArgumentException: Invalid target position at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2200) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2249) at android.app.ActivityThread.access$800(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5052) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.IllegalArgumentException: Invalid target position at android.support.v7.widget.RecyclerView$SmoothScroller.start(RecyclerView.java:8895) at android.support.v7.widget.RecyclerView$LayoutManager.startSmoothScroll(RecyclerView.java:6182) at android.support.v7.widget.LinearLayoutManager.smoothScrollToPosition(LinearLayoutManager.java:434) at android.support.v7.widget.RecyclerView.smoothScrollToPosition(RecyclerView.java:1336) at com.xiaomi.smarthome.shop.DeviceShopDetailCrowdfundingActivity.onCreate(DeviceShopDetailCrowdfundingActivity.java:217) at android.app.Activity.performCreate(Activity.java:5248) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2164) ... 11 more

    Users with the same issue

    ajinkya_wajinkya_w
    8 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    xaviloxavilo
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,