You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "David Schumann (JIRA)" <ji...@apache.org> on 2017/10/12 09:29:00 UTC

[jira] [Updated] (CB-13434) FileTransfer Plugin breaks sometimes when using MKWebView and local webserver

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

David Schumann updated CB-13434:
--------------------------------
    Description: 
Raw traceback:
TypeError: null is not an object (evaluating 'result.lengthComputable')
  at win(/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:202:26)
  at callbackFromNative(/www/cordova.js:293:63)
  at ? (/www/plugins/cordova-plugin-wkwebview-engine/src/www/ios/ios-wkwebview-exec.js:132:32)
  at wrapped(raven.js:386:29)


FileTransfer.js in win at line 202:26 result is null. I don't know when or why this happens. But when using `cordova-plugin-wkwebview-engine` and `cordova-labs-wkwebview-engine-localhost` it breaks in about 50% of cases.

  was:
Error: null is not an object (evaluating 'result.lengthComputable')

FileTransfer.js in win at line 202:26 result is null. I don't know when or why this happens. But when using `cordova-plugin-wkwebview-engine` and `cordova-labs-wkwebview-engine-localhost` it breaks in about 50% of cases.


> FileTransfer Plugin breaks sometimes when using MKWebView and local webserver
> -----------------------------------------------------------------------------
>
>                 Key: CB-13434
>                 URL: https://issues.apache.org/jira/browse/CB-13434
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-file-transfer
>            Reporter: David Schumann
>
> Raw traceback:
> TypeError: null is not an object (evaluating 'result.lengthComputable')
>   at win(/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:202:26)
>   at callbackFromNative(/www/cordova.js:293:63)
>   at ? (/www/plugins/cordova-plugin-wkwebview-engine/src/www/ios/ios-wkwebview-exec.js:132:32)
>   at wrapped(raven.js:386:29)
> FileTransfer.js in win at line 202:26 result is null. I don't know when or why this happens. But when using `cordova-plugin-wkwebview-engine` and `cordova-labs-wkwebview-engine-localhost` it breaks in about 50% of cases.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org