Onur Karaman created KAFKA-2226: ----------------------------------- Summary: NullPointerException in TestPurgatoryPerformance Key: KAFKA-2226 URL: https://issues.apache.org/jira/browse/KAFKA-2226 Project: Kafka Issue Type: Bug Reporter: Onur Karaman Assignee: Yasuhiro Matsuda
A NullPointerException sometimes shows up in TimerTaskList.remove while running TestPurgatoryPerformance. I’m on the HEAD of trunk. {code} > ./bin/kafka-run-class.sh kafka.TestPurgatoryPerformance --key-space-size > 100000 --keys 3 --num 100000 --pct50 50 --pct75 75 --rate 1000 --size 50 > --timeout 20 SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/Users/okaraman/code/kafka/core/build/dependant-libs-2.10.5/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/Users/okaraman/code/kafka/core/build/dependant-libs-2.10.5/slf4j-log4j12-1.7.6.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] [2015-05-27 10:02:14,782] ERROR [completion thread], Error due to (kafka.TestPurgatoryPerformance$CompletionQueue$$anon$1) java.lang.NullPointerException at kafka.utils.timer.TimerTaskList.remove(TimerTaskList.scala:80) at kafka.utils.timer.TimerTaskEntry.remove(TimerTaskList.scala:128) at kafka.utils.timer.TimerTask$class.cancel(TimerTask.scala:27) at kafka.server.DelayedOperation.cancel(DelayedOperation.scala:50) at kafka.server.DelayedOperation.forceComplete(DelayedOperation.scala:71) at kafka.TestPurgatoryPerformance$CompletionQueue$$anon$1.doWork(TestPurgatoryPerformance.scala:263) at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:60) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)