mesos / kafka

Apache Kafka on Apache Mesos
Apache License 2.0
414 stars 140 forks source link

Fix NPEs in SchedulerTest #173

Closed nickbp closed 8 years ago

nickbp commented 8 years ago

HttpServer.kafkaVersion is being accessed before HttpServer.start() is called

ly.stealth.mesos.kafka.SchedulerTest > syncBrokers FAILED java.lang.NullPointerException at SchedulerTest.scala:88

ly.stealth.mesos.kafka.SchedulerTest > launchTask FAILED java.lang.NullPointerException at SchedulerTest.scala:182

ly.stealth.mesos.kafka.SchedulerTest > acceptOffer FAILED java.lang.NullPointerException at SchedulerTest.scala:112

ly.stealth.mesos.kafka.SchedulerTest > newTask FAILED java.lang.NullPointerException at SchedulerTest.scala:54

keithchambers commented 8 years ago

@joestein can you get this merged for @nickbp?

dmitrypekar commented 8 years ago

@nickbp Merged. Thanks for the fix.