David Sauvier created CB-1029:
---------------------------------
Summary: 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
I'm having problems similar to what is described here:
https://issues.apache.org/jira/browse/CB-587
on two different Motorola XOOM tablets with 4.0.4, it works fine on two Galaxy
Tabs and Nexus phone.
When going in and out of airplane mode and attempting to do
FileEntry.createWriter(), I get and ETIMEDOUT error and then file writing
operations fail from that point forward. I need to completely close down the
app and re-open it in order for it to work again.
Can someone check-it out on the same device and confirm if this is a device
specific problem or perhaps something else?
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
--
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