You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Patrick Mueller (Commented) (JIRA)" <ji...@apache.org> on 2012/01/16 14:08:39 UTC

[jira] [Commented] (CB-175) Weinre crashes on Android 2.3.3

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

Patrick Mueller commented on CB-175:
------------------------------------

Thanks for the bug report.

This seems to be a problem with target/NetworkRequest.coffee in the getResponse() function.  It's getting a null back as the Content-Type header.  This shouldn't be a big deal to fix, though there may be a handful of additional things I need to do/check.  

I'm wondering how I can create an easy test case for this, so I can at least try the fix and see if it works.

In the meantime, I wonder if you have the ability to set the Content-Type header for your XHRs to work around the bug ...
                
> Weinre crashes on Android 2.3.3
> -------------------------------
>
>                 Key: CB-175
>                 URL: https://issues.apache.org/jira/browse/CB-175
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: weinre
>            Reporter: Olivier Louvignes
>            Assignee: Patrick Mueller
>
> Weinre does not work correctly on Android 2.3.3 :
> After only one correct log, i keep getting this error :
> 01-16 12:33:56.196: E/Web Console(465): TypeError: Result of expression 'contentType' [null] is not an object. at http://192.168.22.27:8080/target/target-script-min.js#anonymous:2772
> and does not get any more log (only errors), app works & i get logs in eclipse logcat without weinre correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira