Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

bytes must be non-null #11

Open
GoogleCodeExporter opened this issue Apr 1, 2015 · 1 comment
Open

bytes must be non-null #11

GoogleCodeExporter opened this issue Apr 1, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hi there,

when I connect 2+ devices to the network and send over files, the following 
error consistently crops up.

adding this if clause prevents the crash but files are not successfully copied 
over: if(data.dataVector[i])buffer.writeBytes(data.dataVector[i]);

Would appreciate some help.
best wishes,
Andy.


TypeError: Error #2007: Parameter bytes must be non-null.
    at flash.utils::ByteArray/writeBytes()
    at com.projectcocoon.p2p.managers::ObjectManager/reassembleObject()[C:\Users\Andy\Desktop\xperiment\classes\com\projectcocoon\p2p\managers\ObjectManager.as:261]
    at com.projectcocoon.p2p.managers::ObjectManager/handleResult()[C:\Users\Andy\Desktop\xperiment\classes\com\projectcocoon\p2p\managers\ObjectManager.as:242]
    at com.projectcocoon.p2p.managers::ObjectManager/onNetStatus()[C:\Users\Andy\Desktop\xperiment\classes\com\projectcocoon\p2p\managers\ObjectManager.as:402]

Original issue reported on code.google.com by [email protected] on 18 Nov 2013 at 8:34

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant