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 | 8 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:51:30:765

    GitHub | 8 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

    issuehub.io

    issuehub.io | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jodeals/com.jodeals.activity.HomeActivtiy}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.jodeals.fragment.offers.DiscountListFragment: make sure class name exists, is public, and has an empty constructor that is public
  3. 0

    issuehub.io

    issuehub.io | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jodeals/com.jodeals.activity.HomeActivtiy}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.jodeals.fragment.offers.DiscountListFragment: 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 01:09:41:522

    GitHub | 8 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-13 01:26:46:883

    GitHub | 8 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.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:1319)
    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. 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
    Instrumentation.callActivityOnCreate
    1. android.app.Activity.performCreate(Activity.java:5206)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
    2 frames
  7. com.qihoo360.mobilesafe
    c.callActivityOnCreate
    1. com.qihoo360.mobilesafe.loader.c.callActivityOnCreate(SourceFile:98)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2064)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2125)
    3. android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3553)
    4. android.app.ActivityThread.access$700(ActivityThread.java:140)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1233)
    6. android.os.Handler.dispatchMessage(Handler.java:99)
    7. android.os.Looper.loop(Looper.java:137)
    8. android.app.ActivityThread.main(ActivityThread.java:4898)
    8 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame