java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wenming.weiswift/com.wenming.weiswift.ui.login.fragment.profile.myweibo.MyWeiBoActivity}: java.lang.IllegalArgumentException: ViewStub must have a valid layoutResource

GitHub | wenmingvs | 4 months ago
  1. 0

    【CrashLog】 WeiSwift 2016-08-05 12:32:57:93

    GitHub | 4 months ago | wenmingvs
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wenming.weiswift/com.wenming.weiswift.ui.login.fragment.profile.myweibo.MyWeiBoActivity}: java.lang.IllegalArgumentException: ViewStub must have a valid layoutResource
  2. 0

    GitHub comment 346#208179043

    GitHub | 8 months ago | lkwjohn
    java.lang.IllegalArgumentException: ViewStub must have a valid layoutResource
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ViewStub inside custom view returning 'ViewStub must have a valid layoutResource'

    Stack Overflow | 9 months ago | Leonardo Ferrari
    java.lang.IllegalArgumentException: ViewStub must have a valid layoutResource

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      ViewStub must have a valid layoutResource

      at android.view.ViewStub.inflate()
    2. Android Platform
      ViewStub.setVisibility
      1. android.view.ViewStub.inflate(ViewStub.java:289)
      2. android.view.ViewStub.setVisibility(ViewStub.java:240)
      2 frames
    3. com.marshalchen.ultimaterecyclerview
      UltimateRecyclerView$3.onChanged
      1. com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.updateHelperDisplays(UltimateRecyclerView.java:861)
      2. com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.access$500(UltimateRecyclerView.java:61)
      3. com.marshalchen.ultimaterecyclerview.UltimateRecyclerView$3.onChanged(UltimateRecyclerView.java:816)
      3 frames
    4. Android v7
      RecyclerView$Adapter.notifyDataSetChanged
      1. android.support.v7.widget.RecyclerView$AdapterDataObservable.notifyChanged(RecyclerView.java:10366)
      2. android.support.v7.widget.RecyclerView$Adapter.notifyDataSetChanged(RecyclerView.java:6044)
      2 frames
    5. com.marshalchen.ultimaterecyclerview
      UltimateRecyclerView.setAdapter
      1. com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.setAdapterInternal(UltimateRecyclerView.java:836)
      2. com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.setAdapter(UltimateRecyclerView.java:668)
      2 frames
    6. com.wenming.weiswift
      MyWeiBoActivity.onCreate
      1. com.wenming.weiswift.ui.login.fragment.profile.myweibo.MyWeiBoActivity.initRecyclerView(MyWeiBoActivity.java:96)
      2. com.wenming.weiswift.ui.login.fragment.profile.myweibo.MyWeiBoActivity.onCreate(MyWeiBoActivity.java:61)
      2 frames
    7. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6288)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
      5. android.app.ActivityThread.access$900(ActivityThread.java:177)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:145)
      9. android.app.ActivityThread.main(ActivityThread.java:5942)
      9 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
      2 frames