Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
Master
-
None
-
Android 21 on Nexus S emulator on Windows
Description
Steps to reproduce:
1. Create mobilespec app with --android for platform
2. Run cordova-medic/bin/updateconfig.js --android from a directory above the created mobilespec app
3. Run the app with cordova run android – --ant --debug
4. Wait for the app to open, and then click the buttons to start the Auto tests
5. Run `adb logcat` to capture the output
App runs and often (but not always) crashes with the following exception in the logcat output:
D/FileTransfer( 2225): download http://cordova-filetransfer.jitsu.com/404 to file:///data/data/org.apache.mobilespec/files/files/testFile.txt D/FileTransfer( 2225): Download file:http://cordova-filetransfer.jitsu.com/404 E/FileTransfer( 2225): {"code":1,"source":"http:\/\/cordova-filetransfer.jitsu.com\/404","target":"file:\/\/\/data\/data\/org.apache.mobilespec\/files\/files\/testFile.txt","body":"You requested a 404","http_status":404,"exception":"http:\/\/cordova-filetransfer.jitsu.com\/404"} E/FileTransfer( 2225): java.io.FileNotFoundException: http://cordova-filetransfer.jitsu.com/404 E/FileTransfer( 2225): at com.android.okhttp.internal.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:197) E/FileTransfer( 2225): at org.apache.cordova.filetransfer.FileTransfer.getInputStream(FileTransfer.java:556) E/FileTransfer( 2225): at org.apache.cordova.filetransfer.FileTransfer.access$500(FileTransfer.java:69) E/FileTransfer( 2225): at org.apache.cordova.filetransfer.FileTransfer$4.run(FileTransfer.java:844) E/FileTransfer( 2225): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) E/FileTransfer( 2225): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) E/FileTransfer( 2225): at java.lang.Thread.run(Thread.java:818)
Attachments
Issue Links
- is duplicated by
-
CB-8431 File Transfer tests crash on Android Lolipop
- Closed