contiki-os/contiki — pull request #640 by ejoerns (2014-04-14 22:57:47+00:00)
Title: [cooja] plugins/LogListener: Prevent from throwing ArrayIndexOutOfBoundsException

When you click on the *Mote* column in an empty `LogListener` plugin
an uncaught `ArrayIndexOutOfBoundsException` is thrown.

As I always hear all alarm bells ringing when seeing a stacktrace in the Cooja log I would suggest preventing this exception by checking that `rowIndex` is `!= -1 before using it.