incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <>
Subject [jira] [Resolved] (CB-191) Exception handling for synchronous plugin calls
Date Mon, 11 Jun 2012 17:44:43 GMT


Joe Bowser resolved CB-191.

    Resolution: Unresolved

This appears to be abandoned. Closing.
> Exception handling for synchronous plugin calls
> -----------------------------------------------
>                 Key: CB-191
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.2.0
>            Reporter: pboon
>            Priority: Minor
> We received user reports about our application crashing with the stack trace below. Looking
at the source code of, it looks like for synchronous calls no exception
handling is performed (contrary to async calls where the error callback is called in case
of an exception).
> Since Android 1.x is not supported, we should be able to solve this specific case by
making sure no fallback is performed if the original openDatabase(_orig) throws a (javascript)
> android.database.sqlite.SQLiteException: unable to open database file
> at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
> at android.database.sqlite.SQLiteDatabase.<init>
> (
> at
> android.database.sqlite.SQLiteDatabase.openDatabase(
> at
> android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(
> at com.phonegap.Storage.openDatabase(
> at com.phonegap.Storage.execute(
> at com.phonegap.api.PluginManager.exec(
> at com.phonegap.DroidGap$GapClient.onJsPrompt(
> at android.webkit.CallbackProxy.handleMessage(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message