Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9022

Cordova Android Filetransfer returning null -"java.lang.IllegalStateException" - "CordovaInterface.getThreadPool()"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Environment:

      OS: Mac OS X Yosemite
      Node Version: v0.12.0
      Cordova CLI: 5.0.0
      Xcode version: Xcode 6.3.1 Build version 6D1002
      ios-sim version: 3.1.1
      ios-deploy version: 1.4.0
      android 4.0.0-dev

      Description

      http://stackoverflow.com/questions/30201674/cordova-android-filetransfer-returning-null

      Attempting to do an android FileTransfer, plugin is working on iOS, i can't seem to get this to go!

      ADB lgocat output:

      E/PluginManager(23753): Uncaught exception from plugin
      E/PluginManager(23753): java.lang.IllegalStateException: Tried to perform an IO operation on the WebCore thread. Use CordovaInterface.getThreadPool() instead.

      FileTransferError
      body: null
      code: null
      exception: null
      http_status: null
      source: null
      target: null
      Trying a file transfer and coming back empty....

      Your system information:
      OS: Mac OS X Yosemite
      Node Version: v0.12.0
      Cordova CLI: 5.0.0
      Ionic CLI Version: 1.3.22
      Xcode version: Xcode 6.3.1 Build version 6D1002
      ios-sim version: 3.1.1
      ios-deploy version: 1.4.0

      ngCordova upload: http://ngcordova.com/docs/plugins/fileTransfer/
      Running in Crosswalk, not sure that makes any difference.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vladimir.kotikov Vladimir Kotikov
                Reporter:
                uofmmike Mike Mullins
              • Votes:
                4 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: