krka/jmemcache-daemon

Nullpointer exception in

GoogleCodeExporter opened this issue · 1 comments

What steps will reproduce the problem?
1. clone current snapshot
2. compile and run the daemon
3. send lots of requests to jmemcached, so the cpu load is saturized

What is the expected output? What do you see instead?
I expect all requests are processed fine. I see some Nullpointer Exceptions 
caused by 
com.thimbleware.jmemcached.protocol.text.MemcachedCommandDecoder.processLine()

What version of the product are you using? On what operating system?
0.9.3.SNAPSHOT on Debian Linux 2.6.26-2-amd64

Please provide any additional information below.

The local variable "Op op;" in this method is not checked for !=null. When op 
is set (see "op = Op.FindOp(parts.get(0));" ). The surrounding try catch is not 
effective. FindOp does not throw an Exception, but returns null.


Original issue reported on code.google.com by henning@ganix.de on 17 Nov 2010 at 7:47

Original comment by ryan.daum on 24 Jan 2011 at 4:04

  • Changed state: Fixed