You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.ExceptionInInitializerError
at com.umeng.comm.ui.fragments.CommunityMainFragment.(CommunityMainFragment.java:102)
at java.lang.Class.newInstance(Native Method)
at android.support.v4.app.Fragment.instantiate(Fragment.java:423)
at android.support.v4.app.FragmentState.instantiate(Fragment.java:102)
at android.support.v4.app.FragmentManagerImpl.restoreAllState(FragmentManager.java:1907)
at android.support.v4.app.FragmentController.restoreAllState(FragmentController.java:135)
at android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:251)
at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:61)
at android.app.Activity.performCreate(Activity.java:6367)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2397)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2504)
at android.app.ActivityThread.access$900(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1368)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:5546)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:684)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'com.activeandroid.TableInfo com.activeandroid.ModelInfo.getTableInfo(java.lang.Class)' on a null object reference
at com.activeandroid.Cache.getTableInfo(Cache.java:148)
at com.activeandroid.Model.(Model.java:54)
at com.umeng.comm.core.beans.BaseBean.(BaseBean.java:54)
at com.umeng.comm.core.beans.CommUser.(CommUser.java:135)
at com.umeng.comm.core.beans.CommConfig.(CommConfig.java:58)
at com.umeng.comm.core.beans.CommConfig.(CommConfig.java:62)
... 23 more
The text was updated successfully, but these errors were encountered:
微社区总是捕获到这个错误,有解决办法吗?
异常类型:java.lang.ExceptionInInitializerError
异常信息:NONE
关键方法:com.activeandroid.Cache.getTableInfo(Cache.java:148)
java.lang.ExceptionInInitializerError
at com.umeng.comm.ui.fragments.CommunityMainFragment.(CommunityMainFragment.java:102)
at java.lang.Class.newInstance(Native Method)
at android.support.v4.app.Fragment.instantiate(Fragment.java:423)
at android.support.v4.app.FragmentState.instantiate(Fragment.java:102)
at android.support.v4.app.FragmentManagerImpl.restoreAllState(FragmentManager.java:1907)
at android.support.v4.app.FragmentController.restoreAllState(FragmentController.java:135)
at android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:251)
at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:61)
at android.app.Activity.performCreate(Activity.java:6367)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2397)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2504)
at android.app.ActivityThread.access$900(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1368)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:5546)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:684)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'com.activeandroid.TableInfo com.activeandroid.ModelInfo.getTableInfo(java.lang.Class)' on a null object reference
at com.activeandroid.Cache.getTableInfo(Cache.java:148)
at com.activeandroid.Model.(Model.java:54)
at com.umeng.comm.core.beans.BaseBean.(BaseBean.java:54)
at com.umeng.comm.core.beans.CommUser.(CommUser.java:135)
at com.umeng.comm.core.beans.CommConfig.(CommConfig.java:58)
at com.umeng.comm.core.beans.CommConfig.(CommConfig.java:62)
... 23 more
The text was updated successfully, but these errors were encountered: