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 | 4 months ago
  1. 0

    【CrashLog】 WeiSwift 2016-08-13 01:09:41:522

    GitHub | 4 months ago | wenmingvs
    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-13 01:26:46:883

    GitHub | 4 months ago | wenmingvs
    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-13 01:50:05:436

    GitHub | 4 months ago | wenmingvs
    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-13 02:09:48:964

    GitHub | 4 months ago | wenmingvs
    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-13 02:42:37:40

    GitHub | 4 months ago | wenmingvs
    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

  1. tzrlk 1 times, last 2 weeks ago
  2. lribeiro 2 times, last 2 months ago
  3. brunosatriani 40 times, last 5 months ago
  4. Diogo Jaym 2 times, last 5 months ago
  5. Ranjana Dangol 12 times, last 5 months ago
7 more registered users
44 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.InstantiationException

    can't instantiate class com.wenming.weiswift.ui.login.activity.MainActivity$6; no empty constructor

    at java.lang.Class.newInstanceImpl()
  2. Java RT
    Class.newInstance
    1. java.lang.Class.newInstanceImpl(Native Method)
    2. java.lang.Class.newInstance(Class.java:1208)
    2 frames
  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. com.wenming.weiswift
    MainActivity.onCreate
    1. com.wenming.weiswift.ui.login.activity.MainActivity.onCreate(MainActivity.java:60)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5356)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2163)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2258)
    5. android.app.ActivityThread.access$800(ActivityThread.java:147)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1211)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:136)
    9. android.app.ActivityThread.main(ActivityThread.java:5135)
    9 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    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:795)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame