Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 356AADED3 for ; Wed, 1 Aug 2012 17:45:04 +0000 (UTC) Received: (qmail 24059 invoked by uid 500); 1 Aug 2012 17:45:03 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 24009 invoked by uid 500); 1 Aug 2012 17:45:03 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 23681 invoked by uid 99); 1 Aug 2012 17:45:03 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 17:45:03 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 518E7142855 for ; Wed, 1 Aug 2012 17:45:03 +0000 (UTC) Date: Wed, 1 Aug 2012 17:45:03 +0000 (UTC) From: "Joe Bowser (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <672077893.1503.1343843103336.JavaMail.jiratomcat@issues-vm> In-Reply-To: <216712191.36462.1342027296210.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (CB-1029) FileEntry.createWriter() problem on Motorola XOOM w/ Android 4.0.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-1029. ---------------------------- Resolution: Duplicate Turning on and off Airplane mode breaks it? Yeah, this is a duplicate of CB-587, which is why you're experiencing timeouts. > 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, index.html, 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