Ken:
Can you share with community of your testing environment settings and testing case which generated those nullpointException?
Ming Qin
Cell Phone 858-353-2839
--- On Mon, 3/29/10, Ken--_at_newsgroupstats.hk <dragonken_at_gmail.com> wrote:
From: Ken--_at_newsgroupstats.hk <dragonken_at_gmail.com>
Subject: stress test with bear2.0
To: users_at_grizzly.dev.java.net
Date: Monday, March 29, 2010, 8:19 PM
Hi,
I download your latest code from trunk and recompile it for stress test. The
result is much better than the snapshot last week. However, the server
sometime will throw NullPointerException.
Regards,
Ken
2010年3月29日 下午12:42:34 com.sun.grizzly.nio.transport.TCPNIOTransport fireIOE
vent
警告: Unexpected exception occurred
fireIOEvent().connection=com.sun.grizzly.nio
.transport.TCPNIOConnection_at_1e2afb2 event=WRITE
java.lang.NullPointerException
at
com.sun.grizzly.nio.transport.TCPNIOTransport.write(TCPNIOTransport.j
ava:891)
at
com.sun.grizzly.nio.transport.TCPNIOAsyncQueueWriter.write0(TCPNIOAsy
ncQueueWriter.java:69)
at
com.sun.grizzly.nio.AbstractNIOAsyncQueueWriter.doWrite(AbstractNIOAs
yncQueueWriter.java:324)
at
com.sun.grizzly.nio.AbstractNIOAsyncQueueWriter.processAsync(Abstract
NIOAsyncQueueWriter.java:239)
at
com.sun.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterC
hain.java:173)
at
com.sun.grizzly.ProcessorExecutor.resume(ProcessorExecutor.java:73)
at
com.sun.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:61)
at
com.sun.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTrans
port.java:634)
at
com.sun.grizzly.strategies.WorkerThreadStrategy$1.run(WorkerThreadStr
ategy.java:115)
at
com.sun.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractT
hreadPool.java:417)
at
com.sun.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThre
adPool.java:398)
at java.lang.Thread.run(Thread.java:619)
java.io.IOException: Connection is closed
at
com.sun.grizzly.nio.AbstractNIOAsyncQueueWriter.write(AbstractNIOAsyn
cQueueWriter.java:112)
at
com.sun.grizzly.nio.AbstractNIOAsyncQueueWriter.write(AbstractNIOAsyn
cQueueWriter.java:93)
at
com.sun.grizzly.nio.AbstractNIOAsyncQueueWriter.write(AbstractNIOAsyn
cQueueWriter.java:67)
at com.sun.grizzly.AbstractWriter.write(AbstractWriter.java:68)
at
com.mycompany.net.GrizzlyMessageHandler.write(GrizzlyMessageHandler.java:
61)
at
com.mycompany.net.GrizzlyMessageHandler.publishToSubscribers(GrizzlyMessa
geHandler.java:40)
at
com.mycompany.queue.test.QTestASCIIServOutItem.run(QTestASCIIServOutItem.
java:26)
at
com.mycompany.executor.SerialExecutor$1.run(SerialExecutor.java:76)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
--
View this message in context: http://old.nabble.com/stress-test-with-bear2.0-tp28077647p28077647.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
For additional commands, e-mail: users-help_at_grizzly.dev.java.net