郭神,发现无法创建表名为“group”的表
linfenghp opened this issue · 0 comments
org.litepal.exceptions.DatabaseGenerateException: An exception that indicates there was an error with SQL parsing or execution. create table group (id integer primary key autoincrement,name text, code text)
at org.litepal.tablemanager.Generator.execute(Generator.java:115)
at org.litepal.tablemanager.Creator.createOrUpgradeTable(Creator.java:54)
at org.litepal.tablemanager.Creator.createOrUpgradeTable(Creator.java:49)
at org.litepal.tablemanager.Generator.create(Generator.java:169)
at org.litepal.tablemanager.Generator.upgrade(Generator.java:221)
at org.litepal.tablemanager.LitePalOpenHelper.onUpgrade(LitePalOpenHelper.java:99)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:256)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
at org.litepal.tablemanager.Connector.getWritableDatabase(Connector.java:58)
at org.litepal.tablemanager.Connector.getDatabase(Connector.java:70)
at org.litepal.Operator.findFirst(Operator.java:895)
at org.litepal.Operator.findFirst(Operator.java:868)
at org.litepal.LitePal.findFirst(LitePal.kt:606)
at com.himarking.dow.tables.ConfigBLL.getScannerNo(ConfigBLL.java:39)
at com.himarking.dow.http.HeaderInterceptor.intercept(HeaderInterceptor.java:23)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:205)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:533)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)