TCPSession.sendFrame: NullPointerException
"Lukas Zbinden" <[email protected]> Mon, 5 Dec 2005 12:20:41 +0100
| Newsgroups | gmane.network.beep.beepcore.java.general |
|---|---|
| Message-ID | <[email protected]> |
Hi
We use the beepcore java library in our diploma project 'a
collaborative editor'.
When two users collaboratively edit a document, each character is sent
over a channel by a call to
myChannelImplInstance.sendMSG(outputData, myReplylistener).
Both sides use the same channel. After a while (both users type very
fast, i.e.
channel.sendMSG(..) is called at a high rate), the following exception
occurs:
Caused by: java.lang.NullPointerException
at
org.beepcore.beep.transport.tcp.TCPSession.sendFrame(TCPSession.java:
291)
at
org.beepcore.beep.core.ChannelImpl.sendFrames(ChannelImpl.java:837)
at
org.beepcore.beep.core.ChannelImpl.sendQueuedMessages(ChannelImpl.java:
773)
at
org.beepcore.beep.core.ChannelImpl.sendToPeer(ChannelImpl.java:754)
at
org.beepcore.beep.core.ChannelImpl.sendMSG(ChannelImpl.java:414)
at
ch.iserver.ace.net.impl.protocol.AbstractConnection.send(AbstractConnect
ion.java:77)
at
ch.iserver.ace.net.impl.protocol.ParticipantConnectionImpl.sendToPeer(Pa
rticipantConnectionImpl.java:261)
at
ch.iserver.ace.net.impl.protocol.ParticipantConnectionImpl.sendRequest(P
articipantConnectionImpl.java:157)
at
ch.iserver.ace.collaboration.jupiter.server.ParticipantConnectionWrapper
.sendRequest(ParticipantConnectionWrapper.java:177)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(
AopUtils.java:335)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinp
oint(ReflectiveMethodInvocation.java:181)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:148)
at
ch.iserver.ace.util.AsyncMethodInvocation.proceed(AsyncMethodInvocation.
java:100)
at ch.iserver.ace.util.AsyncWorker.doWork(AsyncWorker.java:102)
at ch.iserver.ace.util.Worker.run(Worker.java:49)
Does anyone know this problem? Is it a bug or do I use the channel the
wrong way?
Any help highly appreciated.
Lukas
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click