[xSocket-develop] i got an error with xSocket V1_2_1
Status: Inactive
Brought to you by:
grro
|
From: PyungMoon O. <qud...@gm...> - 2008-01-18 08:31:18
|
i got an error message like this..
but i think it can not be happen if there is no another thread which is
accessing the buffer..
as i know "public LinkedList<ByteBuffer> extract(LinkedList<ByteBuffer>
inOutBuffer, int length) throws IOException, BufferUnderflowException {"
method check limit before call "java.nio.Buffer.limit" method..
am i right??
but i can not find it..
can someone tell me why it's happening?? and which threads are accessing the
buffer?
java.lang.IllegalArgumentException
at java.nio.Buffer.limit(Buffer.java:249)
at org.xsocket.stream.ByteBufferParser.extract(ByteBufferParser.java
:167)
at org.xsocket.stream.Connection.extractBytesByLength(
Connection.java:915)
at org.xsocket.stream.NonBlockingConnection.readByteBufferByLength(
NonBlockingConnection.java:574)
at org.xsocket.stream.NonBlockingConnection.readBytesByLength(
NonBlockingConnection.java:609)
thanks//
|