Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微社区总是捕获到这个错误com.activeandroid.Cache.getTableInfo(Cache.java:148) #3

Open
a14795860 opened this issue Sep 22, 2016 · 0 comments

Comments

@a14795860
Copy link

微社区总是捕获到这个错误,有解决办法吗?
异常类型: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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant