incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-1029) FileEntry.createWriter() problem on Motorola XOOM w/ Android 4.0.4
Date Wed, 18 Jul 2012 21:37:34 GMT

     [ https://issues.apache.org/jira/browse/CB-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Bowser updated CB-1029:
---------------------------

    Priority: Minor  (was: Major)

This only affects the XOOM, right?
                
> FileEntry.createWriter() problem on Motorola XOOM w/ Android 4.0.4
> ------------------------------------------------------------------
>
>                 Key: CB-1029
>                 URL: https://issues.apache.org/jira/browse/CB-1029
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.8.1
>         Environment: Motorola XOOM w/ 4.0.4 and cordova-1.8.1 used via gwtphonegap-1.8.1.0
>            Reporter: David Sauvier
>            Assignee: Joe Bowser
>            Priority: Minor
>              Labels: ETIMEDOUT, Motorola, Xoom
>         Attachments: FileTest.java, log.txt
>
>
> I'm having problems similar to what is described here: 
> https://issues.apache.org/jira/browse/CB-587
> What steps will reproduce the problem?
> 1. Use the sample gwt-phonegap file attached to init() phonegap and to test File procedures.
> 2. On the Motorola XOOM with Android 4.0.4, the save() method consistently fails after
going from Network to Airplane mode just after the second log statement before fileEntry.createWriter(),
no errors are given. It is not recoverable, after it fails you can not use the File any longer.
You have to close down the app and open again.
> 3. This same sample works fine on the Google Nexus Phone with 4.0.4, a Motorola Droid
Phone w/ 2.3.4 and two different Samsung Galaxy Tabs with 3.2.
> What is the expected output? What do you see instead?
> It should work on the XOOM as it does on the other devices.
> What version of the product are you using? On what operating system?
> GWT 2.4, cordova-1.8.1.js, cordova-1.8.1.jar, gwtphonegap-1.8.1.0.jar
> Would it be possible for someone to check-it out on the same device and confirm if this
is a device specific problem or perhaps something else? 
> This is the error, see attached log.txt for longer log.
> W/System.err(1969): java.net.SocketException: sendto failed: ETIMEDOUT (Connection timed
out)
> W/System.err(1969): at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:496)
> W/System.err(1969): at libcore.io.IoBridge.sendto(IoBridge.java:465)
> W/System.err(1969): at java.net.PlainSocketImpl.write(PlainSocketImpl.java:507)
> W/System.err(1969): at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
> W/System.err(1969): at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:269)
> W/System.err(1969): at java.io.OutputStream.write(OutputStream.java:82)
> W/System.err(1969): at java.io.DataOutputStream.writeBytes(DataOutputStream.java:156)
> W/System.err(1969): at org.apache.cordova.CallbackServer.run(CallbackServer.java:272)
> 07-03 09:37:09.044: W/System.err(1969): at java.lang.Thread.run(Thread.java:856)
> 07-03 09:37:09.044: W/System.err(1969): Caused by: libcore.io.ErrnoException: sendto
failed: ETIMEDOUT (Connection timed out)
> 07-03 09:37:09.044: W/System.err(1969):	at libcore.io.Posix.sendtoBytes(Native Method)
> 07-03 09:37:09.044: W/System.err(1969):	at libcore.io.Posix.sendto(Posix.java:146)
> 07-03 09:37:09.044: W/System.err(1969): at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177)
> 07-03 09:37:09.044: W/System.err(1969):	at libcore.io.IoBridge.sendto(IoBridge.java:463)
> 07-03 09:37:09.044: W/System.err(1969):	... 7 more
> GWT-Phonegap Test File and Log File are attached
>  
> Thanks,

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

        

Mime
View raw message