litesuits / android-lite-orm

LiteOrm is a fast, small, powerful ORM framework for Android. LiteOrm makes you do CRUD operarions on SQLite database with a sigle line of code efficiently.
http://litesuits.com?form=gorm
Apache License 2.0
1.49k stars 362 forks source link

Fatal Exception: java.lang.ExceptionInInitializerError #65

Open wuqiong657 opened 7 years ago

wuqiong657 commented 7 years ago

at com.example.manager.SwitchDBManager.save(Unknown Source) at com.example.utility.MixpanelUtil.updateUserInfo(Unknown Source) at com.example.utility.MixpanelUtil.(Unknown Source) at com.example.utility.MixpanelUtil.updateUserInfo(Unknown Source) at com.example.Application.onCreate(Unknown Source) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1028) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5659) at android.app.ActivityThread.-wrap2(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1637) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:156) at android.app.ActivityThread.main(ActivityThread.java:6524) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831)

全局使用一个Liteorm,但有多个表,可能存在同时写数据库的情况,就会引起崩溃?