Socket / Stream - Android V4 & V5 - Possible Bug?
Monkey Forums/Monkey Bug Reports/Socket / Stream - Android V4 & V5 - Possible Bug?
| ||
Hi All, Just thought I'd share the following problem I've come across: All tested & working fine on Android V4 devices... The problem / crash still only appears on Android V5 as soon as the stream is accessed (and it's own 'low-level' buffer). So annoying. Error Output: E/AndroidRuntime(28377): java.lang.UnsupportedOperationException E/AndroidRuntime(28377): at java.nio.DirectByteBuffer.protectedArray(DirectByteBuffer.java:289) E/AndroidRuntime(28377): at java.nio.ByteBuffer.array(ByteBuffer.java:139) E/AndroidRuntime(28377): at com.lucid.ftptest.BBSocket.Receive(MonkeyGame.java:1824) E/AndroidRuntime(28377): at com.lucid.ftptest.c_AsyncReceiveOp.p_Execute__UNSAFE__(MonkeyGame.java:4914) Does the _UNSAFE_ suffix have a meaningful relevance? Is anyone aware of underlying differences in both the 'stream' & 'socket' operations / implementation on Android V5 ? Yeshu777 |
| ||
Just uploaded v85c which should fix this. |
| ||
Thank you Mark! Johann |