You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens when first lunching the application, I checked and from the javascript file everything goes fine, there is a database path name set, I checked every use of "this.dbPath" and "dbPath" in the SqlitePlugin.js for every call to cdv.exec() and more, but I still get the error like ~95% of the time.
To get past it I just stop and relaunch the application for as many times as needed until I get the message "DB opened: tnam000178" but NOT after the exception is thrown (yeah, sometimes it happens to open the database after the exception is thrown and execution stops)
By removing the piece of code that was throwing the error I decrease the error rate from ~95% to ~85% (the console doesn't show any error, but the code does not continue as expected)
but that may be only a coincidence since I am not going to test that theory hundreds of times
this happens to the following emulators:
windows phone 8 WVGA 512mb
windows phone 8 Update 3 WVGA 512mb
windows phone 8.0.10322 WVGA 512mb
Actually, while writing this issue I made some tests,
the first try with no changes to the code 0 times success;
the second try with changes to the code by commenting out the throw part 0 times success;
the third try with changes to the code by replacing the throw error to rename the databasePath to my actual database name 1/~8 times success
SQLitePlugin.open with options:["tnam000178","SQLitePlugin1559774024"]
SQLitePlugin.open():tnam000178
A first chance exception of type 'System.ArgumentException' occurred in com.example.ATest.DLL
Error: System.ArgumentException: Must be specified
Parameter name: databasePath
at SQLite.SQLiteConnection..ctor(String databasePath, SQLiteOpenFlags openFlags, Boolean storeDateTimeAsTicks)
at SQLite.SQLiteConnection..ctor(String databasePath, Boolean storeDateTimeAsTicks)
at Cordova.Extension.Commands.SQLitePlugin.executeSqlBatch(String options)
The text was updated successfully, but these errors were encountered:
the error seems to be solved after upgrading my machine to better support the windows phone emulator. it only appears once in a while so I suspect is something wrong in the code I use
This happens when first lunching the application, I checked and from the javascript file everything goes fine, there is a database path name set, I checked every use of "this.dbPath" and "dbPath" in the SqlitePlugin.js for every call to cdv.exec() and more, but I still get the error like ~95% of the time.
To get past it I just stop and relaunch the application for as many times as needed until I get the message "DB opened: tnam000178" but NOT after the exception is thrown (yeah, sometimes it happens to open the database after the exception is thrown and execution stops)
By removing the piece of code that was throwing the error I decrease the error rate from ~95% to ~85% (the console doesn't show any error, but the code does not continue as expected)
but that may be only a coincidence since I am not going to test that theory hundreds of times
this happens to the following emulators:
Actually, while writing this issue I made some tests,
The text was updated successfully, but these errors were encountered: