You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "trace0815@googlemail.com (JIRA)" <ji...@apache.org> on 2012/10/04 15:27:07 UTC
[jira] [Created] (CB-1584) JSCallback Error
trace0815@googlemail.com created CB-1584:
--------------------------------------------
Summary: JSCallback Error
Key: CB-1584
URL: https://issues.apache.org/jira/browse/CB-1584
Project: Apache Cordova
Issue Type: Bug
Components: CordovaJS
Affects Versions: 2.1.0
Reporter: trace0815@googlemail.com
Assignee: Filip Maj
Hi,
for my android-app I was trying to create a sql-transaction with parameters like this:
db.transaction(function (tx) { tx.executeSql("SELECT *
FROM CONTACT WHERE LastName LIKE ?", [beginLetter],
querySuccess, errorCB); }, errorTA);
(I found it here: https://groups.google.com/forum/?fromgroups=#!topic/phonegap/mUxTsA6MmIA)
Unfortunately the web console throws an error:
10-04 15:13:27.580: I/Web Console(12233): JSCallback Error: Request failed with status 0 at file:///android_asset/www/js/lib/prod/cordova-2.1.0.js:3743
Can someone please have a look at it? Thanks! :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-1584) JSCallback Error
Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469456#comment-13469456 ]
Andrew Grieve commented on CB-1584:
-----------------------------------
If you run against HEAD, and use an ICS or above device/simulator, then the console should print out a stack trace when this error occurs. That would help a lot for identifying where the problem is happening.
> JSCallback Error
> ----------------
>
> Key: CB-1584
> URL: https://issues.apache.org/jira/browse/CB-1584
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: trace0815@googlemail.com
> Assignee: Filip Maj
> Labels: bug
> Fix For: 2.1.0
>
>
> Hi,
> for my android-app I was trying to create a sql-transaction with parameters like this:
> db.transaction(function (tx) { tx.executeSql("SELECT *
> FROM CONTACT WHERE LastName LIKE ?", [beginLetter],
> querySuccess, errorCB); }, errorTA);
> (I found it here: https://groups.google.com/forum/?fromgroups=#!topic/phonegap/mUxTsA6MmIA)
> Unfortunately the web console throws an error:
> 10-04 15:13:27.580: I/Web Console(12233): JSCallback Error: Request failed with status 0 at file:///android_asset/www/js/lib/prod/cordova-2.1.0.js:3743
> Can someone please have a look at it? Thanks! :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-1584) JSCallback Error
Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve updated CB-1584:
------------------------------
Priority: Minor (was: Major)
> JSCallback Error
> ----------------
>
> Key: CB-1584
> URL: https://issues.apache.org/jira/browse/CB-1584
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: trace0815@googlemail.com
> Assignee: Filip Maj
> Priority: Minor
> Labels: bug
> Fix For: 2.1.0
>
>
> Hi,
> for my android-app I was trying to create a sql-transaction with parameters like this:
> db.transaction(function (tx) { tx.executeSql("SELECT *
> FROM CONTACT WHERE LastName LIKE ?", [beginLetter],
> querySuccess, errorCB); }, errorTA);
> (I found it here: https://groups.google.com/forum/?fromgroups=#!topic/phonegap/mUxTsA6MmIA)
> Unfortunately the web console throws an error:
> 10-04 15:13:27.580: I/Web Console(12233): JSCallback Error: Request failed with status 0 at file:///android_asset/www/js/lib/prod/cordova-2.1.0.js:3743
> Can someone please have a look at it? Thanks! :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-1584) JSCallback Error
Posted by "trace0815@googlemail.com (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469449#comment-13469449 ]
trace0815@googlemail.com commented on CB-1584:
----------------------------------------------
Funny thing: I don't know why but I get again the error, but now I absolutely don't understand why. When I exit the app the web log raises:
10-04 17:09:44.940: D/CordovaLog(17225): file:///android_asset/www/js/lib/prod/cordova-2.1.0.js: Line 3743 : JSCallback Error: Request failed with status 0
Thats strange because I don't make any sql-actions behind the "exit app"-button, just "navigator.app.exitApp();".
I will keep an eye on that issue...
> JSCallback Error
> ----------------
>
> Key: CB-1584
> URL: https://issues.apache.org/jira/browse/CB-1584
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaJS
> Affects Versions: 2.1.0
> Reporter: trace0815@googlemail.com
> Assignee: Filip Maj
> Labels: bug
> Fix For: 2.1.0
>
>
> Hi,
> for my android-app I was trying to create a sql-transaction with parameters like this:
> db.transaction(function (tx) { tx.executeSql("SELECT *
> FROM CONTACT WHERE LastName LIKE ?", [beginLetter],
> querySuccess, errorCB); }, errorTA);
> (I found it here: https://groups.google.com/forum/?fromgroups=#!topic/phonegap/mUxTsA6MmIA)
> Unfortunately the web console throws an error:
> 10-04 15:13:27.580: I/Web Console(12233): JSCallback Error: Request failed with status 0 at file:///android_asset/www/js/lib/prod/cordova-2.1.0.js:3743
> Can someone please have a look at it? Thanks! :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-1584) JSCallback Error
Posted by "trace0815@googlemail.com (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
trace0815@googlemail.com resolved CB-1584.
------------------------------------------
Resolution: Not A Problem
Fix Version/s: 2.1.0
User error... my mistake, sorry!
> JSCallback Error
> ----------------
>
> Key: CB-1584
> URL: https://issues.apache.org/jira/browse/CB-1584
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaJS
> Affects Versions: 2.1.0
> Reporter: trace0815@googlemail.com
> Assignee: Filip Maj
> Labels: bug
> Fix For: 2.1.0
>
>
> Hi,
> for my android-app I was trying to create a sql-transaction with parameters like this:
> db.transaction(function (tx) { tx.executeSql("SELECT *
> FROM CONTACT WHERE LastName LIKE ?", [beginLetter],
> querySuccess, errorCB); }, errorTA);
> (I found it here: https://groups.google.com/forum/?fromgroups=#!topic/phonegap/mUxTsA6MmIA)
> Unfortunately the web console throws an error:
> 10-04 15:13:27.580: I/Web Console(12233): JSCallback Error: Request failed with status 0 at file:///android_asset/www/js/lib/prod/cordova-2.1.0.js:3743
> Can someone please have a look at it? Thanks! :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-1584) JSCallback Error
Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve updated CB-1584:
------------------------------
Component/s: (was: CordovaJS)
Android
> JSCallback Error
> ----------------
>
> Key: CB-1584
> URL: https://issues.apache.org/jira/browse/CB-1584
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: trace0815@googlemail.com
> Assignee: Filip Maj
> Priority: Minor
> Labels: bug
> Fix For: 2.1.0
>
>
> Hi,
> for my android-app I was trying to create a sql-transaction with parameters like this:
> db.transaction(function (tx) { tx.executeSql("SELECT *
> FROM CONTACT WHERE LastName LIKE ?", [beginLetter],
> querySuccess, errorCB); }, errorTA);
> (I found it here: https://groups.google.com/forum/?fromgroups=#!topic/phonegap/mUxTsA6MmIA)
> Unfortunately the web console throws an error:
> 10-04 15:13:27.580: I/Web Console(12233): JSCallback Error: Request failed with status 0 at file:///android_asset/www/js/lib/prod/cordova-2.1.0.js:3743
> Can someone please have a look at it? Thanks! :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-1584) JSCallback Error
Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469382#comment-13469382 ]
Andrew Grieve commented on CB-1584:
-----------------------------------
Which platform did you try this on?
Providing your full snippet that reproduces the problem would also be very helpful.
> JSCallback Error
> ----------------
>
> Key: CB-1584
> URL: https://issues.apache.org/jira/browse/CB-1584
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaJS
> Affects Versions: 2.1.0
> Reporter: trace0815@googlemail.com
> Assignee: Filip Maj
> Labels: bug
>
> Hi,
> for my android-app I was trying to create a sql-transaction with parameters like this:
> db.transaction(function (tx) { tx.executeSql("SELECT *
> FROM CONTACT WHERE LastName LIKE ?", [beginLetter],
> querySuccess, errorCB); }, errorTA);
> (I found it here: https://groups.google.com/forum/?fromgroups=#!topic/phonegap/mUxTsA6MmIA)
> Unfortunately the web console throws an error:
> 10-04 15:13:27.580: I/Web Console(12233): JSCallback Error: Request failed with status 0 at file:///android_asset/www/js/lib/prod/cordova-2.1.0.js:3743
> Can someone please have a look at it? Thanks! :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-1584) JSCallback Error
Posted by "trace0815@googlemail.com (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469399#comment-13469399 ]
trace0815@googlemail.com commented on CB-1584:
----------------------------------------------
Platform: Android 4.0.4 (Samsung Galaxy S3)
Unfortunately I deleted my code an wrote a workaround.. anyway: I tried to rewrite my code to reproduce the snippet that caused the error.. but now it works, I can't reproduce it. I think I did something wrong since it is now working.
I'm sorry.
> JSCallback Error
> ----------------
>
> Key: CB-1584
> URL: https://issues.apache.org/jira/browse/CB-1584
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaJS
> Affects Versions: 2.1.0
> Reporter: trace0815@googlemail.com
> Assignee: Filip Maj
> Labels: bug
>
> Hi,
> for my android-app I was trying to create a sql-transaction with parameters like this:
> db.transaction(function (tx) { tx.executeSql("SELECT *
> FROM CONTACT WHERE LastName LIKE ?", [beginLetter],
> querySuccess, errorCB); }, errorTA);
> (I found it here: https://groups.google.com/forum/?fromgroups=#!topic/phonegap/mUxTsA6MmIA)
> Unfortunately the web console throws an error:
> 10-04 15:13:27.580: I/Web Console(12233): JSCallback Error: Request failed with status 0 at file:///android_asset/www/js/lib/prod/cordova-2.1.0.js:3743
> Can someone please have a look at it? Thanks! :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira