Menu

#37 java.nio.BufferOverflow exception

open
nobody
None
5
2009-03-14
2009-03-14
Anonymous
No

When sharing my mp3-folder with 5300 albums directly under that folder, alliance gave a "java.nio.BufferOverflow exception" error (as a bubble from the tray icon). This error occured every time someone tried to connect to me resulting in that no one could get my file list or download from me. I found a description of the error message.

A DESCRIPTION OF THE PROBLEM :
When a string gets over a certain length (16777216 characters), calling getBytes() on it will trigger a java.nio.BufferOverflowException for certain string lengths. Adding one character at a time, shows this to be 1 in every 4.

Discussion


Log in to post a comment.