java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wenming.weiswift/com.wenming.weiswift.ui.login.activity.MainActivity}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.wenming.weiswift.ui.login.activity.MainActivity$6: make sure class name exists, is public, and has an empty constructor that is public

GitHub | wenmingvs | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    【CrashLog】 WeiSwift 2016-08-15 11:46:24:17

    GitHub | 9 months ago | wenmingvs
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wenming.weiswift/com.wenming.weiswift.ui.login.activity.MainActivity}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.wenming.weiswift.ui.login.activity.MainActivity$6: make sure class name exists, is public, and has an empty constructor that is public
  2. 0

    【CrashLog】 WeiSwift 2016-08-15 12:28:15:79

    GitHub | 9 months ago | wenmingvs
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wenming.weiswift/com.wenming.weiswift.ui.login.activity.MainActivity}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.wenming.weiswift.ui.login.activity.MainActivity$6: make sure class name exists, is public, and has an empty constructor that is public
  3. 0

    【CrashLog】 WeiSwift 2016-08-15 12:26:49:32

    GitHub | 9 months ago | wenmingvs
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wenming.weiswift/com.wenming.weiswift.ui.login.activity.MainActivity}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.wenming.weiswift.ui.login.activity.MainActivity$6: make sure class name exists, is public, and has an empty constructor that is public
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    【CrashLog】 WeiSwift 2016-08-15 12:23:37:84

    GitHub | 9 months ago | wenmingvs
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wenming.weiswift/com.wenming.weiswift.ui.login.activity.MainActivity}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.wenming.weiswift.ui.login.activity.MainActivity$6: make sure class name exists, is public, and has an empty constructor that is public
  6. 0

    【CrashLog】 WeiSwift 2016-08-15 12:18:08:44

    GitHub | 9 months ago | wenmingvs
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wenming.weiswift/com.wenming.weiswift.ui.login.activity.MainActivity}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.wenming.weiswift.ui.login.activity.MainActivity$6: make sure class name exists, is public, and has an empty constructor that is public
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.IllegalAccessException

    java.lang.Class<com.wenming.weiswift.ui.login.activity.MainActivity$6> is not accessible from java.lang.Class<android.support.v4.app.Fragment>

    at java.lang.Class.newInstance()
  2. Java RT
    Class.newInstance
    1. java.lang.Class.newInstance(Native Method)
    1 frame
  3. Android Support v4
    FragmentActivity.onCreate
    1. android.support.v4.app.Fragment.instantiate(Fragment.java:420)
    2. android.support.v4.app.FragmentState.instantiate(Fragment.java:102)
    3. android.support.v4.app.FragmentManagerImpl.restoreAllState(FragmentManager.java:1952)
    4. android.support.v4.app.FragmentController.restoreAllState(FragmentController.java:144)
    5. android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:307)
    5 frames
  4. Android v7
    AppCompatActivity.onCreate
    1. android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:84)
    1 frame
  5. com.wenming.weiswift
    MainActivity.onCreate
    1. com.wenming.weiswift.ui.login.activity.MainActivity.onCreate(MainActivity.java:110)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6876)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)
    5. android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5382)
    6. android.app.ActivityThread.access$1200(ActivityThread.java:221)
    7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1800)
    8. android.os.Handler.dispatchMessage(Handler.java:102)
    9. android.os.Looper.loop(Looper.java:158)
    10. android.app.ActivityThread.main(ActivityThread.java:7224)
    10 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames
  9. XposedBridge
    XposedBridge.main
    1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
    1 frame