That's correct, it's not my app's database.  But my app uses a WebView
and just stops there.  Write anything that uses a WebView (or uses
sqlite) and you should see the problem.

The following is everything I got in LogCat's error view:

02-22 10:43:59.242: ERROR/Database(27448): sqlite3_open_v2("/data/data/
crashtest.test/databases/webview.db", &handle, 6, NULL) failed
02-22 10:43:59.262: ERROR/AndroidRuntime(27448): Uncaught handler:
thread WebViewCoreThread exiting due to uncaught exception
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):
android.database.sqlite.SQLiteException: unable to open database file
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:
1421)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.database.sqlite.SQLiteDatabase.openDatabase
(SQLiteDatabase.java:537)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.database.sqlite.SQLiteDatabase.openOrCreateDatabase
(SQLiteDatabase.java:558)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.database.sqlite.SQLiteDatabase.openOrCreateDatabase
(SQLiteDatabase.java:551)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.app.ApplicationContext.openOrCreateDatabase
(ApplicationContext.java:427)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.content.ContextWrapper.openOrCreateDatabase
(ContextWrapper.java:181)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.webkit.WebViewDatabase.getInstance(WebViewDatabase.java:167)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.webkit.CacheManager.init(CacheManager.java:146)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.webkit.BrowserFrame.<init>(BrowserFrame.java:112)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.webkit.WebViewCore.initialize(WebViewCore.java:168)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.webkit.WebViewCore.access$400(WebViewCore.java:43)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.webkit.WebViewCore$WebCoreThread$1.handleMessage
(WebViewCore.java:425)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.os.Handler.dispatchMessage(Handler.java:88)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.os.Looper.loop(Looper.java:123)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:468)
02-22 10:43:59.282: ERROR/AndroidRuntime(27448):     at
java.lang.Thread.run(Thread.java:935)


On Feb 22, 10:07 am, Mark Murphy <mmur...@commonsware.com> wrote:
> focuser wrote:
> > 02-22 09:57:00.242: ERROR/AndroidRuntime(25948): Uncaught handler:
> > thread WebViewCoreThread exiting due to uncaught exception
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):
> > android.database.sqlite.SQLiteException: unable to open database file
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:
> > 1421)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.database.sqlite.SQLiteDatabase.openDatabase
> > (SQLiteDatabase.java:537)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.database.sqlite.SQLiteDatabase.openOrCreateDatabase
> > (SQLiteDatabase.java:558)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.database.sqlite.SQLiteDatabase.openOrCreateDatabase
> > (SQLiteDatabase.java:551)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.app.ApplicationContext.openOrCreateDatabase
> > (ApplicationContext.java:427)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.content.ContextWrapper.openOrCreateDatabase
> > (ContextWrapper.java:181)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.webkit.WebViewDatabase.getInstance(WebViewDatabase.java:167)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.webkit.CacheManager.init(CacheManager.java:146)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.webkit.BrowserFrame.<init>(BrowserFrame.java:112)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.webkit.WebViewCore.initialize(WebViewCore.java:168)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.webkit.WebViewCore.access$400(WebViewCore.java:43)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.webkit.WebViewCore$WebCoreThread$1.handleMessage
> > (WebViewCore.java:425)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.os.Handler.dispatchMessage(Handler.java:88)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.os.Looper.loop(Looper.java:123)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:468)
> > 02-22 09:57:00.272: ERROR/AndroidRuntime(25948):     at
> > java.lang.Thread.run(Thread.java:935)
>
> Ick.
>
> That's not even your app's database, if I'm reading this stack trace
> correctly -- it's one used by WebView. I was hoping it would be your
> database and a more useful error message than simply "unable to open
> database file".
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android Training in Sweden --http://www.sotrium.com/training.php
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to