Quantcast
Channel: Adobe Community : All Content - AIR Bugs and Performance Issues
Viewing all articles
Browse latest Browse all 1419

[Android] Read "position" property of the async opened FileStream after writing data from Socket cause application crash

$
0
0

Here is the bugbase ticked: Bug#3982883 - [Android] Read "position" property of the async opened FileStream after writing data from Socket cause app…

Read "position" property of the async opened FileStream after writing data from Socket cause application crash.

It has been tested with AIR 14.0.0.178, AIR 16, AIR 17.0.0.144 and AIR 18.0.0.109 beta with Android 4.4.2 and Android 5.0.2 with different devices. Same problem in all cases. That works fine with Windows.

 

Steps to Reproduce:

1) Open file for writing via openAsync method.

2) Receive data from socket connection (as a client via Socket ProgressEvent.SOCKET_DATA event) and read it to temp ByteArray.

3) Write temp ByteArray to opened file.

4) Read FileStream "position" property (trace it, for example). There will be application crash.

 

I'd like to ask everyone affected by this issue to take a minute and vote for the following bug.

Thanks.


Viewing all articles
Browse latest Browse all 1419

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>