Hi,

I need some help pinpointing this error, I cannot reproduce it on my
G1 or on any emulator image (yes I've wiped the data on the emulators
before starting), but I've gotten 3-5 reports from the developer page
with this error. (reports come from nexus one and droid, so I assume
it has to do with either froyo or eclair)

Before anyone says, "it's simple, there is no table called
locationfavorites", let me ask why this only happens on some devices
and not others? My DBAdapter also has in it's onCreate() method the
table creation statement that it needs.

android.database.sqlite.SQLiteException: no such table:
locationfavorites: , while compiling: SELECT _id, name, latitude,
longitude FROM locationfavorites
  at
android.database.sqlite.SQLiteProgram.native_compile(SQLiteProgram.java:-2)
  at android.database.sqlite.SQLiteProgram.compile(SQLiteProgram.java:
110)
  at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:
59)
  at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:49)
  at
android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:
49)
  at
android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:
1221)
  at
android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:
1108)
  at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:
1066)
  at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:
1143)
  at
com.jukaku.masjidnow.FavoritesDBAdapter.getAllLocationFavorites(FavoritesDBAdapter.java:
100)
  at com.jukaku.masjidnow.Home.startEditFavorites(Home.java:361)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to