Uh, I meant, the null value is returned from IoSession.getRemoteAddress()
2009/4/14 David Latorre <[email protected]>: > It seems that the NPE is being thrown in ioSession.getRemoteAddress() right? > > > 2009/4/14 Niklas Gustavsson <[email protected]>: >> We should never throw NPEs so this is clearly a bug in FtpServer. >> Could you please open a JIRA issues with the stacktrace and further >> details (also the test case if possible)? >> >> /niklas >> >> 2009/4/14 Ulysess Lee 李宇光 <[email protected]>: >>> Hi, >>> When I write a Testcase to make a proformance test for Apache ftp server, >>> and I only use ONE ftp account in many threads to upload different files, >>> then after about 10 users loged in, >>> it throws exception: >>> >>> >>> [2009-04-14 09:30:52,973] [WARN ] DefaultFtpHandler [[email protected]] >>> [125.88.130.8] - RequestHandler.service() >>> java.lang.NullPointerException >>> at >>> java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768) >>> at >>> org.apache.ftpserver.impl.DefaultFtpStatistics$UserLogins.loginsFromInetAddress(DefaultFtpStatistics.java:90) >>> at >>> org.apache.ftpserver.impl.DefaultFtpStatistics.getCurrentUserLoginNumber(DefaultFtpStatistics.java:259) >>> at org.apache.ftpserver.command.impl.USER.execute(USER.java:152) >>> at >>> org.apache.ftpserver.impl.DefaultFtpHandler.messageReceived(DefaultFtpHandler.java:169) >>> at >>> org.apache.ftpserver.listener.nio.FtpHandlerAdapter.messageReceived(FtpHandlerAdapter.java:65) >>> >>> most likey a thread lock problem? >>> >> >
