Yep, my bad. I assume that it was because I neglected to take into account that Random.nextInt() could also return negative numbers... doh! Fixed now.
Ian. > This yours Ian: > > java.lang.ArrayIndexOutOfBoundsException > at java.lang.System.arraycopy(Native Method) > at Freenet.support.CyclicArray.insert(CyclicArray.java:106) > at Freenet.node.StandardDataStore.put(StandardDataStore.java:352) > at Freenet.node.StandardDataStore.put(StandardDataStore.java:322) > at > Freenet.node.StandardDataStore.searchData(StandardDataStore.java:194) > at Freenet.message.Request.searchData(Request.java:233) > at Freenet.message.Request.timeOut(Request.java:161) > at Freenet.Message.received(Message.java:139) > at > Freenet.node.StandardMessageHandler.handle(StandardMessageHandler.java:85) > at Freenet.ConnectionHandler.run(ConnectionHandler.java:193) > at Freenet.thread.EThread.run(EThread.java:101) > at java.lang.Thread.run(Thread.java:498) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20000813/b999f795/attachment.pgp>
