cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1818) TypeError in Android's exec.processMessages
Date Tue, 06 Nov 2012 21:16:12 GMT

    [ https://issues.apache.org/jira/browse/CB-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491833#comment-13491833
] 

Joe Bowser commented on CB-1818:
--------------------------------

Does this bug happen on ICS, or is this on Honeycomb?
                
> TypeError in Android's exec.processMessages
> -------------------------------------------
>
>                 Key: CB-1818
>                 URL: https://issues.apache.org/jira/browse/CB-1818
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>            Reporter: Eric Kelm
>            Assignee: Joe Bowser
>
> The fix for CB-1537 introduced a bug in Android 3.x that leads to the following error
message:
> TypeError: 'undefined' is not a function (evaluating 'messages.slice(0, spaceIdx)')
> quick fix:
> @@ -1098,7 +1098,7 @@
>      if (messages) {
>          messagesFromNative.push(messages);
>          while (messagesFromNative.length) {
> -            messages = messagesFromNative.shift();
> +            messages = messagesFromNative.shift() + '';
>              // The Java side can send a * message to indicate that it
>              // still has messages waiting to be retrieved.
>              // TODO(agrieve): This is currently disabled on the Java side

--
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

Mime
View raw message