android - SQLite suddenly considers everything as not an error -



android - SQLite suddenly considers everything as not an error -

it started on android phone, simple create statement in file within assets/migrations folder (i utilize 3rd party library called activeandroid , 2 years worked okay - did not changed that):

create table if not exists auto (brand text);

i exception:

04-07 15:31:36.683 15738-15738/? e/sqlitelog﹕ (21) api called null prepared statement 04-07 15:31:36.683 15738-15738/? e/sqlitelog﹕ (21) misuse @ line 63243 of [00bb9c9ce4] java.lang.runtimeexception: unable create application com.activeandroid.app.application: android.database.sqlite.sqliteexception: not error (code 0) @ android.app.activitythread.handlebindapplication(activitythread.java:4394) @ android.app.activitythread.access$1300(activitythread.java:141) @ android.app.activitythread$h.handlemessage(activitythread.java:1294) @ android.os.handler.dispatchmessage(handler.java:99) @ android.os.looper.loop(looper.java:137) @ android.app.activitythread.main(activitythread.java:5041) @ java.lang.reflect.method.invokenative(native method) @ java.lang.reflect.method.invoke(method.java:511) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:793) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:560) @ dalvik.system.nativestart.main(native method) caused by: android.database.sqlite.sqliteexception: not error (code 0) @ android.database.sqlite.sqliteconnection.nativeexecuteforchangedrowcount(native method) @ android.database.sqlite.sqliteconnection.executeforchangedrowcount(sqliteconnection.java:727) @ android.database.sqlite.sqlitesession.executeforchangedrowcount(sqlitesession.java:754) @ android.database.sqlite.sqlitestatement.executeupdatedelete(sqlitestatement.java:64) @ android.database.sqlite.sqlitedatabase.executesql(sqlitedatabase.java:1665) @ android.database.sqlite.sqlitedatabase.execsql(sqlitedatabase.java:1594) @ com.activeandroid.databasehelper.executesqlscript(databasehelper.java:185) @ com.activeandroid.databasehelper.executemigrations(databasehelper.java:155) @ com.activeandroid.databasehelper.onupgrade(databasehelper.java:78) @ android.database.sqlite.sqliteopenhelper.getdatabaselocked(sqliteopenhelper.java:257) @ android.database.sqlite.sqliteopenhelper.getwritabledatabase(sqliteopenhelper.java:164) @ com.activeandroid.cache.opendatabase(cache.java:104) @ com.activeandroid.cache.initialize(cache.java:77) @ com.activeandroid.activeandroid.initialize(activeandroid.java:43) @ com.activeandroid.activeandroid.initialize(activeandroid.java:30) @ com.activeandroid.app.application.oncreate(application.java:25) @ android.app.instrumentation.callapplicationoncreate(instrumentation.java:1000) @ android.app.activitythread.handlebindapplication(activitythread.java:4391)             at android.app.activitythread.access$1300(activitythread.java:141)             at android.app.activitythread$h.handlemessage(activitythread.java:1294)             at android.os.handler.dispatchmessage(handler.java:99)             at android.os.looper.loop(looper.java:137)             at android.app.activitythread.main(activitythread.java:5041)             at java.lang.reflect.method.invokenative(native method)

so checked on computer firefox addon called sqlite manager , created brand new file (the file totally unrelated android database). used select , on lastly error this:

it seems every sqlite statement not error statement.

unfortunately, android can't handle that.

what should do?

it seems upgrade script in assets\migration folder had empty lines , caused not error.

android sqlite

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -